Javascript error in ui.pack.js
------------------------------
Key: RF-5474
URL: https://jira.jboss.org/jira/browse/RF-5474
Project: RichFaces
Issue Type: Bug
Components: portal
Affects Versions: 3.2.2
Environment: Richfaces - 3.2.2.GA (also tested with 3.3.0Beta)
JBoss Portal - 2.7.0 CR1
Jboss App - 4.2.2.GA
IE version 7
Windows OS
Ajax4JSF
Reporter: hello All
I am using RichFaces tree and on click of a node, I get a javascript error -
Object doesn't support this property or method. The error occurs in ie version
7 and not in Firefox. On debugging, the javascript error is thrown in the while
statement in ui.pack.js :
Code:
var C=0;
while(D&&Element.isChildOf(D,this.element)){C+=D.offsetTop;
D=D.offsetParent
}D=F;
Here is my tree code:
<rich:tree style="width:230px" switchType="client"
value="#{reportCenterMgr.projectsTreeNode}" id="projectNamesTree"
var="item2" bypassUpdates="true"
nodeFace="#{item2.type}">
<rich:treeNode
highlightedClass="myClass" selectedClass="myClass"
type="#{item2.type}"
icon="/images/#{item2.icon}" iconLeaf="/images/#{item2.icon}">
<h:outputText
value="#{reportCenterMgr.selectedProjectName}" style="font-weight: bold;color:
white;" rendered="#{reportCenterMgr.singleProjectAccessible}"/>
<a4j:commandLink
value="#{item2.name}" rendered="#{!reportCenterMgr.singleProjectAccessible}"
actionListener="#{reportCenterMgr.projectNameClicked}"
event="onclick"
reRender="sharedReportsTreePanel,myReportsTreePanel">
<f:param
name="projectName" value="#{item2.name}" />
<f:param
name="projectId" value="#{item2.id}" />
</a4j:commandLink>
</rich:treeNode>
</rich:tree>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues