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 2007/10/22 16:37:38 UTC
T5: partial form template
Hi,
I have this template:
<div xmlns:t="...">
<<input t:type="textfield" t:id="address1" />
</div>
it can be used as component like this:
<t:form>
<t:mycomponent>
</t:form>
but if I use it as page template, it can not be rendered at run time, I have
to surround it with <t:form></t:form>. Is there a way that a page containing
some form fields can be obtained during run time and insert into a form to
be part of the UI? Thanks,
A.C.
--
View this message in context: http://www.nabble.com/T5%3A-partial-form-template-tf4670558.html#a13342337
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: partial form template
Posted by Christian Edward Gruber <cg...@israfil.net>.
Why can't you use it as a component? This feels like a component to me.
Christian.
On 22-Oct-07, at 10:37 AM, Angelo Chen wrote:
>
> Hi,
>
> I have this template:
>
> <div xmlns:t="...">
> <<input t:type="textfield" t:id="address1" />
> </div>
>
> it can be used as component like this:
>
> <t:form>
> <t:mycomponent>
> </t:form>
>
> but if I use it as page template, it can not be rendered at run
> time, I have
> to surround it with <t:form></t:form>. Is there a way that a page
> containing
> some form fields can be obtained during run time and insert into a
> form to
> be part of the UI? Thanks,
>
> A.C.
> --
> View this message in context: http://www.nabble.com/T5%3A-partial-form-template-tf4670558.html#a13342337
> 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
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org