On 6/28/06, Michael Jouravlev <[EMAIL PROTECTED]> wrote:
Integrating html2 would be nice too. It uses Ajax as well, so the two engines can be combined into one. In relation to html2, I am curious about how important client-side validator is. I mean, comparing Ajax roundrip to amount of Javascript preloaded for client-side validation, does it really make sense? And if a form is filled out correctly, this validator code is not used at all.
The thing about html2 is that it relies on Niall's validatorjs extension [1] which has not gone beyond being a JCV enhancement proposal [2]. I haven't followed the development of JCV closely but so far I haven't seen an indication that the enhancement will be implemented. The last time I asked, JCV needed more volunteers to make more things happen (like this enhancement). I almost volunteered, but my OSS time has shrunk to zero since that time. Them that do the work make the decisions as Ted always says, and this is a solid example of that. Anyway, html2 was an experiment on my part. I was curious about what we can have if we were given free reign over the Struts tags. The idea of a third-party Struts tag library had been floated around a couple of times on the list and this was my attempt at scratching that itch. One of the things we could do was support non-standard HTML tags which would help those developing applications that are IE-only (which would describe all the apps I've worked on in all the assignments I've had). So, being integrated into the existing Struts tags was never a goal. As for the Ajax-only validation support, I'm with Frank. If we can provide client-side support, let's do so. For those who aren't familiar with it, the html2 Ajax validation calls ActionForm.validate() if the form isn't using Validator. Hubert [1] http://niallp.pwp.blueyonder.co.uk/validatorjs.html [2] http://issues.apache.org/bugzilla/show_bug.cgi?id=32343 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]