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, and use ExternalLink
instead of DirectLink.
Others may have better advice.
Cheers,
Paul
On Dec 12, 2005, at 2:29 PM, 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 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 OrderPage instance. This works fine I am just
trying to do this with less plumbing...
Is it possible to have @DirectLink go directly to OrderPage without
having to call a listener in CustomerPage?
thanks,
Glen
PS I am using Tapestry 4 rc 1
_________________________________________________________________
Piano music podcast: http://inthehands.com
Other interesting stuff: http://innig.net
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]