Robert Haycock <Robert.Haycock <at> mediasurface.com> writes:
> Problem is the parameters aren't passed to the new component. newwindow
> extends BasePage. newwindow has the following:
>
> > public void validate(IRequestCycle cycle)
>
> > {
>
> > Object[] params = cycle.getServiceParameters();
>
> Problem is that params is null. How can I create a link with parameters
> to stick in some javascript?
You should let your page implement IExternalPage and use the
"external" service to get the link. The "page" service doesn't
support parameters for the page.
--
Author of a book for learning Tapestry (http://www.agileskills2.org/EWDT)
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]