-
1. Re: tree NodeSelectListener
iabughosh Jul 26, 2011 1:45 PM (in response to noh5017)can you post both pages , standalone page and portal page.
regards.
-
2. Re: tree NodeSelectListener
noh5017 Jul 26, 2011 3:32 PM (in response to iabughosh)I can't show my codes for the portal page because of my company's policy. The standalone is the example that is on the exadel live demo. The portal page would just be that same code, but instead, running on apache 6 with myfaces.
-
3. Re: tree NodeSelectListener
yaseralhs Jul 27, 2011 3:01 AM (in response to noh5017)hi all
if you use RichFaces 4
<h:form id="MTForm" styleClass="form-style">
<rich:tree id="tree"
nodeType="#{node.type}"
var="node"
value="#{treeBean.rootNodes}"
toggleType="ajax"
selectionType="ajax" >
<rich:treeSelectionChangeListener for="tree" listener="#{treeBean.selectionChanged}"/>
<rich:treeToggleListener for="tree" listener="#{treeBean.treeToggleListener}"/>
<rich:treeNode type="country" > #{node.name} </rich:treeNode>
<rich:treeNode type="company" > #{node.name} </rich:treeNode>
<rich:treeNode type="cd" > #{node.artist} - #{node.name} - #{node.year} </rich:treeNode>
</rich:tree>
if you use toggleType (server ,ajax), selectionType (server ,ajax) must tree in form