Hi Anton, you need custom Resource or ResourceReference to load the image. See org.apache.wicket.markup.html.image.Image.Image(String, ResourceReference) org.apache.wicket.markup.html.image.Image.Image(String, Resource) and different implementations of org.apache.wicket.markup.html.image.resource.DynamicImageResource
On Tue, Dec 28, 2010 at 7:16 PM, Anton Bessonov <[email protected]>wrote: > Hi Andrea, > > thanks for your reply, but this is'nt exactly what I want. ContextImage > generate stateless path, also not binded to session. What I need is cryptic > path such as for Link-Component. > > Best regards, > > Anton > > add(new ContextImage("icon", "images/imageFileName.jpg")); >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
