On Mon, Jan 26, 2009 at 7:39 PM, Howard Lewis Ship <hls...@gmail.com> wrote:

> If you use a Form component, you need the t:formdata.
>
> If you don't use Form (and therefore, don't use TextField, Select,
> etc.) you can easily submit directly into a component event handler
> method; it's a step back towards servlet-style coding, where you
> inject the Request and pull parameters out to do with as you please.

It isn't better to (hard)code the t:formdata parameter value in the
application which submits the form and take advantage of all the T5
features, from life cycle methods to validation to type coercion and
so on?

Hardcoding any value is almost always a bad practice but in this case
it seems to me it has more advantages then drawbacks.

-- 
Massimo
http://meridio.blogspot.com

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

Reply via email to