Update of /cvsroot/xdoclet/xdoclet/modules/apache/src/xdoclet/modules/apache/struts/resources In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4439
Modified Files: struts_form.xdt Log Message: Reset Boolean fields with the reference type instead of the primitive. Fixes XDT-1368. Index: struts_form.xdt =================================================================== RCS file: /cvsroot/xdoclet/xdoclet/modules/apache/src/xdoclet/modules/apache/struts/resources/struts_form.xdt,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -r1.4 -r1.5 *** struts_form.xdt 2 Jun 2005 14:13:43 -0000 1.4 --- struts_form.xdt 10 Aug 2005 19:32:34 -0000 1.5 *************** *** 77,83 **** // reset any boolean data types to false <XDtActionForm:forAllFormFields> ! <XDtType:ifIsOfType value="return-type" type="java.lang.Boolean,boolean" extent="concrete-type"> this.<XDtMethod:propertyName/> = false; </XDtType:ifIsOfType> </XDtActionForm:forAllFormFields> } --- 77,86 ---- // reset any boolean data types to false <XDtActionForm:forAllFormFields> ! <XDtType:ifIsOfType value="return-type" type="boolean" extent="concrete-type"> this.<XDtMethod:propertyName/> = false; </XDtType:ifIsOfType> + <XDtType:ifIsOfType value="return-type" type="java.lang.Boolean" extent="concrete-type"> + this.<XDtMethod:propertyName/> = Boolean.FALSE; + </XDtType:ifIsOfType> </XDtActionForm:forAllFormFields> } ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ xdoclet-devel mailing list xdoclet-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-devel