Changeset 4243
- Timestamp:
- 01/09/14 16:21:40 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vlo/branches/to-wicket-1.6/vlo_web_app/src/main/java/eu/clarin/cmdi/vlo/VloWebApplication.java
r4240 r4243 57 57 // no theme choosen, keep the current one 58 58 } else { 59 final String themeName = object.toString(); 59 60 // check if the users requests a different theme 60 if ( object.toString().matches(((VloSession) Session.get()).getCurrentTheme().name)) {61 if (themeName.matches(((VloSession) Session.get()).getCurrentTheme().name)) { 61 62 // current theme requested, nothing to do 62 63 } else { 63 64 // different theme requested, compose it 64 VloSession.get().setCurrentTheme(new Theme( object.toString()));65 VloSession.get().setCurrentTheme(new Theme(themeName)); 65 66 // remember the theme as a vlo session page parameter 66 67 PageParameters params = new PageParameters();
Note: See TracChangeset
for help on using the changeset viewer.