I use myfaces 1.1.1. Here is my tree2 tag:

              <t:tree2 id="contactsTree" binding="#{contacts$contactRelations.tree}" value="#{contacts$contactRelations.treeData}" var="node" varNodeToggler="t"
              imageLocation="../../images/tree" _javascript_Location="../../js" clientSideToggle="true" preserveToggle="true">
                <f:facet name="leaf">
                  <h:panelGroup>
                    <h:outputText value="#{node.description}"/>
               &nbs p;  </h:panelGroup>
                </f:facet>
                <f:facet name="folder">
                  <h:panelGroup>
                    <h:outputText value="#{node.description}"/>
                  </h:panelGroup>
                </f:facet>
              </t:tree2>

The problem that I have is that when I click on the icon to expand the node the image is not changed from plus to minus. If I refresh the page the plus/minus images are refreshed properly.

Am I doing something wrong here? I did search the mailing list but I couldn't find anything satisfactory. Some people complained at one point that a relative imageLocation is not working properly but in my case the images are there.

Thanks


Make Yahoo! Canada your Homepage Yahoo! Canada Homepage

Reply via email to