You can do that by mapping the WicketFilter to the /* context and then mount
the pages with some url strategies (like IndexedParamUrlCodingStrategy). You
then don't need that /app/* and you can proxy the requests in a one-to-one.

Frank

On 7/2/07, Chris Lintz <[EMAIL PROTECTED]> wrote:


Hey all,
I have an interesting issue to solve.  I basically have 2
BookmarkablePageLinks on a home page.  I am reading 1.3 is all about
relative links.  This causes a problem for me because of this:

1)  The BookmarkablePageLinks appear as:
        www.somedomain.com/app/register
        www.somedomain.com/app/login

2)   I have an .htaccess file pushing URLs like
www.somedomain.com/username
to app/profileView/user/username (kinda like how myspace has
www.myspace.com/username).   This causes issues because when you land on
www.somedomain.com/username, all the BookmarkablePageLinks are relative so
the links above become:

        www.somedomain.com/register
        www.somedomain.com/login

This is obviously not right so my question is how can I have
BookmarkablePageLinks yet have some sort of control as an absolute path?
How can I get the functionality of BookmarkablePageLinks and always have
the
links render as www.somedomain.com/app/register and
www.somedomain.com/app/login

thanks for any help


c





--
View this message in context:
http://www.nabble.com/BookmarkablePageLink-relative-path-Dilemma-tf4014023.html#a11399090
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

-------------------------------------------------------------------------
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