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:[EMAIL PROTECTED]>
>For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>
>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>