[FLOW3-general] A question about partial validation

François Suter fsu-lists at cobweb.ch
Mon Jan 21 09:24:00 CET 2013


Hi again,

> The Flow manual says that you can have partial validation based on an
> action's name, example:
>
> * @Flow\Validate(type="NotEmpty", validationGroups={"createAction"})
>
> The implicit statement seems to be that this will work for the
> FooController if your domain model is Foo. But can that be used with
> another controller, if you're doing Foo-related stuff in a
> BarController? My current results say "no" :-(
>
> Using FLOW3 1.1 (and yes, I adapted the validation annotation).

An idea anyone?

Cheers

-- 

Francois Suter
Cobweb Development Sarl - http://www.cobweb.ch


More information about the Flow mailing list