you only get that when the newBrowserWindow detection already did detect a new browser window and created an pagemap for you
If you just stayed in the first window then the pagemap wouldn't happen. You can turn the new browser window detection off in 1.2 so that you don't get those redirects But then pagemaps and back buttons can be a bit more tricky in 1.3 this is not a problem anymore johan On 10/25/07, Carl-Eric Menzel <[EMAIL PROTECTED]> wrote: > > Anybody know how to do this? I'm out of ideas right now. > > -------- Original Message -------- > Subject: BookmarkablePageLink in 1.2.6 - how to remove pagemap parameter > from URL? > Date: Mon, 22 Oct 2007 00:31:04 +0200 > From: Carl-Eric Menzel <[EMAIL PROTECTED]> > To: [email protected] > > Hi, > > in my application I mount a page like this: > mountBookmarkablePage("/view", ViewGallery.class); > > Then, on a page I try to make a bookmarkable page link like this: > final PageParameters pageParameters = new PageParameters(new HashMap() > { > { > put("gallery", galleryId); > } > }); > final BookmarkablePageLink viewLink = new > BookmarkablePageLink("viewLink", ViewGallery.class, > pageParameters); > add(viewLink); > > The URL it generates looks like this: > > /mywebapp/app/view/gallery/1/wicket:pageMapName/wicket-0 > > instead of > > /mywebapp/app/view/gallery/1 > > which is what I would expect. How can I get rid of this pageMapName > parameter? I have the feeling I'm missing something obvious, but I'm not > seeing it. > > I'm currently still using 1.2.6 and don't have the time budget to > upgrade to 1.3, unfortunately. > > Thanks for your help! > Carl-Eric > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
