Jeremy Thomerson wrote:
> I agree that relative URLs are good.  But, I have multiple (20+) sites
> set
> up running through a single Wicket application, and I am using Apache's
> ProxyPass to front-end all of them under their respective domains.  I
> use an
> absolute slash "/" because I actually want it to be absolute - not
> relative.  I do this for all static resources because I have it
> configured
> so that Apache does what it does best - serve static resources, and let
> Tomcat handle only the dynamic stuff.  This allows for maximum
> scalability.
>
> I think if someone uses an absolute slash - it should treat it as
> absolute.
> That is what the standard is anywhere else within a web app, console
> environment, you name it.  If you want relative to where you are, you
> leave
> the slash off.  If you want absolute, you use the slash.  With the bug I
> mention below, I have no way of forcing an absolute URL - Wicket takes
> that
> away from me and makes it where I would have to inject the actual domain
> into my application to be able to accomplish this.
>
> Any other input?
Yes, I agree.. I've yet to push any apps into full production, but will
be doing something similar..

It will also make things especially difficult since I can't do

mount("/", PackageName.forPackage(BasePage.class.getPackage()));

JIRA Issue: http://issues.apache.org/jira/browse/WICKET-551

If a path starts with / then it should work as is it does almost
everywhere else and be aboslute..

Just my quiet input..

./C

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