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

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

Please apply the UIInput.patch that is left out and then only the value is 
reset. When more than one ajax reset request is send javax.faces.partial.render 
param returns only one. For below request javax.faces.partial.render param 
returns only userNo.

<h:commandButton type="check" id="check"  value="check" >
   <f:ajax event="click" execute="userNo" resetValues="true" render="userNo"/>
    <f:ajax event="click" execute="userName" resetValues="true" 
render="userName"/>
</h:commandButton>

Requst header has this formData.

helloForm:userNo:2
helloForm:userName:custom presentation
helloForm_SUBMIT:1
javax.faces.ViewState:RrFAKI8lcND1R4ZMRKwzARHaTOpbn8JtnYLjjPIxee3xkJtlQ+cRADxFWrV+tRFX2E0XEh3Xo2w/GNMC49C4nMAIS0rORlUFGRsj5wWIGWDeBeQaqKd34YRvafwCX8eCoQf7yoSDkad0JbdJpZ6vb4oNaA7U9PjyH4YOQyjKMkbIUATRwBxOYXbuki6wr49famX3YZ5RffB8ajkdd/28qO/+BUNsiL8RQ8u6BA==
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:userNo
javax.faces.partial.render:helloForm:userNo
helloForm:helloForm
                
> 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

Reply via email to