[
https://issues.jboss.org/browse/RF-10740?page=com.atlassian.jira.plugin.s...
]
Pavel Yaschenko updated RF-10740:
---------------------------------
Attachment: RF-10740.patch
There is no workaround but a server-side part of fix (you can find it in the patch
attached).
Client side of collapsibleSubTable is not fixed now, it takes a lot of time to fix, so I
describe the reason of bug on client side. The state(collapsed or expanded) on client is
not synchronized with the state on server if validation fails, so client-side should be
fixed in the following way: if validation fails on server the state should not be changed
on client. I think the collapsibleSubTable should get the state from the server in ajax
and server modes.
Actually "mmediate" attribute is also added in patch.
collapsibleSubTableToggler with expandMode="ajax" executes
collapsibleSubTable on server
----------------------------------------------------------------------------------------
Key: RF-10740
URL:
https://issues.jboss.org/browse/RF-10740
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: component-tables
Affects Versions: 4.0.0.CR1
Environment: richfaces 4.0, mojarra 2.0.4
Reporter: Martin Kočí
Assignee: Pavel Yaschenko
Priority: Critical
Labels: tran
Fix For: 4.Future
Attachments: RF-10740.patch
With example below request contains
javax.faces.partial.execute=form:dataTable:0:collapsibleSubTable
and that triggers validation on inputText.
<r:dataTable id="dataTable" value="#{bean.rowValues}" >
<r:column>
<r:collapsibleSubTableToggler for="collapsibleSubTable" />
</r:column>
<r:collapsibleSubTable id="collapsibleSubTable"
expandMode="ajax">
<f:facet name="header">
<h:inputText id="inputText" required="true" />
</f:facet>
</r:collapsibleSubTable>
</r:dataTable>
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira