You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Brian Long <br...@gmail.com> on 2007/05/31 13:35:48 UTC
Form names in T4.1
Hi all,
this is just a quick question, in previous versions of tapestry a Form was
assigned a name using the convention jwcid="someName@Form", however in
T4.1this no longer sets the name but assigns an id="someName".
Question is, how
do I assign a name to my Form component in 4.1, as informal parameters are
allowed but name is reserved?
Regards, Brian.
Re: Form names in T4.1
Posted by Andrew Ingram <an...@titanemail.com>.
Hi Brian,
I'm not sure if this is the reasoning behind the change, but when using
a strict doctype the form tag isn't allowed a name attribute and id is
used instead. In tapestry 3 I had to rewrite the form component to use
id rather than name.
Rewriting the form component to use name instead would be the obvious
answer, but you probably need to consider whether you should actually be
using name at all.
Regards,
Andrew
Brian Long wrote:
> Hi all,
>
> this is just a quick question, in previous versions of tapestry a Form
> was
> assigned a name using the convention jwcid="someName@Form", however in
> T4.1this no longer sets the name but assigns an id="someName".
> Question is, how
> do I assign a name to my Form component in 4.1, as informal parameters
> are
> allowed but name is reserved?
>
> Regards, Brian.
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org