Hi David, > In order to do change the title programmatically, you will need to > write your own Turbine Layout module, and put your dynamic info in the > context, then access it in your template like above
thanks for the hint ! That work's great ! Here is what I've done, if anyone is interested: - I copied org.apache.turbine.modules.layouts.VelocityDirectLayout to my.package.layouts.MyOwnLayout class - I put what I needed in the context - added module.packages=my.package to TurbineRessources.properties (without the layouts part !!!) - Also in TurbineRessources.properties I changed the default Layout to my custom Layout services.VelocityService.default.layout = MyOwnLayout - In templates/vm/layouts/html/default.vm I used the context content to populate the title that's it. Thanks again! Marco --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
