Re: Invoke a page listener from a component template

2007-04-18 Thread Markus Kramer
Great! ognl:page.listeners.doClick did the job. I wasn't aware that you could also use a ognl expression instead of a listener expression. Injecting an ASO into a component worked as well. Somehow I thought this wasn't possible. Thanks for the quick help. Bye Markus 2007/4/19, Ben Dotte <[EMA

Re: Invoke a page listener from a component template

2007-04-18 Thread Andreas Andreou
essage- From: Ben Dotte [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 18, 2007 5:28 PM To: Tapestry users Subject: RE: Invoke a page listener from a component template Hi Markus, Is there any reason you can't inject the ASO into your component class? @InjectState("nameofASO")

RE: Invoke a page listener from a component template

2007-04-18 Thread Ben Dotte
Sorry, I meant ognl:page.listeners.doClick -Original Message- From: Ben Dotte [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 18, 2007 5:28 PM To: Tapestry users Subject: RE: Invoke a page listener from a component template Hi Markus, Is there any reason you can't inject the ASO

RE: Invoke a page listener from a component template

2007-04-18 Thread Ben Dotte
Hi Markus, Is there any reason you can't inject the ASO into your component class? @InjectState("nameofASO") public abstract MyASO getMyASO(); Otherwise if you really want to access the listener on the page I wonder if listener:page.listeners.doClick would work instead. HTH Ben -Original