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
AbstractReadOnlyModel() {
public String getObject() {
String styling =
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 where/