On Tue, 26 Jul 2011 15:23:42 -0300, dragan.sahpas...@gmail.com <dragan.sahpas...@gmail.com> wrote:

Hi,

Hi!

When you submit a form using ajax you can return a Link that will send a
redirect read more in the doc
here<http://tapestry.apache.org/ajax-and-zones.html#AjaxandZones-EventHandlerReturnTypes>
.

Even easier, you can return a class or page instance too.

When having two submit buttons you can identify which one is clicked by
using the onSelected event. For example submit with t:id="saveDB" will fire
onSelectedFromSaveDB.

Yep! :)

--
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