wood burning stoves 2.0*
The moose likes Struts and the fly likes struts validator along with manually created javascript functions!!!!!!!!!! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "struts validator along with manually created javascript functions!!!!!!!!!!" Watch "struts validator along with manually created javascript functions!!!!!!!!!!" New topic
Author

struts validator along with manually created javascript functions!!!!!!!!!!

divya chamarti
Ranch Hand

Joined: Jul 28, 2006
Posts: 56
can any body help me to deal with how to control the validations carried out by our own javascript function as well as by dynamically created javascript function by struts validator frame work...........

actually in a struts based application i've used validator frame work which will validate some of the input fields and also i want to use one manually created javascript function for one field..........

and i need that first my validator frame work's javascript should be call and then my manually created javascript function should be called? so what should I do in order to do it???

as there is standered...in validator frame work ........only onsubmit attribute can be used for html:form tag.......so which event(which attribute i should use in html:submit tag in order to call my manually created javascript???

and if there is any usefull link will be mention that will also be very greatfull........
thanks in advance
regards.......
Prasanth Pillai
Ranch Hand

Joined: Oct 16, 2006
Posts: 52
probably you may find the answer in this site.

http://courses.coreservlets.com/Course-Materials/struts.html
Jan Groth
Ranch Hand

Joined: Feb 03, 2004
Posts: 456
your keyboard has a problem with the repeat function.
 
Don't get me started about those stupid light bulbs.
 
subject: struts validator along with manually created javascript functions!!!!!!!!!!