[FLOW3-general] How to change Validators in Ancestors

Ferdinand Kuhl fcool at coolys.de
Thu Sep 8 19:32:05 CEST 2011


Hi List,

imagine I had two classes, say "Contact" and "Customer", where "Customer" 
inherits "Contact". Now "Contact" has a property called "Company". In case 
of a "Contact", there is no validation needed. But a "Customer" must have a 
"Company". How could I explain this to my Domain? Will just redifining 
"company" and register a validator there do it? Are there other sideeffects?
Or is there a better way?

Thx and bye,
Ferdinand


More information about the FLOW3-general mailing list