You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Markus Demetz <ma...@demetz.eu> on 2011/06/24 12:58:49 UTC

XML Validation and slashes in action name

Hello,

I have slashes in my Action names, e.g. ModelName/save

What I want to do is to add validation only for the save action. As far 
as I understand, I can create a validation file specifically for the 
action name, and not for the method to be invoked.
ModelAction-save-validation.xml does not seem to work.
ModelAction-ModelName_save-validation.xml neither works.

Is there any workaround? Or do I have to change my action names?
Regards,
Markus

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: XML Validation and slashes in action name

Posted by Markus Demetz <ma...@demetz.eu>.
following post cleared my question: 
http://www.mail-archive.com/user@struts.apache.org/msg77238.html

thanks.

Am 24.06.2011 12:58, schrieb Markus Demetz:
> Hello,
>
> I have slashes in my Action names, e.g. ModelName/save
>
> What I want to do is to add validation only for the save action. As 
> far as I understand, I can create a validation file specifically for 
> the action name, and not for the method to be invoked.
> ModelAction-save-validation.xml does not seem to work.
> ModelAction-ModelName_save-validation.xml neither works.
>
> Is there any workaround? Or do I have to change my action names?
> Regards,
> Markus
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org