Hi,

hmmm... do you mean that I should create a template for each site which has another title? I think that would be too much. I've got several pages which should get a title based on information
located in a database.

I thought that there will be a property in the action i have to set or can I access the
value-stack from the sitemesh-freemarker template?


Marc

[EMAIL PROTECTED] schrieb:
Hey Marc --

copy that FreeMarker template into your <webroot>/template folder and modify
it with your desired changes.  Struts 2 will grab yours for rendering.


On Fri, Mar 28, 2008 at 2:14 AM, me <[EMAIL PROTECTED]> wrote:

Hi,

I'm running struts2 with sitemesh. There is a freemarker template
defined in the decorators and this template
has both variables $title and $body. The body is filled autmatically
which is okay. But I want to set the title
from the action I've called because I wanted to have the content and the
title having a relation to each other
(which makes sense, I believe... :) )

Thanks for your help.

Marc

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to