You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by "marko.jovicic" <ma...@gmail.com> on 2012/06/16 23:11:55 UTC
How to create Ajax subforms (recursive forms)?
Hi, I am new at Tapestry and I need guide lines to accomplish next scenario.
I have a form which is displayed on the first page access. After that I
would like to be able to add subform which is identical as previous (has the
same fields etc.) but it is a child of the first form. So, I want to be able
to add multiple subforms (of any form) and also to remove them. All child
forms must know what their parent form is. You might think of it like
recursive form type.
Thank you in advance.
Regards,
Marko Jovicic.
--
View this message in context: http://tapestry.1045711.n5.nabble.com/How-to-create-Ajax-subforms-recursive-forms-tp5713948.html
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: How to create Ajax subforms (recursive forms)?
Posted by Dusko Jovanovski <du...@gmail.com>.
Have you tried the AjaxFormLoop component? I think that you can accomplish
your scenario with it.
Here is a live demo from the jumpstart project:
http://jumpstart.doublenegative.com.au/jumpstart/examples/ajax/formloop1
And here is the documentation for the component:
http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/corelib/components/AjaxFormLoop.html
On Sat, Jun 16, 2012 at 11:11 PM, marko.jovicic <ma...@gmail.com>wrote:
> Hi, I am new at Tapestry and I need guide lines to accomplish next
> scenario.
> I have a form which is displayed on the first page access. After that I
> would like to be able to add subform which is identical as previous (has
> the
> same fields etc.) but it is a child of the first form. So, I want to be
> able
> to add multiple subforms (of any form) and also to remove them. All child
> forms must know what their parent form is. You might think of it like
> recursive form type.
>
> Thank you in advance.
> Regards,
> Marko Jovicic.
>
>
>
> --
> View this message in context:
> http://tapestry.1045711.n5.nabble.com/How-to-create-Ajax-subforms-recursive-forms-tp5713948.html
> 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
>
>