Hi all,
I have a bean named "cmd" with a field "name".
when start the name is 'oldname'.Code:public class MyCommand { private String name; public String getName() { return name; } public void setName( final String name ) { this.name = name; } }
My flow is :
The form input text is never update with the value 'newname' but the old one 'oldname'Code:<view-state id="state1" model="cmd" view="views/cmd"> <transition on="setNameEvent" to="state1"> <evaluate expression="cmd.setName('newname')"/> </transition> </view-state>
I ve only this case when a transition leave enter in the same View-State with tags <form:input
It makes me crazy.
--
Julien


Reply With Quote