On Wed, 21 Nov 2012 19:37:34 -0200, membersound <[email protected]> wrote:

Hi,

Hi!

I have a form that I want to reuse for another action of a page.
Q1) How can I define a t:form and just reuse the exact definitions without having to copy/paste the whole form all the time?

Put it inside a component, use this component anywhere you want. :)

Q2) How can I place an additional field (I require a dropdown t:select) into that form? Without having to copy/paste the whole form code again (which
would cause a lot of dublication)?

Block parameters. Check http://tapestry.apache.org/component-templates.html for <t:block> and the parameter namespace.

--
Thiago H. de Paula Figueiredo

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to