how to keep rich faces tree expanded if we are navigating to one jsf page and coming back




<rich:treeModelRecursiveAdaptor roots="#{item3.terminations}"
nodes="#{item3.terminations1}">


#{item3.terminationName}


i am using this tag to display tree


i have a requirement where if i am going to next page and coming back from that page the tree should not collapse


which attribute i can use to achieve this feature



<h:commandButton type="image" id="backbuttonEms"
value="#{bsmPortalLabel['button.common.back']}"
action="viewInventory.xhtml?faces-redirect=true"
image="/resources/images/back.png"
immediate="true" >


above code is for redirecting to previous page where tree should be expanded


No comments:

Post a Comment