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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
