Hello,

I am using myfaces1.1.5 with  tomahawk1.1.6, using facelets and JBoss Portal 
2.6.3 

I have a t:tree2 component where each node has an embedded  commandLink. Here 
is the code:


<t:tree2 id="serverTree" value="#{editUser.treeData}" var="node" 
varNodeToggler="t" clientSideToggle="false" showNav="true" 
imageLocation="/images">
...
        <f:facet name="dynamic-folder">
                <h:panelGroup>
                        <h:commandLink immediate="true" 
action="#{t.toggleExpanded}" actionListener="#{editUser.expandDynamicFolder}">
                       <t:graphicImage value="/images/folder-open.png" 
rendered="#{t.nodeExpanded}" />
                       <t:graphicImage value="/images/folder.png" 
rendered="#{!t.nodeExpanded}" />
                       <h:outputText value="#{node.description}" 
styleClass="nodeFolder"/>
                   
                        </h:commandLink>
           </h:panelGroup>
       </f:facet>

I was able to click in the nodes and launch the commandLink action before i 
switched to Facelets.  Now it doesn't work or it works on the first or second 
request and then nothing...   If I look at the request parameters I see that 
the selected Node is there but the component doesn't seem to be able to decode 
it....

Parameters[docNum=1 | 
org.apache.myfaces.portlet.MyFacesGenericPortlet.VIEW_ID=/WEB-INF/jsf/userAdmin.xhtml
 | _id15jbpns_2fSmartPortal_2fdefault_2f35snpbj_SUBMIT=1 | 
_id15jbpns_2fSmartPortal_2fdefault_2f35snpbj:_link_hidden_= | 
_id15jbpns_2fSmartPortal_2fdefault_2f35snpbj:_idcl=_id15jbpns_2fSmartPortal_2fdefault_2f35snpbj:
serverTree:0:1:0:0:_id129jbpns_2fSmartPortal_2fdefault_2f35snpbj]

Any ideas?


regards,
Alex

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4117075#4117075

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4117075
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to