Issue Details (XML | Word | Printable)

Key: JAVASERVERFACES-1672
Type: Bug Bug
Status: Closed Closed
Resolution: Incomplete
Priority: Trivial Trivial
Assignee: Unassigned
Reporter: ruimo
Votes: 1
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
javaserverfaces

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

Created: 20/May/10 10:45 AM   Updated: 17/Apr/13 02:34 PM   Resolved: 17/Apr/13 02:34 PM
Component/s: state saving
Affects Version/s: 2.0.2
Fix Version/s: None

Time Tracking:
Not Specified

Environment:

Operating System: All
Platform: All


Issuezilla Id: 1,672
Status Whiteboard:

size_medium importance_medium

Tags:
Participants: Ed Burns, Manfred Riem, rogerk and ruimo


 Description  « Hide

If both inputText and commandButton are immediate="true", action specified in
commandButton cannot see the value set in the inputText.

xhtml
<body>
<h:form>
<h:inputText value="#{test.foo}" immediate="true"/>
<h:commandButton action="#{test.go}" immediate="true"/>
</h:form>
</body>

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)



Ed Burns added a comment - 22/Jun/10 04:48 PM

Reassign to edburns


rogerk added a comment - 28/Jun/10 09:56 AM

triage


Manfred Riem added a comment - 20/Nov/12 10:11 PM

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


Manfred Riem added a comment - 18/Feb/13 02:33 PM

Lowering priority because of no response


Manfred Riem added a comment - 18/Mar/13 03:05 PM

Lowering priority because of no response


Manfred Riem added a comment - 17/Apr/13 02:34 PM

Closing because of inactivity