Re: Idiomatic way to reference shared images?

2009-10-22 Thread John Krasnay
On Thu, Oct 22, 2009 at 09:15:35AM +0200, Ceki Gulcu wrote: > Hi John, > > Thank you for your answer. I was already aware of the idiomatic way for > referencing packaged resources. It is a nice way for bundling images > which are used within a package. My question was about images shared > amon

Re: Idiomatic way to reference shared images?

2009-10-22 Thread Ceki Gulcu
Hi John, Thank you for your answer. I was already aware of the idiomatic way for referencing packaged resources. It is a nice way for bundling images which are used within a package. My question was about images shared among multiple packages. Igor VaynBerg suggested adding a ContextImage whi

Re: Idiomatic way to reference shared images?

2009-10-21 Thread John Krasnay
On Wed, Oct 21, 2009 at 07:57:12PM +0200, Ceki Gulcu wrote: > Hello, > > I am trying to defined shared images in a Wicket application. > > In my prokect, the image file "help.gif" is located under the > src/main/java/com/foo/ folder of my project. I have created an empty > class called Images. > >

Idiomatic way to reference shared images?

2009-10-21 Thread Ceki Gulcu
Hello, I am trying to defined shared images in a Wicket application. In my prokect, the image file "help.gif" is located under the src/main/java/com/foo/ folder of my project. I have created an empty class called Images. package com.foo; public class Images { } In the init() method of my web-a