Re: [Wicket-user] Get page url from Application class

2005-09-26 Thread pepone pepone
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

Re: [Wicket-user] Get page url from Application class

2005-09-26 Thread Johan Compagner
That is right we don't generate http://hostname:port/ Why do you need it?On 9/26/05, pepone pepone [EMAIL PROTECTED] wrote: Helloi tryurlFor(final String pageMapName, final Class pageClass,finalPageParameters parameters)but i get a url like/servlet-name/app?param1=1instead of

Re: [Wicket-user] Get page url from Application class

2005-09-26 Thread pepone pepone
because i try to generate the url to my rss link element and i think that this url must be with hostname:port other use can be put the url in a labe to show where a link point On 9/26/05, Johan Compagner [EMAIL PROTECTED] wrote: That is right we don't generate http://hostname:port/ Why do you

Re: [Wicket-user] Get page url from Application class

2005-09-26 Thread Johan Compagner
then add another method that generates that full url to the url part you get of urlForOn 9/26/05, pepone pepone [EMAIL PROTECTED] wrote:because i try to generate the url to my rss link element and i think that this url must be with hostname:port other use can be put the urlin a labe to show where

Re: [Wicket-user] Get page url from Application class

2005-09-26 Thread pepone pepone
Ok i try it but i don´t know how to get this url part from my webpage i try to investigate more about this, any ideas or sugereneces are wellcome thanks for all On 9/26/05, Johan Compagner [EMAIL PROTECTED] wrote: then add another method that generates that full url to the url part you get of

Re: [Wicket-user] Get page url from Application class

2005-09-26 Thread Alexandru Popescu
#: pepone pepone changed the world a bit at a time by saying on 9/26/2005 5:09 PM :# Ok i try it but i don´t know how to get this url part from my webpage i try to investigate more about this, any ideas or sugereneces are wellcome The rest of informations can be extracted from a request

Re: [Wicket-user] Get page url from Application class

2005-09-25 Thread Johan Compagner
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

[Wicket-user] Get page url from Application class

2005-09-24 Thread pepone pepone
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

Re: [Wicket-user] Get page url from Application class

2005-09-24 Thread Johan Compagner
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 classis this posible in wicketthanks---SF.Net

Re: [Wicket-user] Get page url from Application class

2005-09-24 Thread pepone pepone
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

Re: [Wicket-user] Get page url from Application class

2005-09-24 Thread Johan Compagner
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

Re: [Wicket-user] Get page url from Application class

2005-09-24 Thread pepone pepone
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