We use conditional validation by placing a method string our model and using
that as a conditional check during validation.

Z.

> Is it possible to have seperate validtion files for each method.
> 
> Bascially it would be very nice to be able to have
> 
>         <s:submit action="Test" method="test1" key="test1"/>
>         <s:submit action="Test" method="test2" key="test2"/>
> 
> and be able to have seperate validations for both methods instead of
> using the alias.
> 
>         <s:submit action="Test_test1" key="test1"/>
>         <s:submit action="Test_test2" key="test2"/>
> 
> This approach seems to be a more elegant way of validating as at the
> moment you have to use a wildcard hack to accomplish it.
> 
> ______________________________________________________________________
> Ufi Limited 
> Registered in England No.  3980770
> Registered Office:  Dearing House, 1 Young Street, Sheffield, S1 4UP
> 
> learndirect Solutions Ltd
> Registered in England No. 5081669
> Registered Office:  Dearing House, 1 Young Street, Sheffield, S1 4UP
> 
> UFI Charitable Trust
> Registered in England No.  3658378
> Registered Charity No.  1081028
> Registered Office:  Dearing House, 1 Young Street, Sheffield, S1 4UP
> 
> This email has been scanned by the MessageLabs Email Security System.
> 
> ______________________________________________________________________



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to