This content has been marked as final.
Show 5 replies
-
1. Re: StackPanel
sergeysmirnov Apr 24, 2007 2:11 PM (in response to mat)if you mean something like:
http://code.google.com/webtoolkit/documentation/com.google.gwt.user.client.ui.StackPanel.html
It is a rich:panelBar -
2. Re: StackPanel
mat Apr 24, 2007 3:28 PM (in response to mat)Hi Sergey,
The rich:panelBar is certaily useful and similar to what I had in mind.
However in the swing cardlayout the panel displayed could be changed by any other jsf components such as radio buttons or normal buttons.
Many thanks, -
3. Re: StackPanel
sergeysmirnov Apr 24, 2007 3:59 PM (in response to mat)so, you are about
http://jira.jboss.com/jira/browse/RF-20 -
4. Re: StackPanel
mat Apr 25, 2007 11:15 AM (in response to mat)This is what I have in mind:
The StackPanel simply shows only one panel at time, same as the tabPanels - but without the tabs. Instead the selection is done by other JSF components like radioButtons, Tree etc.
A possible tag would be:<rich:panelCard selectedPanel="#{panelCards.selectedPanel}" > <!-- Panel 1--> <h:panelGroup id="panel1" styleClass=""> </h:panelGroup> <!-- Panel 2--> <h:panelGroup id="panel2" styleClass=""> </h:panelGroup> </rich:panelCard>
Regards, -
5. Re: StackPanel
mat Apr 25, 2007 12:24 PM (in response to mat)Found it ;)
It is actually the rich:togglePanel I was after.
Many thanks, Sergey