Title: 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?

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.

Reply via email to