Thanks Igor, I tinkered around a bit and the code I have now is:
mount("/project/view", new IndexedParamUrlCodingStrategy("/project/view", ProjectViewPage.class)); Is this correct, do I have to pass the mount path twice? cheers, Kees On 6/19/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > mount("/project", ProjectViewPage.class, new > IndexedParamUrlCodingStrategy()); > > then the url is /project/215 > > public projectviewpage(PageParameters params) { > this(params.getInteger("0")); > } > > -igor > > > > On 6/19/07, Kees de Kooter <[EMAIL PROTECTED]> wrote: > > > > I am migrating some parts of an existing webapp to Wicket. Therefore I > > need to call wicket pages from the legacy pages. > > > > I have a page object with this constructor: public > > ProjectViewPage(Integer projectId). > > > > What is the url for this page? > > > > > > -- > > Cheers, > > Kees de Kooter > > http://www.boplicity.net > > > > > ------------------------------------------------------------------------- > > 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 > > Wicket-user@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > > ------------------------------------------------------------------------- > 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 > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > > -- Cheers, Kees de Kooter http://www.boplicity.net ------------------------------------------------------------------------- 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 Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user