you cant.

the whole point of a bookmarkable page is that it can be created
without state (default constructor) or only from state encoded in the
url (page params constructor). that is what makes bookmarkable urls
possible.

-igor


On Jan 25, 2008 2:34 PM, mfs <[EMAIL PROTECTED]> wrote:
>
> So may be my question aint that clear enough..so i will put it in a better
> way..
>
> I have got a LoginPage with no Default or PageParameter constructor, I do
> have a public constructor with object/interface taken in as an argument(as
> below) ..
>
> public LoginPage(final ILoginPageHandler loginPageHandler)
>
> I mount this LoginPage as follows
>
> mount(new HybridUrlCodingStrategy("/myloginpage", LoginPage.class));
>
> Now when i browse this page the url does appear as specfied, but i want to
> have the link (to this page) show the same mount-ed url..now for
> bookmarkable-pages the same is done using BookmarkablePageLink i wonder how
> would it be done for pages which are not Bookmarkable.. ?
>
> Thanks in advance..
>
>
>
>
>
> mfs wrote:
> >
> > It is..thanks..
> >
> > But how to create link to these pages (i.e. the ones mounted through
> > HybridUrlCodingStrategy or rather not mounted through
> > bookmarkableURLCodingStrategy) such that the link on the status bar appear
> > the same as in the address-bar when the page is actually viewed...
> >
> > I know the same could be achieved for BookmarkablePages by creating a
> > bookmarkablePageLink..
> >
> >
> >
> >
> > Gerolf Seitz wrote:
> >>
> >> you might find HybridUrlCodingStrategy useful.
> >>
> >>   gerolf
> >>
> >> On Jan 23, 2008 2:32 AM, mfs <[EMAIL PROTECTED]> wrote:
> >>
> >>>
> >>> Guys,
> >>>
> >>> Was just reading about having nice-urls for pages through the use
> >>> mounting,
> >>> and was wondering if having nice-urls is just restricted to bookmarkable
> >>> pages, what about non-bookmarkable pages ?
> >>>
> >>> --
> >>> View this message in context:
> >>> http://www.nabble.com/About-NiceUrl%28s%29-Mounting---tp15033072p15033072.html
> >>> Sent from the Wicket - User mailing list archive at Nabble.com.
> >>>
> >>>
> >>> ---------------------------------------------------------------------
> >>> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>> For additional commands, e-mail: [EMAIL PROTECTED]
> >>>
> >>>
> >>
> >>
> >
> >
>
> --
> View this message in context: 
> http://www.nabble.com/About-NiceUrl%28s%29-Mounting---tp15033072p15098225.html
>
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> 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