You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Stephan Windmüller <st...@cs.tu-dortmund.de> on 2010/01/21 15:00:09 UTC
Required action attribute of form component
Hello!
We are creating our templates with default XHTML tags like
<form t:type="form">
so we are able to edit and validate them with standard HTML tools. But I
am unsure how to set the required "action" parameter of the form
component. Does it even care for tapestry if I write
<form t:type="form" action="invalid">
? The component reference is lacking an example for this.
http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry5/corelib/components/Form.html
Regards
Stephan
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: Required action attribute of form component
Posted by Sven Homburg <ho...@googlemail.com>.
Tapestry build his own action url and throws "yours" away.
with regards
Sven Homburg
Founder of the Chenille Kit Project
http://chenillekit.codehaus.org
2010/1/21 Stephan Windmüller <st...@cs.tu-dortmund.de>
> Hello!
>
> We are creating our templates with default XHTML tags like
>
> <form t:type="form">
>
> so we are able to edit and validate them with standard HTML tools. But I am
> unsure how to set the required "action" parameter of the form component.
> Does it even care for tapestry if I write
>
> <form t:type="form" action="invalid">
>
> ? The component reference is lacking an example for this.
>
>
> http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry5/corelib/components/Form.html
>
> Regards
> Stephan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
Re: Required action attribute of form component
Posted by Stephan Windmüller <st...@cs.tu-dortmund.de>.
Am 21.01.2010 15:09, schrieb Thiago H. de Paula Figueiredo:
> I tried exactly the above line it worked. Form ignores the action
> attribute value, overriding it when rendering.
Thanks for the reply and your test!
But is there an "official" (or even documented) guideline for this?
Regards
Stephan
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: Required action attribute of form component
Posted by "Thiago H. de Paula Figueiredo" <th...@gmail.com>.
On Thu, 21 Jan 2010 12:00:09 -0200, Stephan Windmüller
<st...@cs.tu-dortmund.de> wrote:
> Hello!
Hi!
> We are creating our templates with default XHTML tags like
> <form t:type="form">
>
> so we are able to edit and validate them with standard HTML tools. But I
> am unsure how to set the required "action" parameter of the form
> component. Does it even care for tapestry if I write
> <form t:type="form" action="invalid">
> ?
I tried exactly the above line it worked. Form ignores the action
attribute value, overriding it when rendering.
--
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