Thanks. One further question regarding links and bookmarkable pages: When I
add following PageLink, will the resulting href always be not bookmarkable?
public class DownloadFile extends OurWebPage {
public DownloadFile(final PageParameters parameters) {
page.add(new PageLink("linkId", new IPageLink() {
private static final long serialVersionUID = 1L;
public Page getPage() {
...
return getPageFactory().newPage(getPageIdentity(), parameters);
}
public Class getPageIdentity() {
return DownloadFile.class;
}
}));
}
}
Tom
Johan Compagner wrote:
> that url that you get doesn't have anything to do with a page being
> versioned or not.
> that url you just get when you redirect to a page instance.
> if you want to keep that bookmarkable then use this constructor
>
> public RestartResponseAtInterceptPageException(final Class
> interceptPageClass)
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user