[JBoss JIRA] Created: (RF-5474) Javascript error in ui.pack.js
by hello All (JIRA)
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
16 years, 5 months
[JBoss JIRA] Created: (RF-6482) ExtendedDataTable reRendered even if out a4j:region with renderRegionOnly=true
by Nicolas Gaudin (JIRA)
ExtendedDataTable reRendered even if out a4j:region with renderRegionOnly=true
------------------------------------------------------------------------------
Key: RF-6482
URL: https://jira.jboss.org/jira/browse/RF-6482
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.0
Environment: Windows XP PRO SP2
Glassfish V2 UR2
JSF 1.2_09
JSP, Not using Facelets
Affects: FF and IE
Reporter: Nicolas Gaudin
Hi all,
I have several a4j:include all in one page :
- TREE: one for a tree of folders (not system folders, but categories of items)
- EDT: one for a list of items belonging to a particular category (the EDT)
- ITEM: one containing the detail of each item (rerendered when clicking on a row of the EDT)
so when clicking on a treeNode of TREE, the list of items is reRendered via a4j:support with reRender="dataTable" : this is working OK
BUT, when I do operation on the tree (ex:DnD, deletion of a node via contextmenu, etc...each time an ajax request is sent (via a4j:support mainly), EDT is reRendered in BACKEND.
I mean by "backend" that it is not visual on the UI but I see it occurs in my log.
This impacts a lot the performance of my application.
ALSO, when user changes the details of a selected item (ITEM include) and use a suggestionbox (for instance), again i see in the log that the EDT is Rerendered.
ITEM include (not like the TREE that needs to actually rerender the EDT or the EDT that needs to actually rerender the ITEM) has nothing to do (no rerender interaction) with the TREE or the EDT.
So, I tried to encapsulate ITEM include in a4j:region with attribute renderRegionOnly set to TRUE.
Nothing seems to work..
This only thing i can say is that it has perhaps something to do with EDT tablestate???? because i see it in the log (having logged getTableState in managed bean) at the beginning AND at the end of this weird rerendering thing
Do you have any idea on this, any quick workaround?
Many thanks in advance for your answers
Nicog
--
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
16 years, 5 months
[JBoss JIRA] Created: (RF-2029) Modal Panel: top and left ="aout" do not influence to MP in FF
by Ilya Shaikovsky (JIRA)
Modal Panel: top and left ="aout" do not influence to MP in FF
--------------------------------------------------------------
Key: RF-2029
URL: http://jira.jboss.com/jira/browse/RF-2029
Project: RichFaces
Issue Type: Bug
Environment: FF
Reporter: Ilya Shaikovsky
Assigned To: Nick Belaevski
modal panel opens in top left corner of the screen in FF
<rich:modalPanel id="_panel" autosized="true" minHeight="550"
minWidth="200" moveable="true" style="overflow: true;" top="auto" left="auto" showWhenRendered="true">
<f:facet name="header">
<h:outputText value="Events..." />
</f:facet>
<f:facet name="controls">
<h:outputLink value="#"
onclick="Richfaces.hideModalPanel('_panel'); return false;" >
X
</h:outputLink>
</f:facet>
<h:outputText value="Eventsaaaaaaaaaaaaaaaa ..." />
</rich:modalPanel>
--
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
16 years, 5 months
[JBoss JIRA] Created: (RF-5301) columns: "visible" attribute doesn't work under myfaces.
by Mikhail Vitenkov (JIRA)
columns: "visible" attribute doesn't work under myfaces.
--------------------------------------------------------
Key: RF-5301
URL: https://jira.jboss.org/jira/browse/RF-5301
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.0
Environment: IE6, IE7, FF 3.1.3, Safari 3.1, Opera 9.62(3.3.0.BETA3) myfaces 1.2.5
Reporter: Mikhail Vitenkov
Assignee: Nick Belaevski
#1. Set visible="false".
#2. Navigate to the page.
Actual behavior:
Exception occurs:
SEVERE: An exception occurred
javax.faces.FacesException: /Columns/Columns.jsp(38,2) Unable to find setter method for attribute: visible
at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:347)
at org.apache.myfaces.application.jsp.JspViewHandlerImpl.buildView(JspViewHandlerImpl.java:486)
at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:337)
at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:100)
at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:197)
at org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)
at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:140)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:155)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178)
at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:307)
at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:407)
at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:534)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:246)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:301)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Unknown Source)
--
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
16 years, 5 months