OK, I indeed see that Tiles 2.0.6 is the default for Struts 2.3.8: http://svn.apache.org/viewvc/struts/struts2/tags/STRUTS_2_3_8/pom.xml?revision=1422545&view=markup, and it looks like we've been upgrading our Tiles versions away from the default for quite some time now: http://svn.apache.org/viewvc/roller/trunk/pom.xml?r1=915340&r2=917207&pathrev=917207&diff_format=h.

If there are bugs that would be fixed by reverting to it, that might be a good idea. But you're saying the opposite is the case, we are apparently now relying on 2.1.x functionality in our code that won't work with 2.0.6.

Unless we see otherwise, I wouldn't automatically assume Struts 2 is so fragile that it can't work with more recent versions of Tiles, and would hate to have to upgrade one just to take advantage of a more recent version of the other. Tiles was spun off as a separate project so there is already a loose linkage between the two. If a more recent version than the default is shown to work with Struts2 *and* it has functionality we want to use, there shouldn't be a problem in us using it.

Glen

On 04/05/2013 12:14 PM, Greg Huber wrote:
Glen,

Trying it out with version 2.0.6 it gives this error?

ERROR 2013-04-05 17:06:55,182 BasicTilesContainer:render - Error rendering
tile
org.apache.tiles.util.TilesIOException: ServletException including path
'/WEB-INF/jsps/tiles/tiles-tabbedpage.jsp'.
...
....

Caused by: javax.servlet.ServletException: java.lang.NoSuchMethodError:
org.apache.tiles.jsp.taglib.InsertAttributeTag.doFinally()V
     at
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:865)
     at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:794)
     at
org.apache.jsp.WEB_002dINF.jsps.tiles.tiles_002dtabbedpage_jsp._jspService(tiles_002dtabbedpage_jsp.java:178)

....

roller is pretty much standard, so it should work.

Cheers Greg.


On 5 April 2013 16:46, Glen Mazza <glen.ma...@gmail.com> wrote:

Why is 2.1.4 "non-standard"?  Checking the site, they're already up to
2.2.2 as GA: http://tiles.apache.org/

Glen

On 04/05/2013 11:42 AM, Greg Huber wrote:

Does any one know why roller uses a non standard version of tiles?

<dependency>
           <groupId>org.apache.tiles</**groupId>
           <artifactId>tiles-core</**artifactId>
           <version>2.1.4</version>
   </dependency>

It should be 2.0.6.  I remember looking at this before and it would not
work with this version???

Cheers Greg.



Reply via email to