Hi,
I am trying to set up properties based on a session style as follows:
- a default properties file called MyWebApplication.properties
- for each style a file called MyWebApplication_{style}.properties
and I set the style using getSession().setStyle( style )
This works, but there doesn't seem to be a fallback when a resource item
is missing in MyWebApplication_somestyle.properties, but it available in
the MyWebApplication.properties file. This means that I have to copy all
items from the MyWebApplication.properties to all
MyWebApplication_{style}.properties files and keep them updated. I'd
rather have only exceptions to the items in the
MyWebApplication_{style}.properties files.
I am new to Wicket so I am probably missing some obvious alternative,
but shouldn't there be a fallback for styles?
Regards,
Lennaert
--
Lennaert van der Linden
Func. Internet Integration
W http://www.func.nl
T +31 20 4230000
F +31 20 4223500
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user