[richfaces-issues] [JBoss JIRA] (RF-11790) f:setPropertyActionListener is passing the wrong value

Fabio Fonseca (Commented) (JIRA) jira-events at lists.jboss.org
Mon Dec 5 17:32:40 EST 2011


    [ https://issues.jboss.org/browse/RF-11790?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12648234#comment-12648234 ] 

Fabio Fonseca commented on RF-11790:
------------------------------------

Hi Brian. Sorry, but I missed your point. Have you seen the code? As I said, if I have no validation error, everything works properly. I can open, edit the form, save it and close the modal panel. If I open another row, the new values are properly loaded in the modal panel. Only if there is a validation error that the previous values appear.

When you open the modal again (clicking the a4j:commandLink), the backing bean is updated with the f:setPropertyActionListener and the modal panel is reRendered. The new values where supposed to appear. 


                
> 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-passing-the-wrong-value

--
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

        


More information about the richfaces-issues mailing list