RichDataTable: client id of table wrapped by dataTable is changed after submit button was
clicked inside column with sorting feature
-------------------------------------------------------------------------------------------------------------------------------------
Key: RF-6269
URL:
https://jira.jboss.org/jira/browse/RF-6269
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.0
Environment: RF 3.3.1-SNAPSHOT
Facelets 1.1.14
Reporter: Andrei Markavtsov
Assignee: Nick Belaevski
Steps to reproduce:
1. wrap table by table
2. place command inside the column of inner table
3. the column should have sorting feature
<h:form id="form"
<rich:dataTable
id="outerTable" value="#{test3.model}"
<rich:column
<rich:dataTable id="contCapacityList" value="#{test3.rows}"
var="row"
<rich:column
sortOrder="#{test3.ordering}"
sortBy="#{row.value1}"
<f:facet name="header"
<h:outputText
value="Header"></h:outputText
</f:facet
<h:outputText
value="#{row.value1}"></h:outputText
<h:commandButton value="Submit"></h:commandButton
</rich:column
</rich:dataTable
</rich:column
</rich:dataTable
</h:form
Sorting works fine before submit button was clicked.
Then sorting stops to change data ordering but sort icon still works.
Inner table's id was changed after sibmit: '-1' was appended.
--
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