Hi,

  Tiles plug-in accept both syntaxes: the one following bean convention 
(debugLevel), and the one with dash separation (definitions-debug). The 
dash separated syntax is left for backward compatibility. The bean 
convention syntax is not documented ;-(.
  Here is the correspondence:

    * definitions-parser-details   parserDebugLevel
    * definitions-parser-validate  parserValidate 
    * definitions-factory-class    factoryClassname
    * definitions-config           definitionConfigFiles
    * definitions-debug            debugLevel


  You can fill a bug report for the missing documentation if you wish, 
or better, join an attachment with appropriate documentation ;-)

   Cedric


Bill Willis wrote:

>Mornin'
>
>In the tiles-documentation example (version 1.3, dated 19 July 2002 --
>http://cvs.apache.org/viewcvs/jakarta-struts/web/tiles-documentation/WEB
>-INF/struts-config.xml) the Tiles plug-in appears as follows:
>
>
><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 will note that the property attribute of each set-property contains
>a dash ("-"), disqualifying it as a PropName, which "... is the name of
>a JavaBeans property, and must begin with a lower case letter and
>contain only characters that are legal in a Java identifier."
>
>Thus the set-property naming convention for the tiles plug-in appears to
>violate the terms of the Struts DTD. Should I file a bug report for
>Tiles or the Struts DTD on this one?
>
>Regards,
>Bill
>
>
>
>--
>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]>

Reply via email to