Re: Proper way to embed image URL into style attribute?

2010-02-24 Thread Igor Vaynberg
problem is you calculate the path once at creation time, but the page can be accessed from multiple urls so you need to calculate the path on every render. AttributeModifier mod = new AttributeModifier(style, true, new AbstractReadOnlyModelString() { public String getObject() { String

Proper way to embed image URL into style attribute?

2010-02-23 Thread Sergey Olefir
Hi, we are currently developing our first application with Wicket -- and naturally we run into some problems/questions :) One of the' frameworkish' things we've done is to create 'base page' that we want to be able switch the look feel (theme) depending on the settings (e.g. depending on