I want to create structural theme feature for my application, I tryied to use the theme feature of spring mvc but it's used to find a different css, so it only works on CSS based application theme.
Is there any system that can be used such as liferay theme (different war), which includes some html/jsp/assets/etc, which can be discovered on deployment ?
I had another idea but I don't think it's a good idea : changing the "prefix" property of my view resolver according to a base Path, which could be my current theme, but I didn't dig in this direction. I could extend the viewresolver to dynamically and change the prefix, on page request according to user selected theme. This could work only if prefix can handle url like this :
What do you think ? Any suggestions ?