[
https://issues.jboss.org/browse/RF-12291?page=com.atlassian.jira.plugin.s...
]
Brian Leathem updated RF-12291:
-------------------------------
Description:
When using a rich tab panel which contains in one tab a non-paginated data table and in
another tab a paginated data table, when switching tabs from tab containing paginated
table to the tab with non-paginated table, an exception is thrown, such as:
{code}
javax.el.PropertyNotFoundException:
/WEB-INF/classes/rf4bug/module/core/ui/jsf/secondInclude.xhtml @13,45
rows="#{sessionScope.myBean.rowsPerPage}": Property 'rowsPerPage' not
found on type rf4bug.module.core.ui.jsf.RegularTableBean
at com.sun.faces.facelets.el.TagValueExpression.getValue(TagValueExpression.java:111)
at javax.faces.component.ComponentStateHelper.eval(ComponentStateHelper.java:194)
at org.richfaces.component.UISequence.getRows(UISequence.java:169)
at org.richfaces.component.UISequence.getActualRows(UISequence.java:81)
at org.richfaces.component.UISequence.updateState(UISequence.java:66)
at org.richfaces.component.UISequence.updateState(UISequence.java:72)
at org.richfaces.component.UISequence.preEncodeBegin(UISequence.java:291)
at org.richfaces.component.UIDataAdaptor.processEvent(UIDataAdaptor.java:1453)
at javax.faces.event.SystemEvent.processListener(SystemEvent.java:106)
at
com.sun.faces.application.ApplicationImpl.processListenersAccountingForAdds(ApplicationImpl.java:2217)
at
com.sun.faces.application.ApplicationImpl.invokeViewListenersFor(ApplicationImpl.java:2038)
at com.sun.faces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:291)
at com.sun.faces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:246)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:108)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:594)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:928)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:987)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:539)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:300)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
2012-05-25 11:37:12,033 INFO [http-bio-1080-exe
{code}
It seems the tab which used to be active, is re-renderd for some reason, but I think it
shouldn't.
You can create an Eclipse project based on attached zip file, turn it to a Maven project
and publish it to any AS/WebContainer. We used Tomcat 7.023. Then hit the url:
http://localhost:<port>/rf4bug and click on the link on the page. Then switch from
First tab to Second tab and back and take a look at log files. You will see the exception
as described here. You can see this in the console or you can configure log4j.properties
to produce a log file. I hope it's clear enough.
was:
When using a rich tab panel which contains in one tab a non-paginated data table and in
another tab a paginated data table, when switching tabs from tab containing paginated
table to the tab with non-paginated table, an exception is thrown, such as:
javax.el.PropertyNotFoundException:
/WEB-INF/classes/rf4bug/module/core/ui/jsf/secondInclude.xhtml @13,45
rows="#{sessionScope.myBean.rowsPerPage}": Property 'rowsPerPage' not
found on type rf4bug.module.core.ui.jsf.RegularTableBean
at com.sun.faces.facelets.el.TagValueExpression.getValue(TagValueExpression.java:111)
at javax.faces.component.ComponentStateHelper.eval(ComponentStateHelper.java:194)
at org.richfaces.component.UISequence.getRows(UISequence.java:169)
at org.richfaces.component.UISequence.getActualRows(UISequence.java:81)
at org.richfaces.component.UISequence.updateState(UISequence.java:66)
at org.richfaces.component.UISequence.updateState(UISequence.java:72)
at org.richfaces.component.UISequence.preEncodeBegin(UISequence.java:291)
at org.richfaces.component.UIDataAdaptor.processEvent(UIDataAdaptor.java:1453)
at javax.faces.event.SystemEvent.processListener(SystemEvent.java:106)
at
com.sun.faces.application.ApplicationImpl.processListenersAccountingForAdds(ApplicationImpl.java:2217)
at
com.sun.faces.application.ApplicationImpl.invokeViewListenersFor(ApplicationImpl.java:2038)
at com.sun.faces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:291)
at com.sun.faces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:246)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:108)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:594)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:928)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:987)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:539)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:300)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
2012-05-25 11:37:12,033 INFO [http-bio-1080-exe
It seems the tab which used to be active, is re-renderd for some reason, but I think it
shouldn't.
You can create an Eclipse project based on attached zip file, turn it to a Maven project
and publish it to any AS/WebContainer. We used Tomcat 7.023. Then hit the url:
http://localhost:<port>/rf4bug and click on the link on the page. Then switch from
First tab to Second tab and back and take a look at log files. You will see the exception
as described here. You can see this in the console or you can configure log4j.properties
to produce a log file. I hope it's clear enough.
Tab panel issue when using paginated table in one tab
-----------------------------------------------------
Key: RF-12291
URL:
https://issues.jboss.org/browse/RF-12291
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: component-panels-layout-themes
Affects Versions: 4.2.0.Final
Reporter: Cristian Cerb
Attachments: rf4bug.zip
When using a rich tab panel which contains in one tab a non-paginated data table and in
another tab a paginated data table, when switching tabs from tab containing paginated
table to the tab with non-paginated table, an exception is thrown, such as:
{code}
javax.el.PropertyNotFoundException:
/WEB-INF/classes/rf4bug/module/core/ui/jsf/secondInclude.xhtml @13,45
rows="#{sessionScope.myBean.rowsPerPage}": Property 'rowsPerPage' not
found on type rf4bug.module.core.ui.jsf.RegularTableBean
at com.sun.faces.facelets.el.TagValueExpression.getValue(TagValueExpression.java:111)
at javax.faces.component.ComponentStateHelper.eval(ComponentStateHelper.java:194)
at org.richfaces.component.UISequence.getRows(UISequence.java:169)
at org.richfaces.component.UISequence.getActualRows(UISequence.java:81)
at org.richfaces.component.UISequence.updateState(UISequence.java:66)
at org.richfaces.component.UISequence.updateState(UISequence.java:72)
at org.richfaces.component.UISequence.preEncodeBegin(UISequence.java:291)
at org.richfaces.component.UIDataAdaptor.processEvent(UIDataAdaptor.java:1453)
at javax.faces.event.SystemEvent.processListener(SystemEvent.java:106)
at
com.sun.faces.application.ApplicationImpl.processListenersAccountingForAdds(ApplicationImpl.java:2217)
at
com.sun.faces.application.ApplicationImpl.invokeViewListenersFor(ApplicationImpl.java:2038)
at com.sun.faces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:291)
at com.sun.faces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:246)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:108)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:594)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:928)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:987)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:539)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:300)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
2012-05-25 11:37:12,033 INFO [http-bio-1080-exe
{code}
It seems the tab which used to be active, is re-renderd for some reason, but I think it
shouldn't.
You can create an Eclipse project based on attached zip file, turn it to a Maven project
and publish it to any AS/WebContainer. We used Tomcat 7.023. Then hit the url:
http://localhost:<port>/rf4bug and click on the link on the page. Then switch from
First tab to Second tab and back and take a look at log files. You will see the exception
as described here. You can see this in the console or you can configure log4j.properties
to produce a log file. I hope it's clear enough.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira