Re: [Xdoclet-devel] Generating validation for nested forms (was Xdoclet 1.2.2 release)

2004-09-25 Thread Matt Raible
Nick Heudecker wrote: Matt, That won't work for dynamic forms since I'm only dealing with POJOs. Do you know where the code lives that enforces the ValidatorForm requirement? Maybe I can hack that up a bit. It's at xdoclet\modules\apache\src\xdoclet\modules\apache\struts\StrutsValidatorTagsHan

Re: [Xdoclet-devel] Generating validation for nested forms (was Xdoclet 1.2.2 release)

2004-09-24 Thread Nick Heudecker
Matt, That won't work for dynamic forms since I'm only dealing with POJOs. Do you know where the code lives that enforces the ValidatorForm requirement? Maybe I can hack that up a bit. On Thu, 23 Sep 2004 03:58:11 -0600, Matt Raible <[EMAIL PROTECTED]> wrote: > Nick, > > I tested this out toni

[Xdoclet-devel] Generating validation for nested forms (was Xdoclet 1.2.2 release)

2004-09-23 Thread Matt Raible
Nick, I tested this out tonight and was able to successfully generated rules for a Form that has a get/set on a ParentForm. Here's how it works: 1. You have to put @struts.validator on the top-level setter. 2. The parameter that's set must extend ValidationForm or ValidatorActionForm. So if I

[Xdoclet-devel] Generating validation for nested forms (was Xdoclet 1.2.2 release)

2004-09-23 Thread Matt Raible
Nick, I tested this out tonight and was able to successfully generated rules for a Form that has a get/set on a ParentForm. Here's how it works: 1. You have to put @struts.validator on the top-level setter. 2. The parameter that's set must extend ValidationForm or ValidatorActionForm. So if I