[richfaces-issues] [JBoss JIRA] Updated: (RF-5474) Javascript error in ui.pack.js

Pavel Yaschenko (JIRA) jira-events at lists.jboss.org
Tue Dec 30 08:49:55 EST 2008


     [ https://jira.jboss.org/jira/browse/RF-5474?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pavel Yaschenko updated RF-5474:
--------------------------------

      Component/s: portal
                       (was: planning_all)
    Fix Version/s: Future
                       (was: 3.3.0)
         Due Date:     (was: 04/Jan/09)


> 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: Pavel Yaschenko
>             Fix For: Future
>
>   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

        



More information about the richfaces-issues mailing list