This content has been marked as final.
Show 3 replies
-
1. Re: tree not showing in panelBarItem
nbelaevski Feb 26, 2009 5:51 PM (in response to jobor)Hi Johan,
Can you please post screenshot somewhere (e.g. on tinypic)? -
2. Re: tree not showing in panelBarItem
jobor Feb 27, 2009 5:04 AM (in response to jobor)The picture is of the tree and the search fields in normal panels.
When I put the tree in a panelBarItem the tree will not show up but the search fields do. Even if I change the order like first the tree and than the search fields nothing helps. It is not a matter of life and death but it would be nice if I could save some space after getting a result in the tree. The search fields would fold up to have some more vertical space for the tree.
Johan
http://www.borsoft.nl/jboss/tree.png -
3. Re: tree not showing in panelBarItem
nbelaevski Feb 27, 2009 7:35 AM (in response to jobor)Johan,
Here is the code I used to test:<rich:panelBar width="350" height="400"> <rich:panelBarItem label="Item 1"></rich:panelBarItem> <rich:panelBarItem label="Item 2"> <rich:tree style="width: 300px;" switchType="ajax" ajaxSubmitSelection="false" nodeSelectListener="#{forum5Bean.processNodeSelection}"> <rich:recursiveTreeNodesAdaptor roots="#{forum5Bean.rootNodes}" var="item" nodes="#{item.children}"> <rich:treeNode><h:commandLink styleClass="treeLink" onmousedown="window.treeLink = true;">#{item.locationName}</h:commandLink> - text <a4j:support event="onselected" onsubmit="if (window.treeLink) {window.treeLink = false; return true;}"/> </rich:treeNode> </rich:recursiveTreeNodesAdaptor> </rich:tree> </rich:panelBarItem> </rich:panelBar>
- tree shows up ok. RF 3.3.0.
Please post full page code that's demonstrating the issue.