You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Angelo Chen <an...@yahoo.com.hk> on 2010/03/27 03:03:08 UTC

t5: standard form and post

Hi,

T5 binds < t:form > to a page class. if standard < form > is used, how to
define a page class method to accept the posting from the form? Thanks.

Angelo
-- 
View this message in context: http://old.nabble.com/t5%3A-standard-form-and-post-tp28049417p28049417.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


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


Re: t5: standard form and post

Posted by "Thiago H. de Paula Figueiredo" <th...@gmail.com>.
On Fri, 26 Mar 2010 23:03:08 -0300, Angelo Chen  
<an...@yahoo.com.hk> wrote:

> Hi,

Hi!

> T5 binds < t:form > to a page class. if standard < form > is used, how to
> define a page class method to accept the posting from the form? Thanks.

Use the action parameter of the <form> tag and pass it a link created by  
ComponentEventLinkEncoder.createPageLink().

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

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