Hello i try urlFor(final String pageMapName, final Class pageClass, finalPageParameters parameters)
but i get a url like /servlet-name/app?param1=1 instead of htpp://localhost:8080/servlet-name/app?param1=1 In my code i call this method from a ListView populateItem method getPage().urlFor((String)null,MyPageClas.class,params); is this the way to do the things or i make same mistake On 9/25/05, Johan Compagner <[EMAIL PROTECTED]> wrote: > yes because then you have the method: > urlFor(final String pageMapName, final Class pageClass, final > PageParameters parameters) > > but you need to be in a request (You need to have a RequestCycle) > So still don't know what you are trying to do. > > > > On 9/25/05, pepone pepone <[EMAIL PROTECTED]> wrote: > > > > And can be done in a subclas of Page? > > > > On 9/24/05, Johan Compagner <[EMAIL PROTECTED]> wrote: > > > i think the problem is that you don't have all the variables in the > > > application class > > > if you are not in a request (so at startup) > > > Because what is youre context? > > > I would lazy make that url > > > > > > > > > On 9/24/05, pepone pepone < [EMAIL PROTECTED]> wrote: > > > > I want a String with the url of a bookmarkable page with a set of > > > parameters > > > > > > > > i think in same thing like > > > > > > > > String getBookmarkableUrl( MyPage.class,parameters); > > > > > > > > > > > > > > > > On 9/24/05, Johan Compagner < [EMAIL PROTECTED]> wrote: > > > > > what do you mean exactly? > > > > > A link to a bookmarkable page? > > > > > At what time is there a session? > > > > > > > > > > > > > > > On 9/24/05, pepone pepone < [EMAIL PROTECTED]> wrote: > > > > > > > > > > > > Hello i need a way to create a page url from my Application class > > > > > > is this posible in wicket > > > > > > > > > > > > thanks > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > > SF.Net email is sponsored by: > > > > > > Tame your development challenges with Apache's Geronimo App > Server. > > > > > Download > > > > > > it for free - -and be entered to win a 42" plasma tv or your very > own > > > > > > Sony(tm)PSP. Click here to play: > > > > > http://sourceforge.net/geronimo.php > > > > > > _______________________________________________ > > > > > > Wicket-user mailing list > > > > > > Wicket-user@lists.sourceforge.net > > > > > > > > > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > SF.Net email is sponsored by: > > > > Tame your development challenges with Apache's Geronimo App Server. > > > Download > > > > it for free - -and be entered to win a 42" plasma tv or your very own > > > > Sony(tm)PSP. Click here to play: > > > http://sourceforge.net/geronimo.php > > > > _______________________________________________ > > > > Wicket-user mailing list > > > > Wicket-user@lists.sourceforge.net > > > > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > > > > > > > > > > > > > ------------------------------------------------------- > > SF.Net email is sponsored by: > > Tame your development challenges with Apache's Geronimo App Server. > Download > > it for free - -and be entered to win a 42" plasma tv or your very own > > Sony(tm)PSP. Click here to play: > http://sourceforge.net/geronimo.php > > _______________________________________________ > > Wicket-user mailing list > > Wicket-user@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user