Daniel wrote:
Henning is going to flip out when he sees this - you are breaking one of the two golden rules for using templates with Turbine - see: http://jakarta.apache.org/turbine/turbine-2.3/services/template-service.html (under the Usage heading).That should work... Try using: "/NewLayout.vm" ?
I personally don't set any layouts from actions, but looking at the JavaDoc I would say that in an action you should probably use:
data.setLayout("NewLayout.vm");The setLayoutTemplate() method is for changing the layout from within the template itself (i.e. within the vm file for the template whose layout you are changing).
Scott
-- Scott Eade Backstage Technologies Pty. Ltd. http://www.backstagetech.com.au
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
