• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Struts Validator

 
Ranch Hand
Posts: 906
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
Did you ever use Struts Validator, wich is not included in Struts but developed by another guy ?
Did you have some problems ?
Did you encounter some bugs ?
Did you obtain some fixes ?
Thus, according to you, is it a goog idea to use it ?
[ March 12, 2002: Message edited by: Bill Bailey ]
 
Ranch Hand
Posts: 127
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I used it to do the client side Javascript validations in my project. All the Javascript is part of a seperate file and you can add your own validations in there.
It's part of the struts distribution(nightly) right now.
I did find a small bug in the Javascript that it generates that you can fix yourself easily. Basically the places where it checks whether a number was entered it checks if the number is zero and rejects it. You would have to change
if ((iValue==0)
to
if ((iValue==NaN) in
validation_rules.xml
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi i was wondering how i can use sturts validator.
I could not able to startup. and where does this fits into the struts framework
Thanks
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic