In our application we use Panels in different variations.
For example: Foot.html, Foot_withTextLinks.html, Foot_withImageLinks.html, 
Head.html, Head_error.html

Now we'd additionally like to use different styles.
For example on Valentine's Day all image links in our footer should be shown in 
pink. (Just as example to describe)
-> session.setStyle("Valentine");

We added File "Footer_withImageLinks_Valentine.html" and thought everthing is 
fine.
But once the style "Valentine" is set, the Markup "Head_error.html" is never 
used again, because Wicket is looking for "Head_error_Valentine.html".

Unfortunately wicket combines variant and style when looking for resources.
That's why the loading order is:
1. Head_error_Valentine.html  (= <name>_<variation>_<style>.html)
2. Head.html (= <name>.html)

Is there a way to change the loading order to:
1. Head_error_Valentine.html (= <name>_<variation>_<style>.html)
2. Head_error.html (= <name>_<variation>.html)
3. Head.html (= <name>.html)

Otherwise every variation must be defined for every style. That makes a lot of 
duplicate files.
Or did I get something wrong here?

Liz
-- 
Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: 
http://www.gmx.net/de/go/multimessenger

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to