mac, tomcat6, jdk5, struts2.1.2
Attached sample webapp showing exception. It is a struts2-blank with tiles 2.1.0 added.
Moved to Struts since it is a bug of the Struts 2/Tiles 2 plugin.
The StrutsTilesContainerFactory is not compatible with Tiles 2.1.x.
I haven't dug into this, but am curious if it is possible to modify StrutsTilesContainerFactory to work with both Tiles 2.0.x and Tiles 2.1.x?
It looks like Tiles 2.1.x is still in beta so I don't think we'd change the Struts code to only support that yet.
Extension developers (like in Struts 2) are heavily impacted by changes in Tiles 2.1, while users are not.
tiles 2.1.X is not beta.
is ready to use in production.
it supports wildcards on definitions a must have for tiles-plugins users
improvements in tiles 2.1:
Hasn't been any movement on this for awhile - I would create a patch myself but the renderer code is a little complicated (I tried!). Not sure who has contributed to yet to see if they could help. As mentioned in comment above this is a high valuable fix for a lot of tiles/struts users.
I don't see where this is planned in any release right now, is there a work around I can use in the time being?
Any help would be appreciated as I even don't know where to start
Thanks in advance
We use Struts 2 / Portlet 2 with tiles 2.0.6 since 2009 in a production environnement, if any examples can help.
Since 2009 we use :
Since 3 months we update our architecture to :
Thanks for reporting, I'll move that patches to 2.3.5 version then
do you want a sample application with that patches ? I can atatch it next week
Would be nice
I attached a sample application which shows how tiles 2.0.6 work with portlet 2 and struts 2.3.4.
This app has been tested in GateIn 3.3.0-GA with Tomcat 6.
I attach a patch based on SVN trunk and a sample application which validate that Portlet 2.0 works with Tiles Plugin
As I understand, the patch solves also the connected issues - WW-2749 and WW-2682 ?
The only problem I see is that right now Portlet plugins depends on Tiles plugin, which can be harmful for users which don't use Tiles :/
In fact, it solves also this issues (2749, 2682).
I can update this patch with all changes (java and xml) only in struts-tiles-plugin source code but, in this case, it will be Tiles plugin which will depend on Portlet plugin.
In addition, I will update struts2-portlet project with a tiles example.
or maybe create a new plugin - struts2-portlet-tiles and move the new result there ?
Ok for a new plugin.
I think it's not the good issue since I don't upgrade Tiles version (I'm still using version 2.0.6).
As you write in your comment, the target issues for this patch are https://issues.apache.org/jira/browse/WW-2749 and https://issues.apache.org/jira/browse/WW-2682 so I suggest you to move my comments, patchs and sample to WW-2749. What do you think about that ?
I think this issue can be closed as there is a new plugin which supports Tiles 3 right now.
New plugin was added to support Tiles 3