Have you tried with ContextImage?
Hi - I would like to link to a static image, and the link should be
stateless.
I have tried this (using Scala):
val img = new Image("img", new ContextRelativeResource("images/img" + imgId
+ ".png"))
But the link becomes stateful.
I just found
val img = new Image("img", new UrlResourceReference(new Url(listOfStrings,
Charset.defaultCharset())))
Is the last example the preferred way of achieving this?
Thanks in advance,
René
--
Andrea Del Bene
Abaco Informatica S.r.l.
Via Montegrappa, 3
61121 Pesaro (IT)
Tel. +39 0721 35425 Fax. +39 0721 32967
P.IVA 00933130411
Associato AssoProvider
CISCO Systems Partner PREMIER Certified
ABANET is associated to RIPE (AS 12468)
Http://www.abanet.it
Questa é una email privata ad uso confidenziale; é proibito ogni uso non
autorizzato.
This message is confidential; any unauthorised use is forbidden.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org