I don't believe it is. . .but it's on my todo list.

David

David Chisholm wrote:
To update this thread, the problem was that the Tiles shipped with Struts
2.0.6 uses the older Tiles DTD, and I was configuring my definitions with
the new DTD.  I upgraded to Tiles 2.0.3, and that fixed that problem.
However, the Tiles 2.0.3 ChainedTilesContextFactory#init() method is not
called by Struts 2.0.6 which in turn causes a null pointer exception in
ChainedTilesContextFactory#createApplicationObject() when accessing the
factories member.
In the end, I reverted to the previous Tiles DTD format and the Tiles
version shipped with Struts 2.0.6.
Does anyone know if the integration of the latest Struts2-Tiles-Plugin is
working with Tiles 2.0.3?
-- David
-----Original Message-----
From: Greg Reddin [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 01, 2007 2:43 PM
To: [email protected]; [EMAIL PROTECTED]
Subject: Re: Struts Tiles and Tiles 2 compatibility




On 5/1/07, David Chisholm <[EMAIL PROTECTED]> wrote:

I've following the definition parsing into the Digester, and it's not
assigning the attributes.  I think I have an old Digester version.  Is there
a minimum version required for Tiles 2?  I didn't see it mentioned anywhere.



All the POMs point to Digester version 1.8, but I don't know where we're
using any 1.8-specific features. It should be able to work with an older
version (depending on just how old you mean).


BTW, another aspect of configuration is that I've co-deployed Struts 1 and Struts 2, and I'm using Struts 2.0.6 with the version of Tiles 2 that is
distributed with it.


This could be the root of your problem.  Have you tried the latest (2.0.3)
version of Tiles? Can you post a part of your definitions so we can check
them against the API?
The JSP and XML APIs have experienced quite a bit of change (which should be
slowing down significantly now). It very well could be that you are using a
snapshot of Tiles that was produced in the middle of all that change.
Greg




Reply via email to