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>
3 comments:
That was exactly what I needed, thanks.
Hi,
I did the same trick, but unfortunately does not work in Google Chrome, and Safari. The components after the one stretched are not displayed. Did you meet this issue?
Well i have tried the above code in chrome and it works for me...
Post a Comment