Not sure all this talk of validator is that justifiable. I've had no issues generating both the client side and server side validation, and its saved me a lot of work.
Like others i think it would be nice to define form beans and validation rules in the same place but I like it as it is, unless anybody has any alternatives?
One thing to consider is that Struts validation is based on commons-validator which reads its own xml config file. Moving the validation configuration to struts-config.xml would require us to do all the validator setup in Struts rather than leveraging the commons-validator code.
David
Thats my 2 pence..
Mark
On Thursday, Jun 5, 2003, at 05:24 Europe/London, Jeff Kyser wrote:
So jump in and help David fix it. Otherwise, you're likely to wake up and find a large block of cheddar in your bed. :)
On Wednesday, June 4, 2003, at 11:18 PM, Mark Galbreath wrote:
You know, I just don't get it. I think Validator was a great idea that
simply proved wrong in implementation. And I know I am not alone it this
assessment.
Mark
-----Original Message----- From: Jeff Kyser [mailto:[EMAIL PROTECTED] Sent: Thursday, June 05, 2003 12:03 AM To: Struts Users Mailing List Subject: Re: struts validator
Like I said, I dont use client-side, and its been pretty smooth sailing for
me. Sorry your experience was different, but personally, I like it.
Especially defining constants for validation masks and using them over and
over on lots of different forms in different projects even. And the
requiredif has been pretty handy for a number of cases to boot
Of course, there are still cases where I need to go to validate() methods in the actions, but they are less and less, just as I use actual FormBeans less and less, now that i halfway grok DynaValidatorForms...
cheers,
-jeff
On Wednesday, June 4, 2003, at 10:40 PM, Mark Galbreath wrote:
yeah, well, DUH! When are you guys going to realize that Validator should never have come out here even in beta. It sucks.
Mark
-----Original Message----- From: Jeff Kyser [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 04, 2003 9:25 PM To: Struts Users Mailing List Subject: Re: struts validator
I only did server-side validations, using v1.1b3, until I saw lots of people complaining that v1.1rc1 wasn;t working for client-side validations.
I tried it (rc1) and it didn't work for me either. I haven't messed with the nightly builds - just went back to 1.1b3. Its probably been fixed in the latest, but since 1.1rc2 is coming out soon, figure I'll wait until then to check it out again.
-jeff
On Wednesday, June 4, 2003, at 08:18 PM, Mark Galbreath wrote:
Beats me, dude. I struggled with it for 3 days and said enough is enough, and wrote my own validations in my Action classes. If you look through the mail archive, you'll see right off that this is what happens to the majority of people trying to get Validator to work.
Good luck, Mark
-----Original Message----- From: Frances Aleah Z. de Guzman [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 04, 2003 8:55 PM To: Struts Users Mailing List; Mark Galbreath Subject: Re: struts validator
how can i fix it?
On Friday 30 May 2003 08:20 pm, Mark Galbreath wrote:That's because the Validator works by magic and you obviously have a hex in your machine.
(sometimes I kill myself) Mark
-----Original Message----- From: Frances Aleah Z. de Guzman [mailto:[EMAIL PROTECTED] Sent: Friday, May 30, 2003 2:49 AM To: [EMAIL PROTECTED] Subject: struts validator
struts validator (client side validation) example is not working in my pc, even the struts example. but it is working with the other pcs in our office.
i noticed that when i view the page source there is no javascript generated unlike in the other pc. is there still i have to configure or what? im using
struts rc1.1 and j2sdk 1.4.1_02 and tomcat 4.1.24 as the web server and sometimes JBOSS 3.0.6
-- Frances Aleah Z. De Guzman SA/Programmer Ingenium Technology, Inc. http://www.ingenium.com.ph
Disclaimer : This message is intended only for the named recipient. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited.
-------------------------------------------------------------------- - 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]
--------------------------------------------------------------------- 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]
--------------------------------------------------------------------- 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]
--------------------------------------------------------------------- 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]
_________________________________________________________________
STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]