Re: DirectLink to a listener in a different page

2005-12-15 Thread Geoff Longman
Yes but all else unchanged the page containing the DirectLink will still be the page that renders after the listener fires. Unless, I guess, the page containing the listener throws a PageRedirectException to itself. G On 12/15/05, Ryan <[EMAIL PROTECTED]> wrote: > This is definitly possible, > >

Re: DirectLink to a listener in a different page

2005-12-15 Thread Ryan
This is definitly possible, Link text ryan On 12/12/05, Glen <[EMAIL PROTECTED]> wrote: > I have a parent detail view with a CustomerPage and an OrderPage. The > CustomerPage shows all the orders with a @DirectLink to view order > details in the OderPage that passes a single parm to a listener

Re: DirectLink to a listener in a different page

2005-12-13 Thread Ron Piterman
If thats the one passed to all tapestry listener/action parameters, than thats the one. Glen wrote: I don't see an IListener interface in tapestry 4.0 are you referring to the IActionListener interface? Ron Piterman wrote: what about implementing an IListener which does just that, and then

Re: DirectLink to a listener in a different page

2005-12-13 Thread Glen
I don't see an IListener interface in tapestry 4.0 are you referring to the IActionListener interface? Ron Piterman wrote: > what about implementing an IListener which does just that, and then > passing the directLink this listener, instead of a tapestry > proxy-to-a-method? > > Glen wrote:

Re: DirectLink to a listener in a different page

2005-12-12 Thread Ron Piterman
what about implementing an IListener which does just that, and then passing the directLink this listener, instead of a tapestry proxy-to-a-method? Glen wrote: I have a parent detail view with a CustomerPage and an OrderPage. The CustomerPage shows all the orders with a @DirectLink to view ord

Re: DirectLink to a listener in a different page

2005-12-12 Thread Paul Cantrell
People ask this question constantly (including me, when I started learning Tapestry). The short answer, as I understand it, is no. There are two ways to do what you want to do here: (1) Call the listener in CustomerPage, and have it return OrderPage. (2) Have OrderPage implement IExternalPage

DirectLink to a listener in a different page

2005-12-12 Thread Glen
I have a parent detail view with a CustomerPage and an OrderPage. The CustomerPage shows all the orders with a @DirectLink to view order details in the OderPage that passes a single parm to a listener in CustomerPage. The listener gets an OrderPage instance and sets the Order and returns the Orde