You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by Apache Wiki <wi...@apache.org> on 2008/10/04 19:27:53 UTC
[Tapestry Wiki] Update of "Tapestry5HowToUseTapestryHibernate" by CraigStJean
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Tapestry Wiki" for change notification.
The following page has been changed by CraigStJean:
http://wiki.apache.org/tapestry/Tapestry5HowToUseTapestryHibernate
------------------------------------------------------------------------------
private Hello current;
+ @CommitAfter
public void onAction() {
Hello h = new Hello();
h.setMessage("Hello World");
@@ -230, +231 @@
=== Few more advanced things to do ===
After this basic setup, we can create a very simple form (BeanEditform is explained at http://tapestry.apache.org/tapestry5/tutorial1/forms.html)
-
-
-
-
-
-
-
-
+ === Updates ===
+ 10/4/2008, added @CommitAfter on the onAction method. Without it, a commit never occurs and the new Hello object is never persisted.
-
-
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org