Message: A new issue has been created in JIRA.
--------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1219 Here is an overview of the issue: --------------------------------------------------------------------- Key: XDT-1219 Summary: Generation of xml from multi nested objects (spring.validator) Type: Bug Status: Open Priority: Major Original Estimate: Unknown Time Spent: Unknown Remaining: Unknown Project: XDoclet Components: Spring Module Versions: 1.2.2 Assignee: xdoclet-devel (Use for new issues) Reporter: Troy McKinnon Created: Tue, 4 Jan 2005 12:01 AM Updated: Tue, 4 Jan 2005 12:01 AM Environment: Windows xp Description: Generation of validation.xml from multi nested objects is slightly incorrect. It always appends an extra '.' in the property attribute ('order..customer'). i.e. FORM.CHILD.SUBCHILD --> FORM..CHILD.SUBCHILD example: orderform.order.customer.firstname orderform has setOrder w/ @spring.validator (blank) order has setCustomer w/@spring.validator (blank) customer has setFirstname w/@spring.validator type="required" and I get: <form name="orderForm"> <field property="order..customer.firstName" depends="required"> <arg0 key="orderForm.order..customer.firstName"/> </field> <field property="order.status" depends="required"> <arg0 key="orderForm.order.status"/> </field> <field property="order.transactionId" depends="required,mask"> <msg name="required,mask" key="transactionId"/> <arg0 key="orderForm.order.transactionId"/> <var> <var-name>mask</var-name> <var-value>${transactionIdMask}</var-value> </var> </field> </form> I haven't tried it with deeper nesting. It works fine if I replace the '..' with '.' but being able to have it generate it correct would be preferred. --------------------------------------------------------------------- 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 ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ xdoclet-devel mailing list xdoclet-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-devel