[
https://issues.apache.org/jira/browse/TRINIDAD-1469?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12706818#action_12706818
]
Walter Mourão commented on TRINIDAD-1469:
-----------------------------------------
The return listener changes the value of the component with id="input1". When
immediate="false" the returnListener is executed and you can see the new value
in the browser. When immediate="true" the returnListener is executed but you
can't see the new value in the browser, like the PPR didn't work.
> 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.