Validators are tied to their action when defined in
ActionName-Validation.xml files right?
So, why not generate these files from javadoc comments in the code?
I'm only familiar with them as they are defined/explained in the JOSP
book.
If I'm not mistake XDoclet already supports struts
down
in model classes. We have different validations for data entry vs. batch
loading, for instance.
-Original Message-
From: Robert Nicholson [mailto:[EMAIL PROTECTED]
Sent: Monday, December 01, 2003 2:10 AM
To: [EMAIL PROTECTED]
Subject: Re: [OS-webwork] XDoclet and XWork
]
Sent: Monday, December 01, 2003 2:10 AM
To: [EMAIL PROTECTED]
Subject: Re: [OS-webwork] XDoclet and XWork validators
Validators are tied to their action when defined in
ActionName-Validation.xml files right?
So, why not generate these files from javadoc comments in the code?
I'm only familiar
12:00 PM
To: [EMAIL PROTECTED]
Subject: Re: [OS-webwork] XDoclet and XWork validators
So you mean you have different .xml files used in each context?
On Dec 1, 2003, at 10:22 AM, Jason Carreira wrote:
What Hani is saying is that the purpose of external validation
metadata
Nicholson [mailto:[EMAIL PROTECTED]
Sent: Sunday, November 30, 2003 7:42 PM
To: [EMAIL PROTECTED]
Subject: [OS-webwork] XDoclet and XWork validators
Can XDoclet currently generate these from javadoc comments in your
action?
I don't see any references to doing this in the JOSP book
I'm missing something here
so you want external validators, specified in an external xml
configuration file...and you want to generate this file by adding
javadoc comments to the source file that needs the validation, thus
putting in validation code right alongside the code that needs it,
PROTECTED]
Subject: [OS-webwork] XDoclet and XWork validators
Can XDoclet currently generate these from javadoc comments in your
action?
I don't see any references to doing this in the JOSP book.
---
This SF.net email is sponsored by: SF.net