On Mon, 25 Jul 2011 23:29:20 -0300, TG <tapestry...@hotmail.com> wrote:

I use beaneditform to generate my CRUD UI and web tiers automagically. I
would like to have Delete action prompt me to confirm or cancel the action, no customization required, plain confirmation box.

Most of what you want is done by using a BeanEditor and a couple Submit instances inside a Form instead of using BeanEditForm. No additional Java code needed. The confirmation box needs JavaScript and there are some examples in this list. JumpStart has at least one example of this (and lots of examples of many other things): http://jumpstart.doublenegative.com.au/jumpstart/

I saw some threads in
this forum, it does not seem to have any one link annotation or codes that can let me just provide this simple functionalities.I do not want to write any Java class or anything that is more than 1 or 2 lines of codes, is it
possible?

Don't you think you're asking too much? ;) As Howard once said, BeanEditForm, BeanEditor, and Grid are meant to be used to get something working quickly, not to be the solution of all scenarios.

--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to