Ad 1) Wrap it in a component
Ad 2) I'm not sure, but my guess would be that you can supply extra
stuff as a block

-- 
Chris

On Wed, Nov 21, 2012 at 10:37 PM, membersound <memberso...@web.de> wrote:
> 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?
> 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)?
>
> It is similar to this:
>
> <t:form>
> <div class="t-beaneditor">
> <t:beaneditor object="myObj" >
> <div class="t-beaneditor-row">
>
>  <t:label for="checkbox">
>  <t:checkbox t:id="checkbox" t:mixings="frag1" />
> </div>
> <t:formfragment t:id="frag1 />
> </t:beaneditor>
>
>
> Could someone help?`
> Thanks!
>
>
>
>
>
> --
> View this message in context: 
> http://tapestry.1045711.n5.nabble.com/How-to-reuse-a-form-tp5718166.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>

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

Reply via email to