Hi Antonio,
 
No I haven't.  Which leads me to my next question - in the tutorial on the 
Tiles website, it is mentioned that two classes - a DefinitionDAO and a 
DbTilesContainerFactory need to be implemented (which I have) for loading Tiles 
from a database.  Are you suggesting that I implement a custom 
DefinitionsFactory as well?  Or is the idea to set the existing 
LocaleDefinitionsFactory against the 
org.apache.tiles.definition.DefinitionsFactory
parameter?
 
As you may have noted, in my web.xml file, I have not set any explicit 
DefinitionsFactory (I didnt know one was required).
 
Thanks for your help!
Vibhore

--- On Mon, 5/4/09, Antonio Petrelli <[email protected]> wrote:


From: Antonio Petrelli <[email protected]>
Subject: Re: Support for reloading/refreshing Tile Definitions
To: [email protected]
Date: Monday, May 4, 2009, 8:19 PM


2009/5/4 Vibhore Anant <[email protected]>:
> It is rather difficult for me to extract out my implementation as it is 
> running on a 3rd party app framework.  Are there any other pointers you can 
> give me?  It just seems to me that the param 
> "org.apache.tiles.factory.AbstractTilesContainerFactory" is taking no 
> effect.  Should I be creating a custom LocaleDefinitionsFactory where I 
> explicitly call the setDefinitionDAO() method with the DAO that I wrote?
>
> What is the best place for to start debugging the Tiles implementation myself?

I think that the culprit is TilesContainerFactory.postCreationOperations.
In particular, did you set this parameter:
org.apache.tiles.definition.DefinitionsFactory
to your definitions factory implementation?

Ciao
Antonio



      

Reply via email to