myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Baranov <michael.bara...@gmail.com>
Subject beginner's tree2 s.o.s call
Date Fri, 14 Apr 2006 16:48:09 GMT
Greetings!

I'm a newbie with myfaces/tomahawk, so please, don't judge severe.

Using:
Tomcat 5.5.7
Myfaces/tomahawk 1.1.1
webapp name: spring


I've got a little problem: I'm not able to see the standard images used 
in tree2 (folders, lines, nodes etc.) And likely not able to load 
associated js resources.
There are strange paths rendered in the HTML for the resources:

spring/faces/myFacesExtensionResource/tree2.HtmlTreeRenderer/11302665/images/nav-plus-line-last.gif

Am I missing something here? A filter to translate the paths and grab 
the resources from the raj?

Thank you very much!!!!
    Michael.


*********************************************************************
JSP:
...
<h:panelGrid width="200">
        <t:tree2 id="wrapTree" value="#{treeBean.treeModel}" var="node"
            varNodeToggler="t" clientSideToggle="false">
            <f:facet name="folder">
                <h:panelGrid id="a" columns="2" cellpadding="0" 
cellspacing="0">
                    <t:graphicImage value="/images/yellow-folder-open.png"
                        rendered="#{t.nodeExpanded}" border="0" />
                    <t:graphicImage value="/images/yellow-folder-closed.png"
                        rendered="#{!t.nodeExpanded}" border="0" />
                    <h:outputText value="#{node.description}" 
styleClass="nodeFolder" />
                </h:panelGrid>
            </f:facet>

        </t:tree2>
    </h:panelGrid>
...


Mime
View raw message