[FLOW3-general] A question about partial validation

François Suter fsu-lists at cobweb.ch
Tue Jan 15 15:30:57 CET 2013


Hi all,

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).

Cheers

-- 

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


More information about the Flow mailing list