You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Fabrice BLANQUART <fb...@covefi.com> on 2002/12/20 18:01:31 UTC
[Tiles] Last Nightbuild
Hi,
I get the last night build in order to test the "ModuleAware" part of
tiles.
But I have problem using the TilesRequestProcessor when I switch form one
module to another. It seems that it can't find my tiles name in the
definitionFactory.
In debug , I discover that the Moduleconfig was switched but not the
definition factory.
In the initDefinitionsMapping() of the TilesRequestProcessor, it call
"definitionsFactory =
DefinitionsUtil.getDefinitionsFactory(getServletContext());"
wich seems to be deprecated and to not be moduleAware.
Do i have to replace it with
TilesUtil#createDefinitionsFactory(ServletContext,
DefinitionsFactoryConfig) ?
--
Fabrice BLANQUART
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: [Tiles] Last Nightbuild
Posted by Cedric Dumoulin <ce...@apache.org>.
Hi,
The initialization of the TilesPlugin and TilesRequestProcessor has
just been modified. It should solve your problem. The modification will
be available in the next nightly build.
Cedric
Fabrice BLANQUART wrote:
> Hi,
>
> I get the last night build in order to test the "ModuleAware" part of
> tiles.
> But I have problem using the TilesRequestProcessor when I switch form
> one module to another. It seems that it can't find my tiles name in the
> definitionFactory.
>
> In debug , I discover that the Moduleconfig was switched but not the
> definition factory.
>
> In the initDefinitionsMapping() of the TilesRequestProcessor, it call
> "definitionsFactory =
> DefinitionsUtil.getDefinitionsFactory(getServletContext());"
> wich seems to be deprecated and to not be moduleAware.
>
> Do i have to replace it with
> TilesUtil#createDefinitionsFactory(ServletContext,
> DefinitionsFactoryConfig) ?
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>