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 ErikVullings:
http://wiki.apache.org/tapestry/BeanForm

------------------------------------------------------------------------------
- An [http://howardlewisship.com/blog/2006/03/from-fanciful-ideas-category.html 
often-requested feature] is an easier, more Trails-like way of editing domain 
objects that gets rid of a lot of the boilerplate typing required to create an 
edit form. 
[http://planesailing.blogspot.com/2006/03/tapestry-edit-component.html Some 
solutions] are breathtaking in their comprehensiveness but suffer from lack of 
documentation and over-architecting (imho). The BeanForm is a simpler solution 
to this common problem:
+ An [http://howardlewisship.com/blog/2006/03/from-fanciful-ideas-category.html 
often-requested] 
[http://mail-archives.apache.org/mod_mbox/jakarta-tapestry-user/200505.mbox/[EMAIL
 PROTECTED] feature] is an easier, more ([https://trails.dev.java.net/ 
Trails]/[http://www.rubyonrails.org/ 
Rails]/[http://codehaus.org/display/GRAILS/Home Grails])-like way of editing 
domain objects that gets rid of a lot of the boilerplate typing required to 
create an edit form. 
[http://planesailing.blogspot.com/2006/03/tapestry-edit-component.html Some 
solutions] are breathtaking in their comprehensiveness but suffer from lack of 
documentation and over-architecting (imho). The BeanForm is a simpler solution 
to this common problem:
  
  {{{
  <span jwcid="@BeanForm" bean="ognl:pojo" save="listener:save" 
delete="listener:delete"/>
@@ -44, +44 @@

  Gotchas:
   * Change the package name in BeanForm.java!
   * Use your own logging framework in BeanForm.java!
+  * If you are using a page property (''pojo'' in all the examples above) for 
the BeanForm's ''bean'' parameter, you will probably need to make this page 
property persistent. Otherwise, your page will likely break during the rewind 
cycle.
  
  ==== BeanForm.html ====
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to