Message: A new issue has been created in JIRA.
--------------------------------------------------------------------- View the issue: http://jira.opensymphony.com/secure/ViewIssue.jspa?key=WW-211 Here is an overview of the issue: --------------------------------------------------------------------- Key: WW-211 Summary: Addition of ability to obtain Validations without an ActionInvodation Type: Improvement Status: Assigned Priority: Major Project: WebWork Components: Configuration Versions: 2.0 Assignee: Patrick Lightbody Reporter: Cameron Braid Created: Mon, 9 Jun 2003 9:21 PM Updated: Mon, 9 Jun 2003 9:21 PM Description: I have implemented server side validation using the ww2 validation framework, which works rather well, thanks. My next task it to implement client side validation, using JavaScript. What I wish to do is this: WIthin my JSP Form tag ( a modified version of yours ) * I want to find out which action that the form's action (SaveThingy.action) relates to * With this action, I want to lookup the defined validators * Then I want to generate calls to javascript validators for each field I know that not all validators will be able to be expressed in javascript.. eg expression Though most of them will. Currently I need to pass an ActionInvocation to the ActionValidatorManager.getValidators(ActionInvocation) method, which in my case is impossible. Since the ActionValidatorManager.getValidators() (and its related methods) only uses the actionName, and actionClass, can these be the parameters instead of the invocation ? I presume that I can use ConfigurationManager.getConfiguration().getRuntimeConfiguration().getActionC onfig(namespace, actionName) to obtain the action config, and therefore get the actionClass. So.. All in all it is very possible, if this change can be made to the ActionValidatorManager.getValidators() method... Or at least a secondard method with my requested signature can be added. --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://jira.opensymphony.com/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork