Thing is, that page parameters are really meant to be used for
bookmarkable pages. If you override PageLink with an annonymous class,
and provide your own linksTo implementation, you're all set right?. Or
if you want, you can create your custom PageLink class that has the page
parameters arg.
Eelco
Gili wrote:
I wanted to override "boolean Link.linksTo(Page p)" so it compares
the PageParameters of the page versus those associated with the
Link... but I found out you cannot getParameters() on Page.
Am I doing something Wicket isn't designed for? Am I looking in
the wrong place?
Gili
Gili wrote:
Looking at the implementation of PageLink, maybe we should be
adding a new constructor that takes in a PageParameters argument and
uses it when lazily-constructing the page? Can I open a RFE for this?
Gili
Gili wrote:
> Hi,
>
> I feel silly asking this... Say I have pages A and B. There
are links from page A to B. Page A is passed an imageID by its
PageParameters. I want Wicket to pass specific parameters when one
clicks on the links to Page B.
>
> That is, how do I control what parameters are passed to page B
when one clicks on the links to it? PageLink only takes the Page
class, no arguments as far as I can tell.
>
> Let me know.
>
> Thanks,
> Gili
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September
19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop