• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

turn off validator

 
Guillaume ame
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I want to turn off client side validating process on a struts project. Is there a way to do this easily, like a parameter on validator plugin definition in struts-config ?

Thanks;
 
Nathaniel Stoddard
Ranch Hand
Posts: 1258
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why would you want to do this ??? (Just wondering.) I suppose you could just remove all the javascript code from the configuration files to make this happen. I'm not aware of any easy switch to stop Struts from writing out client-side validation code though -- there may be one.
 
Marc Peabody
pie sneak
Sheriff
Posts: 4727
Mac Ruby VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I never use the client-side stuff myself.
I believe what turns it on or off is if you have a <html:javascript> tag in your jsp (or something like that).

I don't know of anything else off hand
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic