Rene O created RF-12030:
---------------------------
Summary: rich:dataScroller doesn't work if a rich:message exists inside
of a collapsed rich:collapsiblePanel with switchType='ajax'
Key: RF-12030
URL:
https://issues.jboss.org/browse/RF-12030
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 4.2.0.Final
Environment: tomcat 7, richfaces-4.2.0.Final, myfaces-2.1.6
Reporter: Rene O
rich:dataScroller doesn't work if a rich:message exists inside of a collapsed
rich:collapsiblePanel with switchType='ajax'
Steps to reproduce this issue:
1. use dataScroller to switch table-pages. you can see, that this works.
2. collaps collapsiblePanel
3. if collapsiblePanel is collapsed, the dataScroller doesn't react anymore.
4. if you use switchType='client' everything works correct
{code:title=examplepage.xhtml}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html
xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich"
<h:head>
<title>JSF Test</title>
</h:head>
<h:body>
<h:form id="myForm">
<rich:collapsiblePanel header="collapsPanel" id="collapsPanel"
expanded="true" switchType="ajax">
<h:inputText id="test" value="" />
if rich:message doesn't exists, everything works...
<rich:message id="testMessage" for="test"/>
</rich:collapsiblePanel>
<rich:dataTable id="tableA"
var="item" value="#{model.tableList}"
rows="5" style="width:350px;">
<f:facet name="header">
<h:outputText value="HeaderA" />
</f:facet>
<rich:column id="colA" >
<f:facet name="header">
ColA
</f:facet>
#{item.itemA}
</rich:column>
<f:facet name="footer">
<rich:dataScroller for="tableA" id="ds"/>
</f:facet>
</rich:dataTable>
</h:form>
</h:body>
</html>
{code}
--
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