WebWork + SiteMesh using FreeMarker - available variables in decorators

Vítor Souza <[email protected]>
Newsgroups gmane.comp.web.sitemesh.general
Message-ID <30477540.1112822902630.JavaMail.os-j2ee@opensymphony01.contegix.com>
> In the FreeMarker template that is processed by the
> FreeMarker Result, this works: <#assign locale =
> Locale.getDefault() />, then ${locale}

Just complementing:

${req.getLocale()} also works in the pages processed by the Result, not in the Decorator, though.

Vítor Souza

---------------------------------------------------------------------
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=1355&messageID=4203#4203


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.