Just to make sure its clear what Kalpesh did, he patched the html:javascript tag to allow PER-METHOD (or Per-Action depending on if you use the VLDAction) client-side validation. This is especially useful when using Brandon's VLDAction since each method in the action (read "button on the page") can use an independent Validator form defined in validation.xml and still have client-side validation. Making wizards becomes very tight among other things.
[Background] Brandon's ValidatorLookupDispatchAction lets you define mappings in your struts-config file directly to specific methods. If your action is User, you can have User.view, User.add, User.delete, and User.edit all handled in the same Action and Action-Mapping.[/Background] I'm not sure but I think he modified the version 1.1 tag. If so, I'll be happy to work on the 1.2 version. Kalpesh, what changes did you have to make to validation.xml? Adrian ----------------------------------------------- Adrian Lanning Struts Enthusiast and All-around Pleasant Guy ----- Original Message ----- From: "kalpesh modi" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, June 28, 2004 9:59 AM Subject: action based client side validation > Hi, > I made some changes to <html:javascript> tag to take > care of the action based client side validation. > It will give different javascript validation for > different button action. > It is client side counterpart of VLDAction by Brandon > Goodin. Adrian Lanning also help and gave suggestions > for this development. > However this approach, needs a slight modification in > the validation.xml > Any suggestions????? > > Thanks, > -Kalpesh > > ===== > Regards, > -Kalpesh > (703)506-8229 X-3308 (Work) > (203)676-9385 (Mobile) > > > > > __________________________________ > Do you Yahoo!? > New and Improved Yahoo! Mail - 100MB free storage! > http://promotions.yahoo.com/new_mail > > --------------------------------------------------------------------- > 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]