Hello,
just an additional remark: I'm wondering why the JSF sequence number is always increased by 2. Is this the usual behaviour or is this caused by the fact that the response is somehow rendered twice(at least the model is retrieved twice!)? Here is the information from FacesTrace: In request scope the saved jsf sequence is 9 whereas jsf sequence 7 comes in as parameter, thus was rendered by the command component! Is JSF able to match the incoming sequence no against the stored sequence no or does this create the problem? Regards, CAK ________________________________ Von: Carsten Kaiser [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 23. Februar 2007 10:51 An: [email protected] Betreff: Newbie: Problem with Tree2 + CommandLink: ActionListeners not called Hello, I have a severe problem using Shale 1.0.4 with MyFaces 1.1.4 and Tomahawk 1.1.5.: Our UI has the usual structure with a menu part on the top, a navigation tree on the left hand side and a content area right next to it. We are using Standalone Tiles to render the different parts each of them representing a subview with its own form. For the navigation tree we are using Tomahawk Tree2 component. When clicking on a node the associated details are supposed to be shown in the content area. Unfortunately the registered action or action listener are not going called but the whole page is reloaded again. I've used FacesTraces to check whether application phase has been invoked at all, which is the case but with a duration of 0 msec. Here is an excerpt of the jsp code: <[EMAIL PROTECTED] file="../messages.jspf"%> <jsf-core:subview id="treeSubview"> <jsf-html:form id="generatorTreeForm"> <tomahawk:tree2 id="serverTree" value="#{generationTreeController.treeModel}" var="node" varNodeToggler="t" clientSideToggle="false" showRootNode="false"> <jsf-core:facet name="de_d2vodafone_webe_fho_contentchecker_checks_KlartextGenerator"> <jsf-html:panelGroup title="#{node.description}"> <jsf-html:commandLink styleClass="#{t.nodeSelected ? 'nodeSelected':'node'}" actionListener="#{generationTreeController.processAction}" action="#{generationTreeController.treeNodeSelected}"> <tomahawk:graphicImage value="/imgs/vo_red.gif" border="0"/> <jsf-html:outputText value="#{generation['klartextGenerator_tree_label']}"/> <jsf-core:param name="nodeId" value="#{node.identifier}"/> </jsf-html:commandLink> </jsf-html:panelGroup> </jsf-core:facet> <jsf-core:facet name="de_d2vodafone_webe_fho_contentchecker_context_ContextProvider"> <jsf-html:panelGroup title="#{node.description}"> <jsf-html:commandLink styleClass="#{t.nodeSelected ? 'nodeSelected':'node'}" actionListener="#{generationTreeController.processAction}" action="#{generationTreeController.treeNodeSelected}"> <jsf-html:outputText value="#{generation['contextProvider_tree_label']}"/> <jsf-core:param name="nodeId" value="#{node.identifier}"/> </jsf-html:commandLink> </jsf-html:panelGroup> </jsf-core:facet> </tomahawk:tree2> </jsf-html:form> </jsf-core:subview> What am I missing? Is there something obviously wrong within this jsp? I also tried tomahawk:commandLink/commandButton etc. among other things but nothing solved the problem so far... There are no failures like unable to resolve method binding etc. The only thing I recognized was, that method generationTreeController.getTreeModel() is always invoked twice when the jsp is rendered! Any hints are highly appreciated! Regards, CAK Carsten Kaiser Principal Consultant [EMAIL PROTECTED] Mobile: +49 (0)170 5270206 Valtech GmbH Werner-Heisenberg-Straße 2 63263 Neu-Isenburg Germany Phone: +49 (0)6102 88468-0 Fax: +49 (0)6102 88468-28 www.valtech.de <http://www.valtech.de/> Geschäftsführer: Ingo Kriescher Amtsgericht Düsseldorf HRB48672

