The following comment has been added to this issue: Author: John Cullen Created: Mon, 25 Jul 2005 10:56 AM Body: I updated xdoclet/modules/apache/src/xdoclet/modules/apache/struts/resourcesvalidation_xml.xdt as follows:
<XDtValidator:ifNoArg0> <XDtMethod:forAllMethodTags tagName="struts.validator-arg"> <arg position="<XDtMethod:methodTagValue tagName="struts:validator-arg" paramName="position"/>" key="<XDtMethod:methodTagValue tagName="struts:validator-arg" paramName="key"/>" bundle="<XDtMethod:methodTagValue tagName="struts:validator-arg" paramName="bundle"/>" /> </XDtMethod:forAllMethodTags> </XDtValidator:ifNoArg0> --------------------------------------------------------------------- View this comment: http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1460?page=comments#action_17043 --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1460 Here is an overview of the issue: --------------------------------------------------------------------- Key: XDT-1460 Summary: strutsvalidationxml should be bundle aware Type: New Feature Status: Open Priority: Major Original Estimate: Unknown Time Spent: Unknown Remaining: Unknown Project: XDoclet Components: XDoclet Module Assignee: xdoclet-devel (Use for new issues) Reporter: John Cullen Created: Wed, 6 Jul 2005 8:19 AM Updated: Mon, 25 Jul 2005 10:56 AM Description: Struts 1.2.8 validation is now aware of multiple message resources i.e. We can specify which bundle to use when using a resource key >From http://jakarta.apache.org/commons/dtds/validator_1_2_0.dtd we can see >that we can specify bundle in an arg element. e.g. <field property="name" depends="required"> <msg name="required" key="errors.required"/> <arg0 bundle="myBundle" key="devices.name"/> </field> Has/can this be added to webdoclet's task of creating struts validation.xml? --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/xdoclet/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ xdoclet-devel mailing list xdoclet-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-devel