javaee / mojarra

PLEASE NOTE: This project has moved to Eclipse Foundation and will be archived under the JavaEE GitHub Organization. After Feb. 1, 2021, the new location will be github.com/javaee/mojarra. Mojarra - Oracle's implementation of the JavaServer Faces specification
https://github.com/eclipse-ee4j/mojarra
Other
164 stars 58 forks source link

Both inputText and commandButton are immediate="true", action cannot see the model value. #1676

Closed javaserverfaces closed 11 years ago

javaserverfaces commented 14 years ago

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]

javaserverfaces commented 14 years ago

Reported by ruimo

javaserverfaces commented 14 years ago

@edburns said: Reassign to edburns

javaserverfaces commented 14 years ago

rogerk said: triage

javaserverfaces commented 11 years ago

@manfredriem said: Can you please attach an example application (with sources) that demonstrates the problem?

javaserverfaces commented 11 years ago

@manfredriem said: Lowering priority because of no response

javaserverfaces commented 11 years ago

@manfredriem said: Lowering priority because of no response

javaserverfaces commented 11 years ago

@manfredriem said: Closing because of inactivity

javaserverfaces commented 7 years ago

This issue was imported from java.net JIRA JAVASERVERFACES-1672

javaserverfaces commented 11 years ago

Marked as incomplete on Wednesday, April 17th 2013, 7:34:51 am