[
https://issues.apache.org/jira/browse/TRINIDAD-1469?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12706807#action_12706807
]
Matthias Weßendorf commented on TRINIDAD-1469:
----------------------------------------------
not sure I get it what you are trying to say but immediate:true on command's is
like a "cancel button".
the event is delivered in phase2 and non of the other fields are validated etc.
> returnListener behaves differently when immediate=true in commandButton
> -----------------------------------------------------------------------
>
> Key: TRINIDAD-1469
> URL: https://issues.apache.org/jira/browse/TRINIDAD-1469
> Project: MyFaces Trinidad
> Issue Type: Bug
> Components: Components
> Affects Versions: 1.0.10-core
> Environment: Ubuntu 9.0.4, Tomcat 5.5.27
> Reporter: Walter Mourão
> Attachments: testetrinidadfacelets.zip
>
>
> The following code works as expected when the commandButton has
> immediate="false" but fails (the "input1" does not show the new value) when
> immediate="true". Using partialSubmit="true" in both cases.
> public void returnListener(ReturnEvent event){
> CoreInputText
> i=(CoreInputText)FacesContext.getCurrentInstance().getViewRoot().findComponent("input1");
> i.setValue("passou no returnListener");
> RequestContext.getCurrentInstance().addPartialTarget(i);
> }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.