[richfaces-issues] [JBoss JIRA] Created: (RF-1287) rich:treeNode - javascript error

Ronald Johnson (JIRA) jira-events at lists.jboss.org
Tue Nov 6 04:03:45 EST 2007


rich:treeNode - javascript error 
---------------------------------

                 Key: RF-1287
                 URL: http://jira.jboss.com/jira/browse/RF-1287
             Project: RichFaces
          Issue Type: Bug
    Affects Versions: 3.1.2
         Environment: Suse Linux 10.x
            Reporter: Ronald Johnson
            Priority: Minor


when using the rich:tree / rich:treeNode components, I get a javascript error whenever I click on a node.

in Firefox 2.x I get the error "Prototype.Browser has no properties"
in IE 7.x I get the error "Prototype.Browser.IE has no properties"

this is the code I use:

<rich:tree style="width:300px" value="#{treeData}" var="item" faceNode="myNode" nodeFace="#{item.type}">

            <rich:treeNode type="myNode" iconLeaf="/images/tree/singer.gif" icon="/images/tree/singer.gif">

                <h:outputText value="#{item.ref.id}" /> A
 
            </rich:treeNode>

            <rich:treeNode type="myLeaf" iconLeaf="/images/tree/disc.gif" icon="/images/tree/disc.gif">

                <h:outputText value="#{item.ref.id}" /> B

            </rich:treeNode>

        </rich:tree>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the richfaces-issues mailing list