Glen,

It works.  It also brings the correct commons-digester, where as 2.1.4 uses
1.6 whist 2.0.6 uses 1.8.

Just remember to clear out the pre-compiled JSP's from the webapp work
directory.

Cheers Greg.


On 6 April 2013 20:34, Glen Mazza <[email protected]> wrote:

> As long as you're willing to confirm the software works with 2.0.6, go
> ahead and revert it to that older version.  There apparently is some value
> in remaining with the default (or, as you say, correct) version of Tiles
> defined with the Struts version we're using: http://stackoverflow.com/**
> questions/2191009/struts2-**with-tiles-2-1-or-2-2<http://stackoverflow.com/questions/2191009/struts2-with-tiles-2-1-or-2-2>.
> Also, <http://stackoverflow.com/**questions/2191009/struts2-**
> with-tiles-2-1-or-2-2<http://stackoverflow.com/questions/2191009/struts2-with-tiles-2-1-or-2-2>
> >**apparently Tiles 3 will be supported in the upcoming 2.3.9 version of
> Struts 2: http://stackoverflow.com/**questions/13337938/how-to-**
> integrate-struts-2-with-tiles-**3<http://stackoverflow.com/questions/13337938/how-to-integrate-struts-2-with-tiles-3>
> .
>
> Glen
>
> On 04/06/2013 02:43 PM, Greg Huber wrote:
>
>> Glen,
>>
>> Reverting to the correct version 2.0.6, just needs clearing out the
>> compiled jsp's from the webapp work directory, as there is a tag
>> attributed
>> not supported in 2.0.6.
>>
>> Cheers Greg.
>>
>>
>> On 5 April 2013 17:44, Glen Mazza <[email protected]> wrote:
>>
>>  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_****<http://svn.apache.org/viewvc/**struts/struts2/tags/STRUTS_2_**>
>>> 3_8/pom.xml?revision=1422545&****view=markup<http://svn.**
>>> apache.org/viewvc/struts/**struts2/tags/STRUTS_2_3_8/pom.**
>>> xml?revision=1422545&view=**markup<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/****<http://svn.apache.org/viewvc/**>
>>> roller/trunk/pom.xml?r1=****915340&r2=917207&pathrev=****
>>> 917207&diff_format=h<http://**svn.apache.org/viewvc/roller/**
>>> trunk/pom.xml?r1=915340&r2=**917207&pathrev=917207&diff_**format=h<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 <[email protected]> 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