struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cedric Dumoulin <cedric.dumou...@lifl.fr>
Subject Re: Tiles as a Plug-In
Date Tue, 23 Jul 2002 15:53:20 GMT

  It is true.
  I have updated the documentation in cvs, but jakarta site doesn't 
reflect it ;-(. I think that Jakarta site is not automatically updated. 
However, the documentation from struts-documentation.war should shows 
the new syntax:
 In each struts-config.xml:
  <plug-in className="org.apache.struts.tiles.TilesPlugin" >
    <set-property property="definitions-config"
                     value="/WEB-INF/tiles-defs.xml,
                            
/WEB-INF/tiles-tests-defs.xml,/WEB-INF/tiles-tutorial-defs.xml,
                            /WEB-INF/tiles-examples-defs.xml" />
    <set-property property="definitions-debug" value="1" />
    <set-property property="definitions-parser-details" value="0" />
    <set-property property="definitions-parser-validate" value="true" />
  </plug-in>

You can remove the ActionComponentServlet and the TilesRequestProcessor 
declaration. The old methods to enable Tiles still working for backward 
compatibilities.
Another modification is renaming tiles.tld to struts-tiles.tld. You will 
need to change the file name in all your files, or specify a mapping in 
the web.xml file:
  <taglib>
    <taglib-uri>/WEB-INF/tiles.tld</taglib-uri>
    <taglib-location>/WEB-INF/struts-tiles.tld</taglib-location>
  </taglib>


   Cedric

Matt Raible wrote:

>I'm trying to upgrade to last night's nightly build.
>
>In tiles-documentation.war (the only tiles webapp I saw) the following
>is no longer applicable:
>
><controller
>processorClass="org.apache.struts.tiles.TilesRequestProcessor"  />
>
>Is this true?
>
>Please confirm.
>
>Matt
>
>
>--
>To unsubscribe, e-mail:   <mailto:struts-dev-unsubscribe@jakarta.apache.org>
>For additional commands, e-mail: <mailto:struts-dev-help@jakarta.apache.org>
>
>  
>



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


Mime
View raw message