struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Willis" <bwil...@objectventure.com>
Subject Tiles PlugIn - invalid use of set-property
Date Tue, 27 Aug 2002 13:08:36 GMT
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:struts-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-dev-help@jakarta.apache.org>


Mime
View raw message