The problem is at $2 in web.components.PageHeaderComponent$2
This is an inner anonymous class which name may vary.
Just use a stable class name and make sure the resource is next to the
.class file.

On Wed, Mar 7, 2012 at 5:34 PM, grazia <grazia.russolass...@gmail.com> wrote:
> Thank you Martin.
> I think it is an issue of absolutePath.
>
> In
>  private final ResourceReference mouseOverMenuCss = new
> CssResourceReference(getClass(),
>
> "/css/mouseovermenu.css");
>
> the PackageResource.exists(scope, path, locale, style, variation)
> will try to find my css reousrce in the path of the
> PageHeaderComponentClass, which is not where my css is.
>
>
>
> --
> View this message in context: 
> http://apache-wicket.1842946.n4.nabble.com/ResourceReferenceRegistry-tp4453457p4453566.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

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

Reply via email to