Have you tried new GIcon(urlFor(new ResourceReference(SomeClass.class, "path-to-img-relative-to-class.jpg")));
On Sun, Dec 19, 2010 at 4:41 AM, Igor Racic <igor.ra...@gmail.com> wrote: > Hi, > > That must be something simple. > GIcon (from GMap2) have constructor GIcon (String) which works OK when I put > URL of some external icon. > How to do it when Icon is inside wicket ? > I thought about resources but didn't come with something that works. > > > Thank you and regards, > Igor > -- Jeremy Thomerson http://wickettraining.com Need a CMS for Wicket? Use Brix! http://brixcms.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org