Thanks Donf and Otho, my two menu components work like a charm. I used
the MultiZoneUpdate method. I now have a very interactive menu system !
-Original Message-
From: donf yang [mailto:donf.y...@gmail.com]
Sent: Thursday, June 11, 2009 3:31 PM
To: Tapestry users
Subject: Re: Two Menu
On Wed, Jun 17, 2009 at 3:35 AM, Eldred Mullany
wrote:
> Hi Guys
Hi!
> No problem, thanks Otho and donf yang for helping a newbie at Tapestry.
> Am still trying get my head around how to pass data between components
> (not same as pages) ie how to pass data from one component to another.
Take
et me be more precise:
>
> If I use the @Component annotation then my second menu component it has
> be nested inside first
> there you can pass a string to submenu provided that its enclosed inside
> MainMenu component, however would not work if my two menu components sit
>
menu component it has
be nested inside first
there you can pass a string to submenu provided that its enclosed inside
MainMenu component, however would not work if my two menu components sit
independently from each other inside my Layout component. Apologies is I
did not explain myself clearly
ng a serviceID ?
>
> Using T5 5.1.0.5
>
> How do I provide a serviceID to ComponentResourcesInjectionProvider ?
>
> Thank you
>
> -Original Message-
> From: Otho [mailto:taa...@googlemail.com]
> Sent: Thursday, June 11, 2009 3:33 PM
> To: Tapestry users
> Su
?
Thank you
-Original Message-
From: Otho [mailto:taa...@googlemail.com]
Sent: Thursday, June 11, 2009 3:33 PM
To: Tapestry users
Subject: Re: Two Menu Components
Create an eventhandler in your MainMenu component which fires on select
and
gives the selected menuitem as context.
For example
deMenu.tml
Whatver has to be done
2009/6/11 Eldred Mullany
> Hi All
>
>
>
> I need some advice on how to get two menu components to talk to each
> other. The fist component is a top menu with a whole lot of links, when
> an action link is fired(from the first menu componen
>
> There are 2 ways to refresh your menus:
> 1. return MyMenu to refresh the whole things of your menu component
> 2. return content block of your submenu, and you can return a
> MultiZoneUpdate anyway.
> On Thu, Jun 11, 2009 at 8:26 PM, Eldred Mullany <
> eldred.mull...@eas
n Thu, Jun 11, 2009 at 8:26 PM, Eldred Mullany <
eldred.mull...@easypay.co.za> wrote:
> Hi All
>
>
>
> I need some advice on how to get two menu components to talk to each
> other. The fist component is a top menu with a whole lot of links, when
> an action link is fired(fr
Hi All
I need some advice on how to get two menu components to talk to each
other. The fist component is a top menu with a whole lot of links, when
an action link is fired(from the first menu component) I want to pass a
parameter string to the second component (sub-menu) which will render
10 matches
Mail list logo