>
> In WebMacroSiteScreen, the setTemplate() method allows one to change the
> template which will be evaluated. However, it does not change the
> associated layout template. This behaviour may not be what is actually
> expected. For exemple, let say you have the layouts:
>
> /layouts/default.wm
> /layouts/admin/default.wm
> /screens/Login.wm
> /screens/admin/Sample.wm
>
> If, you have a WebMacroScreen Login.java that makes a call to
> setTemplate("admin,Sample.wm"), the resulting page will be generated
> using /layouts/default.wm instead of /layouts/admin/default.wm.
>
> I have written some for my application that change this behaviour (I
> overidd setTemplate()). It may be usefull to include it in Turbine.
> Toughts ?
>
> Regis
+1
--
Scarab -
Java Servlet Based - Open Source
Bug/Issue Tracking System
<http://scarab.tigris.org/>
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]