[richfaces-issues] [JBoss JIRA] Created: (RF-8220) inplaceSelect: different values passed to event on cancel and save.

Ilya Shaikovsky (JIRA) jira-events at lists.jboss.org
Thu Dec 17 05:25:31 EST 2009


inplaceSelect: different values passed to event on cancel and save.
-------------------------------------------------------------------

                 Key: RF-8220
                 URL: https://jira.jboss.org/jira/browse/RF-8220
             Project: RichFaces
          Issue Type: Bug
      Security Level: Public (Everyone can see)
    Affects Versions: 3.3.2.SR1
            Reporter: Ilya Shaikovsky
            Assignee: Nick Belaevski


I'm not able to cancel the submit using next code:
<a4j:support onsubmit="if (event.memo.value==event.memo.oldValue) return false;" event="onviewactivated" reRender="output" />
if the user clicked save without chaning selected value it works because value and oldValue equals and actual values of selected item
but on cancel - value passed as label of selected item so the condition always false on cancel and request fired.


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

        


More information about the richfaces-issues mailing list