myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon Kitching <simon.kitch...@rhe.co.nz>
Subject Re: Tomahawk Tree2 Javascript problem.
Date Thu, 19 Oct 2006 04:01:17 GMT
Hi,

Have you got the ExtensionsFilter configured?

http://myfaces.apache.org/tomahawk/extensionsFilter.html

Regards,

Simon

Long Tran wrote:
> All,
>
> I've created a TreeModel and successfully rendered it on the browser, 
> however, when I click on the expand/collapse button, it's not working.
>
> Apparently, in the HTML page generated, javascript function 
> "treeNavClick" was not generated, is there any tag/attribute i need to 
> add to the Tree2 component?
>
> Tomahawk version 1.1.5.
>
> Hers is my Jsp:
>
> <f:view>
> <t:tree2 id="myTree" showNav="true" 
> rendered="#{LovBackingBean.lovTree!=null}"
> showRootNode="false" var="node" value="#{LovBackingBean.lovTree}"
> varNodeToggler="t">
>     <f:facet name="rootNode">
>       <h:panelGroup>
>        
>         <h:outputText value="#{node.description}"/>
>       </h:panelGroup>
>    </f:facet>
>    <f:facet name="topNode">
>       <h:panelGroup>
>        
>         <h:outputText value="#{node.description}"/>
>       </h:panelGroup>
>    </f:facet>
>    <f:facet name="childNode">
>       <h:panelGroup>
>        
>         <h:outputText value="#{node.description}"/>
>       </h:panelGroup>
>    </f:facet>
> </t:tree2>
> </f:view>



Mime
View raw message