struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cedric Dumoulin <cedric.dumou...@lifl.fr>
Subject Re: Not necessary to specify Tiles plugin in struts-config.xml?
Date Wed, 24 Jul 2002 12:35:50 GMT

  You are right. The initialization strategy is only needed if you use 
definitions from a centralized file. Otherwise, you don't need any 
initialization.
All of this is now explained in Struts pages:
http://jakarta.apache.org/struts/userGuide/dev_tiles.html

  Cedric

David M. Karr wrote:

>>>>>>"Cedric" == Cedric Dumoulin <cedric.dumoulin@lifl.fr> writes:
>>>>>>            
>>>>>>
>
>    Cedric>   Hi,
>
>    Cedric>   The prefer way to enable Tiles in Struts1.1 is now to specify the Tiles
>    Cedric> plugin in each struts-config. If you do that, you don't need to specify
the
>    Cedric> TilesRequestProcessor and the ActionComponentServlet.
>
>    Cedric>   For backward compatibility, the old methods to initialize Tiles still
working
>    Cedric> (i.e: ActionComponentServlet + TilesRequestProcessor). Using such methods
will
>    Cedric> generate some warning messages incitating you to use the new methods.
>
>Curious.  I'm not initializing Tiles in any way.  My JSP page uses a
>"tiles:insert" wrapping some "put"s with specified content, and my layout page
>uses "tiles:insert" and "tiles:getAsString" elements.  All of this works fine.
>I don't see any warnings.  Perhaps the initialization strategies are only
>necessary if you use definitions and definition references?
>
>  
>



--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message