Notice the difference: Martijn's call is to a bookmarkable page, and
mounted requests are always to that, while Marc's call provides a page
instance, for which Wicket will try to create a 'statefull'/ internal
request (to that exact page instance).

Eelco

On 6/5/07, Martijn Dashorst <[EMAIL PROTECTED]> wrote:
> http://wicket.sourceforge.net/apidocs/wicket/Component.html#urlFor(java.lang.Class,%20wicket.PageParameters)
>
> ?
>
> Martijn
>
> On 6/5/07, cram <[EMAIL PROTECTED]> wrote:
> >
> > I've got a mounted component (Page) that I'd like to get the path for.
> >
> > Ie, my class ErrorPage is mounted at /error
> >
> > forUrl(new ErrorPage()) , etc does not return /error
> >
> > Is there a way to do this?
> >
> > Thanks!
> >
> > --
> > View this message in context: 
> > http://www.nabble.com/Getting-a-mount-path-for-a-component--tf3873584.html#a10975461
> > Sent from the Wicket - User mailing list archive at Nabble.com.
> >
> >
> > -------------------------------------------------------------------------
> > 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
> >
>
>
> --
> Join the wicket community at irc.freenode.net: ##wicket
> Wicket 1.2.6 contains a very important fix. Download Wicket now!
> http://wicketframework.org
>
> -------------------------------------------------------------------------
> 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

Reply via email to