Hi,
i usually do this by get the parameters in master page direct link's
listener and pass it to detail page.first you must set the parameters you
want to pass to detail page in your direct link component using parameters
attribute.
here is an example
in tap 3:
public void linkListener(IRequestCycle cycle){
Object[] params = cycle.getServiceParameters();
DetailPage page = (DetailPage)cycle.getPage("DetailPage");
page.setParam(params[0]);//set parameters needed
cycle.activate(page);
}
in tap 4:
maybe you would do this:
public void linkListener(IRequestCycle cycle){
Object[] params = cycle.getListenerParameters();//getServiceParameters()
is deprecated
DetailPage page = (DetailPage)cycle.getPage("DetailPage");
page.setParam(params[0]);//set parameters needed
cycle.activate(page);
}
hope it helps,
regards,
Gunna
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, December 13, 2005 10:09 PM
Subject: Use of parameter as property in the next page
> Hi,
>
> I'm setting up something of a master/detail system (2 pages)
> On the Master page i have a list of images with a DirectLink around them
> with jumps to a Detail page.
> In the Detail page I can see that it has a parameter called sp in the
> queryString with the correct parameter
>
> Is there a way to use that in my detail.page as value for a property or
> binding?
>
> Thanks in advance,
> Gertjan Assies
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]