Hi,
I want to show a system with different skins (per client), at 'load-time'..
Desired behavior:
Has this client a custom skin ? If (YES) load_it(); Else
load_the_default_skin();
I would be grateful if the SessionDecoratorMapper overrides the
ConfigDecoratorMapper, but its not happening (at least with my settings.. :)
)
How can I do it? I'm confused
MAPPERS:
<mapper class=
"com.opensymphony.module.sitemesh.mapper.SessionDecoratorMapper">
<param name="decorator.parameter" value="decorator" />
</mapper>
<mapper
class="com.opensymphony.module.sitemesh.mapper.ConfigDecoratorMapper">
<param name="config" value="${decorators-file}"/>
</mapper>
DECORATORS:
<decorator name="pmnh" page="pmnh/main.jsp">
<pattern>/*</pattern>
</decorator>
<decorator name="main" page="default/main.jsp">
<pattern>/*</pattern>
</decorator>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]