Messages posted by karakatic
[Logo]
ICEsoft.org Forums: ICEfaces, ICEmobile, ICEpdf
[Search] Search   [Recent Topics] Recent Topics   [Groups] Home Page | www.icesoft.org  [Login] Login 
Messages posted by: karakatic  XML
Profile for karakatic -> Messages posted by karakatic [1]
Author Message
i have a similar problem.
Code:
                 <ice:tree id="tree"
                           value="#{Tree.model}"
                           var="item"
                           hideRootNode="#{false}"
                           hideNavigation="#{false}">
                     <ice:treeNode>
                         <f:facet name="content">
                             <ice:panelGroup style="display: inline; #{node.userObject.selected ? 'background-color: white' : 'background-color: black'}">
                                 <ice:commandLink
                                         actionListener="#{item.userObject.selectNode}">
                                     <ice:outputText value="#{item.userObject.text}" />
                                     <f:param name="id" value="#{item.userObject.id}"/>
                                     <f:ajax execute="@this" render="@all" />
                                 </ice:commandLink>
                             </ice:panelGroup>
                         </f:facet>
                     </ice:treeNode>
                 </ice:tree>
 


Code:
     public void selectNode(ActionEvent action){
 ...
     }
 


but selectNode method is never executed. i use ICEfaces 2.0 beta1, with Netbeans, Glassfish 3.0.1. I followed tutorial on tree selection, but it doesn't work.
 
Profile for karakatic -> Messages posted by karakatic [1]
Go to:   
Powered by JForum 2.1.7ice © JForum Team