[
https://issues.jboss.org/browse/RF-11790?page=com.atlassian.jira.plugin.s...
]
Brian Leathem resolved RF-11790.
--------------------------------
Assignee: Brian Leathem
Resolution: Rejected
This is not a RichFaces issue, but rather how JSF works. You'll have to reset the
values of the backing bean in your popup when you close the popup, (probably with an
immediate action listener, since the form won't submit with validation failures).
f:setPropertyActionListener is passing the wrong value
------------------------------------------------------
Key: RF-11790
URL:
https://issues.jboss.org/browse/RF-11790
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: component-a4j-core, component-tables, component-validators
Affects Versions: 3.3.3.Final
Reporter: Fabio Fonseca
Assignee: Brian Leathem
I have a data table with an edit button for each row. When the edit button is clicked, I
pass the values of that row to a bean through f:setPropertyActionListener and open a modal
panel with an edit form.
Everything works fine. I can change the values and submit. I can open another row, edit
the values, submit and it is ok.
But, if the validator of one input fails during the edition and I close the modal panel,
when I click to edit another row, the values of the previous clicked row appear.
Further explanation including code can be seen here:
http://stackoverflow.com/questions/8059810/fsetpropertyactionlistener-is-...
--
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