Re: ResourceReference question

2009-04-21 Thread Eyal Golan
thanks. (just had to add this thanks post, as I haven't been around here for a while ...) Eyal Golan egola...@gmail.com Visit: http://jvdrums.sourceforge.net/ LinkedIn: http://www.linkedin.com/in/egolan74 P Save a tree. Please don't print this e-mail unless it's really necessary On Mon,

ResourceReference question

2009-04-20 Thread Eyal Golan
Hello, I've been looking for an answer but couldn't find it. We have a page that adds an image: add(new Image(iconImage, new Model(imageResourceReference))); The problem is with the ResourceReference. I found only one option for the location of the image file. The location should be next to a

Re: ResourceReference question

2009-04-20 Thread Richard Allen
I believe you want to use ContextRelativeResource. See: http://wicket.apache.org/docs/1.4/index.html?org/apache/wicket/resource/ContextRelativeResource.html On Mon, Apr 20, 2009 at 6:43 AM, Eyal Golan egola...@gmail.com wrote: Hello, I've been looking for an answer but couldn't find it. We

Re: ResourceReference question

2009-04-20 Thread Igor Vaynberg
and ContextImage -igor On Mon, Apr 20, 2009 at 5:21 AM, Richard Allen richard.l.al...@gmail.com wrote: I believe you want to use ContextRelativeResource. See: http://wicket.apache.org/docs/1.4/index.html?org/apache/wicket/resource/ContextRelativeResource.html On Mon, Apr 20, 2009 at 6:43