Frank, will Ajax support be tied into reporting form errors? It would be interesting to break down the validator into individual validations, so errors can be reported to the user as he types.
Independent of Ajax, Niall Pemberton has done a substantial overhaul of commons-validator which will support per-field validation instead of only onsubmit.
http://www.niallp.pwp.blueyonder.co.uk/validatorjs.html
It's really quite impressive, and I think it's only pending Niall having enough time to really give it a good run-through, since it's a pretty big change.
Otherwise, Paul, I'm not sure what you mean... is your idea that an XMLHttpRequest call would be made to do server-side validation for each form update? The overhead is likely to make that an impractical solution. Or are you wondering how errors would be reported back to the page as a response from an XMLHttpRequest?
I don't think this is part of Frank's kit (sorry if it is and I missed it) but it makes sense from a framework standpoint to have standard XML representations of Struts concepts (like ActionMessages) paired with a JavaScript library that can convert those into a standardized JavaScript object model. I haven't tried yet to solve any problems with Ajax where this would be useful, but it's definitely the kind of thing you wouldn't want to leave each person to have to rewrite him- or herself.
Joe
--
Joe Germuska [EMAIL PROTECTED] http://blog.germuska.com "Narrow minds are weapons made for mass destruction" -The Ex
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]