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é