Disclaimer

The views expressed on this blog are my own and do not necessarily reflect the views of Oracle.

Friday, July 24, 2009

Moving components towards right in ADF

So, I got a small requirement to render a help commandlink on page towards top right corner.

And here is the trick applied:

<af:panelGroupLayout id="pgl3" layout="horizontal">
<af:toolbar id="t1" flex="1" stretchId="spacer1">
<af:spacer width="10" height="10" id="spacer1"
clientComponent="true"/>
<af:commandLink text="login" id="cl3"/>
<af:spacer width="10" height="10" id="s2"/>
<af:goLink text="FAQ" id="gl1"/>
</af:toolbar>
</af:panelGroupLayout>


Post a Comment