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

Nick Belaevski (JIRA) jira-events at lists.jboss.org
Fri Dec 18 18:22:31 EST 2009


     [ https://jira.jboss.org/jira/browse/RF-8220?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nick Belaevski updated RF-8220:
-------------------------------

      Component/s: component-input
    Fix Version/s: Future
         Priority: Minor  (was: Major)


> 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) 
>          Components: component-input
>    Affects Versions: 3.3.2.SR1
>            Reporter: Ilya Shaikovsky
>            Assignee: Nick Belaevski
>            Priority: Minor
>             Fix For: Future
>
>
> 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