[
https://jira.jboss.org/jira/browse/RF-5474?page=com.atlassian.jira.plugin...
]
Nick Belaevski resolved RF-5474.
--------------------------------
Fix Version/s: (was: Future)
Resolution: Won't Fix
Assignee: Nick Belaevski (was: Pavel Yaschenko)
Will be addressed in 4.0 only. Use provided workaround for now.
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
Assignee: Nick Belaevski
Original Estimate: 6 hours
Remaining Estimate: 6 hours
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