The JSP portlet decorators always use:
If you have a decorator named "my-decorator", then the layout should check for a file named:
and if found, use that. Otherwise fall back to the default.
The following info came from Woonsan Ko (thanks!):
In the /jetspeed/WEB-INF/templates/layout/html/*/ folders, there are layout.jsp containing the some code fragments like the following:
String _tempPath = _frag.getDecoration().getBasePath();
String _portletJSP = _tempPath.substring(0,_tempPath.lastIndexOf('/')) +
I think you can modify the above as follows:
String _portletJSP = "/" + _frag.getDecoration().getResource("decorator.jsp");
This works well.