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
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
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
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
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
#: 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
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
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
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
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
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
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
12 matches
Mail list logo