tiles-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicolas Le Bas <m...@nlebas.net>
Subject Re: Upgrading Struts-Tiles
Date Fri, 27 Nov 2015 00:14:39 GMT
Hi Ɓukasz,

I didn't even know struts supported freemarker. Well, I'll admit I've 
not used struts in the past 10 years...

So... how do you register the struts tags with freemarker without tiles? 
I think it should work more or less the same.

Concerning how we do it for tiles: I don't remember how we did back in 
in tiles 2.2, it's probably similar to 3.0, which is awkwards. For 3.1 
I'm reworking it into just  registering a variable in freemarker's 
configuration object:


Hope this helps,

On 11/25/2015 06:19 AM, Lukasz Lenart wrote:
> Hi,
> I'm working on upgrading the Struts Tiles plugin to use the latest
> 2.2.2 Tiles version (the Struts Tiles 3 plugin will be next :).
> Everything almost works but I have one issue I cannot resolve.
> Basically I don't know how to add support for Struts tags in
> Freemarker templates.
> As far I understand, I must somehow register tag directive with
> Freemarker but I don't know how to do it with Tiles.
> Any hints?
> Thanks in advance

View raw message