On Wed, 26 Nov 2014 23:44:58 -0200, Name Surname
<wintertime0...@outlook.com> wrote:
@CommitAfter
public String OnSuccess() {
logic.editUser(user);
return "ListClassesPage";
}
I'm not sure it matters, but try onSuccess(), without capitalizing the
first letter.
Now after I press Save, it fires event however doesn't process anything?
What do you mean by "doesn't process anything"? Is the event handler
method invoked?
http://stackoverflow.com/questions/5366498/tapestry-5-beaneditform-component-trouble
I had to remove all constructors from entity User but default one.
You didn't need that. All you needed, and there's an answer telling you
that, is a
void onPrepare() {
if (user == null) {
user = new User(....);
}
}
--
Thiago H. de Paula Figueiredo
Tapestry, Java and Hibernate consultant and developer
http://machina.com.br
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org