Check the "TriggerFragment" mixin source code. You can make a similar mixin
to do the same that it does but for multiple components. I'm not sure how
to accept an array of components as a parameter mixin though.

There still may be an easier way but I thought this might help a bit. I'd
like to know if this works for you please :)


On Fri, Nov 9, 2012 at 10:09 PM, membersound <memberso...@web.de> wrote:

> <t:checkbox t:mixins="triggerfragment" fragment="fragOne, fragTwo" />
>
> Can I somehow trigger to formfragments with one component?
> My goal is to swap two fragments on a checkbox click, where one is
> initially
> shown, and on checkbox click it is hidden an another one is shown. But as I
> cannot assign the same t:id to two fragments, how can I trigger two
> fragment-id's at once?
>
> thanks
>
>
>
> --
> View this message in context:
> http://tapestry.1045711.n5.nabble.com/Trigger-multiple-fragments-from-one-event-tp5717895.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
>
>

Reply via email to