Re: GIcon URL

2010-12-20 Thread Jeremy Thomerson
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

Re: GIcon URL

2010-12-20 Thread Igor Racic
Hi, Thank you Jeremy, urlFor was missing ingredient. Regards, Igor 2010/12/20 Jeremy Thomerson jer...@wickettraining.com 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

GIcon URL

2010-12-19 Thread Igor Racic
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