Hi!

I have a dynamic image which resides in
"http://www.mydomain.com/images/Image.png"; (the filename itself might
vary). In order for the image to be visible in downloaded documents,
the path must be absolute.

RequestUtils.toAbsolutePath("images/Imange.png"); works most of the
time, except in situations where the user is on a bookmarkable page
that has parameters:

http://www.mydomain.com/BookmarkablePage/Parameter1/Value1/Parameter2/Value2

In such situations the
RequestUtils.toAbsolutePath("images/Imange.png") returns:
"http://www.mydomain.com/BookmarkablePage/Parameter1/Value1/Parameter2/Image.png";

So it assumes the last parameter value was a page... is this a stupid
user bug or a real bug?

**
Martin

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

Reply via email to