myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dora Rajappan (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Commented] (MYFACES-3683) Implement AjaxBehavior resetValues and delay
Date Wed, 18 Sep 2013 16:13:57 GMT

    [ https://issues.apache.org/jira/browse/MYFACES-3683?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13770922#comment-13770922
] 

Dora Rajappan commented on MYFACES-3683:
----------------------------------------

This is the behaviour now. Ajax resetValues not visibly resetting value in the screen. And
avoid setting null value in bean by setLocalValueSet(false). 

When two render requests are given in same request.
<h:commandButton type="check" id="check"  value="check" >
   <f:ajax event="click"  resetValues="true" render="userNo userName"/> 
</h:commandButton>

Form data has the rendervalue concatenated. 
helloForm:userNo:4
helloForm:userName:custom presentation
helloForm_SUBMIT:1
javax.faces.ViewState:t8AgGnkn5YYgJdrcfYkpcDI+enqWb5kivC1elY6UQxZZdvVym1RKOGXfOzUMQpgczZPjCTCjbJpXI2Y+OSth5WJ2FAkP5Kn96/pTExg2Z741vhjO6KMymi7LYaqQP5vOUp1Hm91SBHQbtUXEqMrMc/4Kq6+3miTtfCsNsagbfAgmKvuEvLNsNs7qlopzPI4tMln5LPNolqbMqMliXItghFPVq3AkOAfLJRtL2A==
javax.faces.behavior.event:click
javax.faces.partial.event:click
javax.faces.source:helloForm:check
javax.faces.partial.ajax:true
javax.faces.partial.resetValues:true
javax.faces.partial.execute:helloForm:check
javax.faces.partial.render:helloForm:userNo helloForm:userName
helloForm:helloForm

Are you resolving this then?
                
> Implement AjaxBehavior resetValues and delay
> --------------------------------------------
>
>                 Key: MYFACES-3683
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3683
>             Project: MyFaces Core
>          Issue Type: Task
>          Components: JSR-344
>            Reporter: Leonardo Uribe
>         Attachments: MYFACES-3683-delay1.patch, MYFACES-3683-delay2.patch, MYFACES-3683-delay3.patch,
resetValuesNew.patch, resetValues.patch, UIInput.patch
>
>
> Implement AjaxBehavior resetValues and delay as described in the spec. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message