In my understanding, there should be no way. Events can only be listened in itself or its parents.
DH ----- Original Message ----- From: "CG" <learn....@gmail.com> To: <users@tapestry.apache.org> Sent: Monday, May 04, 2009 11:57 PM Subject: Re: [T5] How to listen/trigger event in componentA from component B ? Hi , anybody can give some hints? thanks CG On Sat, May 2, 2009 at 1:39 AM, CG <learn....@gmail.com> wrote: > Hi all, > I have been using T5 in my project for 1 year , and thanks for the > great framework. I am neither an expert in Tapestry nor Java, > therefore, would like to seek some help from all of you to assist on > my problem . > > By checking the Grid source code , I know that TriggerEvent can used > to trigger event from a component to it's container component. > Nevertheless, I would like to know whether in T5 , we can do the same > thing between 2 components that in the same container. > > To be more specific, I have a Toolbar component, and another component > which contain several fields (named as component X) in the same page, > when user click on an icon in toolbar , I would like the component X > do some action , for example, refresh the fields , submit or etc. > > How should I code to archive that ? Which function/API should I use , > any source code that I can refer to ? > > > Thanks in advanced for any hints or guidance . > > Cheers :) > CG > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org