[
http://jira.jboss.com/jira/browse/RF-3182?page=all ]
Nick Belaevski resolved RF-3182.
--------------------------------
Resolution: Won't Fix
dataTable resets components state. Use model bindings for that
Panel bar does not keep opened state if it is wrapped with
dataTable.
---------------------------------------------------------------------
Key: RF-3182
URL:
http://jira.jboss.com/jira/browse/RF-3182
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.1
Environment: FF, IE
Reporter: Sergey Halipov
<rich:dataTable
var="record" value="#{report.expReport.records}"
rows="1">
<rich:column>
<h:outputText value="#{record.city}" />
<rich:panelBar id="panelBar" width="300"
height="300" >
<rich:panelBarItem id="item1" label="Item 1" >
<h:outputText value="Item 1" />
</rich:panelBarItem>
<rich:panelBarItem id="item2" label="Item 2" >
<h:outputText value="Item 2" />
<h:commandButton id="button_simple" value="Submit" />
</rich:panelBarItem>
<rich:panelBarItem id="item3" label="Item 3" >
<h:outputText value="Item 3" />
<a4j:commandButton id="button_ajax" value="Submit"
reRender="panelBar" />
</rich:panelBarItem>
</rich:panelBar>
</rich:column>
</rich:dataTable>
Open item 1 or item 2. Click ajax or simple commandButton. After submission complete
panel bar will be always rerendered with first item opened.
--
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