User: erikhatcher Date: 02/10/06 07:22:29 Modified: modules/apache/src/xdoclet/modules/apache/struts/resources validation_xml.xdt Log: fix for @struts.validator tags with some having msgkey, some not. seems a bit confusing, but at least this patch fixes the issue. Revision Changes Path 1.3 +58 -56 xdoclet/modules/apache/src/xdoclet/modules/apache/struts/resources/validation_xml.xdt Index: validation_xml.xdt =================================================================== RCS file: /cvsroot/xdoclet/xdoclet/modules/apache/src/xdoclet/modules/apache/struts/resources/validation_xml.xdt,v retrieving revision 1.2 retrieving revision 1.3 diff -u -w -r1.2 -r1.3 --- validation_xml.xdt 9 Sep 2002 23:32:55 -0000 1.2 +++ validation_xml.xdt 6 Oct 2002 14:22:29 -0000 1.3 @@ -21,11 +21,13 @@ <XDtValidator:forAllFields> <field property="<XDtValidator:fieldName/>" depends="<XDtValidator:validatorList/>"> + <XDtMethod:forAllMethodTags tagName="struts:validator"> <XDtMethod:ifHasMethodTag tagName="struts:validator" paramName="msgkey"> <msg name="<XDtMethod:methodTagValue tagName="struts:validator" paramName="type"/>" key="<XDtMethod:methodTagValue tagName="struts:validator" paramName="msgkey"/>"/> </XDtMethod:ifHasMethodTag> + </XDtMethod:forAllMethodTags> <XDtValidator:ifNoArg0> <arg0 key="<XDtClass:classTagValue tagName="struts:form" paramName="name"/>.<XDtValidator:fieldName/>"/>
------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Xdoclet-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-devel