tiles-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antonio <antonio.petre...@gmail.com>
Subject Re: neccessary stepts to use Struts 2+FreeMarker+Tiles2.1
Date Wed, 29 Oct 2008 12:29:55 GMT
2008/10/29 Stephan Schröder <simon.void@gmx.de>:
> Now the definition is found, but the simpleLayout.ftl isn't parsed by
> FreeMarker it's simply returned as it is:

See:
http://freemarker.org/docs/pgui_misc_servlet.html

> Is this caused by the listener class
> org.apache.tiles.web.startup.TilesListener?
> The  http://struts.apache.org/2.1.2/docs/tiles-plugin.html
> struts-tiles-plugin page  notes org.apache.struts2.tiles.StrutsTilesListener
> "provides tighter integration with Struts features such as freemarker
> integration".
> Now that the StrutsTilesListener is incompatible with Tile2.1 what can i do?

You might modify that code of StrutsTilesListener and, if you like,
post a patch to the Struts group. I think they might like it :-D (I
have commit privileges, so I could commit your patch).

Antonio

Mime
View raw message