struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lukasz Lenart <lukaszlen...@apache.org>
Subject Re: Upgrading Tiles plugin
Date Thu, 19 Nov 2015 09:46:59 GMT
2015-11-17 12:53 GMT+01:00 Lukasz Lenart <lukaszlenart@apache.org>:
> I'm working on upgrading Tiles plugin to use the latest Tiles 2.x
> version - 2.2.2 - and it looks like the only thing is to drop all the
> custom code from the plugin, just leave TilesResult.
>
> Tiles 2.2.2 contains support for FreeMarker (the Struts custom is
> doing that) plus few other features. I think the only thing would be
> writing a custom variable resolver to use Struts' ValueStack.
>
> Am I right?

After playing a bit with different options I think I will leave
existing StrutsTilesListener (for easier migration) but will add
dedicated factory to support wildcards, EL, OGNL and Freemarker - it
looks far reasonable than using Tiles' CompleteAutoloadTilesListener.
Also I will make it more extensible for future extensions.


Regards
-- 
Ɓukasz
+ 48 606 323 122 http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Mime
View raw message