Hi,

https://issues.apache.org/jira/browse/WICKET-1974 describes a way to make all URLs absolute.

Unfortunately the patch attached to the issue is still not applied so you'll have to build wicket yourself.

Regards,
    Erik.


Op 18-06-10 21:56, b...@actrix.gen.nz schreef:
Hi Fernando,

obviously quite a few including yourself are separating markup from
Java packages to make it accessable to HTML developers.

How do you cope with the fact that Wicket markup, when rendered in any
folder without flattening the package structure, gets broken images?

That is what I am trying to address with

"Cannot substitute RelativePathPrefixHandler"
https://issues.apache.org/jira/browse/WICKET-2881

The three lines of Java code in RelativePathPrefixHandler are solving
this problem.

int lastIndex = attrValue.lastIndexOf("../");
if (lastIndex>= 0){
     attrValue = attrValue.substring(lastIndex + 3);
}

Regards,
Bernard


--
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to