> Thanks Eelco..so that means the image cant just be anywhere in the classpath,
> it has to be either 1) In the same directory as the page-component or 2) In
> the webapp folder in case of a war and can be accesed via ContextImage...

It can be arbitrary as long as you have a class relative to it you
reference (and ../ is not allowed, so only deeper).

> Secondly can you give me an example of how would i use a dummy class to
> refer/access an image resources in the same directory..

new ResourceReference(Foo.class, "some/subdir/relative/to/foo/Bar.css")

Eelco

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to