struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Willis" <>
Subject Tiles PlugIn - invalid use of set-property
Date Tue, 27 Aug 2002 13:08:36 GMT

In the tiles-documentation example (version 1.3, dated 19 July 2002 --
-INF/struts-config.xml) the Tiles plug-in appears as follows:

<plug-in className="org.apache.struts.tiles.TilesPlugin">
  <set-property property="definitions-config"
/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" /> 

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?


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message