This content has been marked as final.
Show 5 replies
-
1. Re: simple onclick event on a treeNode/drag & drop question
manuel_fidalgo Jun 25, 2007 9:47 AM (in response to manuel_fidalgo)I've done it but Im not sure if it the best way:
<rich:tree width="300" height="150" value="#{search.data}" var="item" nodeFace="concept" switchType="client" ajaxSubmitSelection="true">
<rich:treeNode type="concept" nodeSelectListener="#{search.selectNode(item)}" selectedClass="nodeSelected" >
<h:outputText value="#{item.name}" />
</rich:treeNode>
</rich:tree>
the "nodeSelectListener" attribute doesn't seem to work without ajaxSubmitSelection="true"
still investigating it... -
2. Re: simple onclick event on a treeNode/drag & drop question
danielnp Jun 25, 2007 1:32 PM (in response to manuel_fidalgo)Can you post your Seach class here ?
-
3. Re: simple onclick event on a treeNode/drag & drop question
manuel_fidalgo Jun 26, 2007 5:47 AM (in response to manuel_fidalgo)What exactly do you want? the local interface or the part for building the tree?
-
4. Re: simple onclick event on a treeNode/drag & drop question
danielnp Jun 26, 2007 7:30 AM (in response to manuel_fidalgo)the both parts, please.
-
5. Re: simple onclick event on a treeNode/drag & drop question
srilowha Jul 6, 2007 5:24 PM (in response to manuel_fidalgo)Does the nodeSelectListener only apply for single clicks? How do you call a listener function when the user double clicks a TreeNode?