Page remembers the original page parameters with which it has been
created. So when you use PageLink (with an existing page instance) the
parameters will be there.

If you want to change the parameters you can try Page#getPageParameters().

-Matej

On Fri, Aug 1, 2008 at 10:46 AM, Martijn Dashorst
<[EMAIL PROTECTED]> wrote:
> you have to encode the necessary state yourself into the page
> parameters. There is no way for Wicket to be able how to serialize the
> state in the URL in some magic way.
>
> Martijn
>
> On Fri, Aug 1, 2008 at 9:41 AM, Uwe Schäfer <[EMAIL PROTECTED]> wrote:
>> Matej Knopp schrieb:
>>
>> hi matej
>>
>>> mount the page using HybridUrlCodingStrategy.
>>
>> i already did.
>>
>>> The url for page instance (you can use PageLink for that) will than look
>>> like /foo/document/21.5 (where .5 denotes page instance). Note that
>>> such url *is* bookmarkable, the page instance number doesn't matter.
>>
>> when navigating on the page, everything works like expected when coming with
>> a bookmarkablepagelink, adding the parameter document=21.
>>
>> but, how to get the parameters AND the state in the link ?
>>
>> what i see is pagelink, that does not help me using parameters and
>> bookmarablepagelink that does not give me the opportunity to add state.
>>
>> i suppose what i´d need is a constructor like
>> BookmarkablePageLink(String id, Page page, PageParameters parameters) ?
>>
>> cu uwe
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
>
>
> --
> Become a Wicket expert, learn from the best: http://wicketinaction.com
> Apache Wicket 1.3.4 is released
> Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.
>
> ---------------------------------------------------------------------
> 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]

Reply via email to