#: 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 object. See API.
./alex
--
.the_mindstorm.
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 urlFor
On 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 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 need it?
> >
> >
> > On 9/26/05, pepone pepone < [EMAIL PROTECTED]> wrote:
> > >
> > > 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
> > >
> >
> >
>
>
> -------------------------------------------------------
> 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