Hi Martin,

thanks! DynamicImageResource does this!

Best Regards,

Anton

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<exe...@googlemail.com>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: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org




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

Reply via email to