struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Mähler <>
Subject Re: [S2] Method dependant validation
Date Mon, 04 Aug 2008 14:37:18 GMT
Andreas Mähler schrieb:

> I know that method dependant processing is possible with the 
> PrepareInterceptor (i.e. prepareDoThis, prepareDoThat methods that are 
> automatically invoked). I checked the Struts2.1.2 docs[1], but it seems 
> that the ValidationInterceptor does not offer this feature. I also can't 
> find a way to make annotation based validation method dependant, which 
> would also be very useful. (Think of a 'method' parameter that is a 
> comma-seperated list of methods for which the validation applies - 
> default is all).

> [1]

Silly me!
I confused the ValidationInterceptor with the WorkflowInterceptor ;-)
Sorry for that..

But my second question still applies: Is it somehow possible to use some 
kind of method parameter for annotation based validation?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message