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

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


     [ http://jira.jboss.com/jira/browse/RF-1287?page=all ]

Ronald Johnson closed RF-1287.
------------------------------

    Resolution: Done

hm, seems like the richtree component uses Prototype 1.5.1
in my project i used Prototype 1.5.0, and  the 1.5.0 code was overwriting the 1.5.1 code, hence the problem
(the property Prototype.Browser does exist in 1.5.1 but not in 1.5.0)

> 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