Re: Re: Re: How to use ActionName-alias-validation.xml?

Lukasz Lenart <[email protected]> Fri, 17 Oct 2025 12:07:34 +0200
Newsgroups gmane.comp.jakarta.struts.user
Message-ID <CAMopvkNnHjq=tgxWmC=P_=2uk4LFgxrL0mMCH6VB0D8T26-Mfg@mail.gmail.com>
PR is ready
https://github.com/apache/struts-site/pull/278

pt., 17 pa=C5=BA 2025 o 10:55 =C5=81ukasz Lenart <[email protected]> =
napisa=C5=82(a):
>
> pt., 17 pa=C5=BA 2025 o 10:34 Ute Kaiser <[email protected]> napisa=C5=
=82(a):
> >
> > What a surprising answer :-)
> >
> > I tried, it worked and the filename is 120 characters...
> >
> > Some remarks on this solution:
> > - There is no documentation on this case with slashes in action names a=
nd the replacement "/" -> "-" resulting in "MyAction-a-b-myaction.validate-=
validation.xml"
>
> Yes, this is something discovered by CC, I mean there is a note but
> maybe unclear
>
> > - For my example below I may implement validateCreate() =3D validateMet=
hodName. (I stumbled on this here: https://stackoverflow.com/questions/6763=
652/struts-validator-annotation-to-call-method.)
>
> This is documented here, but you are right it's hard to find it,
> especially when using annotations
> https://struts.apache.org/core-developers/default-workflow-interceptor
>
>
> Cheers
> =C5=81ukasz