Raphael Lacerda created RF-12986:
------------------------------------
Summary: Rich:datatable selects the wrong object when working with
rich:datascroller and selectable row
Key: RF-12986
URL: https://issues.jboss.org/browse/RF-12986
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 4.3.1
Environment: Richfaces 4.3.1 - JSF 2 - Tomcat 7+ Chrome
Reporter: Raphael Lacerda
<h:form>
<rich:dataTable value="#{test.names}" var="n" rows="4">
<a4j:ajax event="rowclick" listener="#{test.setSelectedItem(n)}"
render="@form" />
<rich:column>
<f:facet name="header">Names</f:facet>
<h:outputText value="#{n}" />
</rich:column>
<f:facet name="footer">
<rich:dataScroller />
</f:facet>
</rich:dataTable>
<h:outputText value="#{test.selectedItem}" />
</h:form>
This works just fine! However, when i click to go to the next page on the
dataScroller and i click at a especific row , it gets the elements from the
first page
For example:
Page 1 - Names1,Names2,Names3, Names4
Page 2 - Names4,Names5,Names6, Names8
First step:
- Click at the " Names 2"
- The String "Names 2" is displayed
Second step:
- Navigate to page 2
Third Step
- Click at the "Names 4"
- The String "Names 1" is displayed
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues