Niall,
Thank you very much for your response. I'd seen many people asking this question, but no definitive answers. I appreciate your help, very much.
TR
Niall Pemberton wrote:
No Struts does not do javascript validation of indexed properties.
The createDynamicJavascript() method in JavascriptValidatorTag has the following code:
// Skip indexed fields for now until there is a good way to handle // error messages (and the length of the list (could retrieve from scope?)) if (field.isIndexed() || field.getPage() != page || !field.isDependency(va.getName())) { continue; }
If you're interested in working on a patch, that looks like the place to start.
Niall
----- Original Message ----- From: "Terry Roe" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, September 11, 2004 2:58 AM
Subject: JavaScript Validation of Indexed Properties
I guess my last post was too lengthy for anyone to read and respond to. Trying again...
Does Struts JavaScript validation work with indexed properties? If so, a pointer to an example would be appreciated. If not, confirmation that it's not supported would be appreciated.
TR
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]