Closed javaserverfaces closed 11 years ago
Reported by ruimo
@edburns said: Reassign to edburns
rogerk said: triage
@manfredriem said: Can you please attach an example application (with sources) that demonstrates the problem?
@manfredriem said: Lowering priority because of no response
@manfredriem said: Lowering priority because of no response
@manfredriem said: Closing because of inactivity
This issue was imported from java.net JIRA JAVASERVERFACES-1672
Marked as incomplete on Wednesday, April 17th 2013, 7:34:51 am
If both inputText and commandButton are immediate="true", action specified in commandButton cannot see the value set in the inputText.
xhtml
java @ManagedBean @RequestScoped public class Test { String foo; public String getFoo()
{return foo;}
public void setFoo(String foo)
{this.foo = foo;}
public void go()
{ System.out.println("*** foo = " + foo); }
}
The go method prints "*** foo = null". As for the JavaEE6 tutorial document page 127, the go() method should see the value entered in the inputText.
Environment: Google App Engine 1.3.3.1 (Local environment)
Environment
Operating System: All Platform: All
Affected Versions
[2.0.2]