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


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.

Reply via email to