Now that the four flavours of validator form (ValidatorForm, ValidatorActionForm, DynaValidatorForm, DynaValidatorActionForm) have a getValidatorKey() method, maybe the JavaScriptTag should get hold of these and call the getValidatorKey() - that way the formName could become optional, or even removed?
Then no coupling at all. Niall ----- Original Message ----- From: "Robert Leland" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, April 03, 2004 5:35 PM Subject: JavaScriptTag and multiple forms. > Every since I applied the patch to allow the validator to work, > with multiple forms, there has been one thing that has bothered me: > > The JavaScriptTag requires the name of the form. > > So now both the form name and the action name are required in the JSP, and this increases the coupling. > > How about we change it to take an 'action' instead of a form name ? > That way the JSP need only know about the actions. > > -Rob > > > > --------------------------------------------------------------------- > 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]