-----Oorspronkelijk bericht----- Van: Mike Ash [mailto:[EMAIL PROTECTED]] Verzonden: woensdag 22 mei 2002 17:05 Aan: '[EMAIL PROTECTED]' Onderwerp: Setting actions in sitemap
I have an action defined as <map:action logger="sitemap.action.loginAction" name="loginAction" src="package.name.LoginAction" > <parameter name="parmname" value="somevalue" /> </map:action> first off is this possible? [Graaf, Edgar de (fin)] ->Yes I have it running I know that this is done as well in the form validator, . <map:act type="form-validator"> <parameter name="descriptor" value="context://descriptor.xml"> <parameter name="validate" value="username,password"> </map:act> however it appears that everytime I use it I would have to put in the parameter for the descriptor file,. I was hoping to set the config file once in the declaration of the action in the sitemap is it possible. -> Not that I know of, but you can use a validation-set: <parameter name="validate-set" value="login-set"> What belongs to that set is defined in de descriptor file --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>