[Seaside] [Magritte] Multiple descriptions validation/condition
Humber Aquino
humberaquino at gmail.com
Mon Nov 13 17:21:13 UTC 2006
Hi everyone!
I have a question about validating models with Magritte.
When i add a condition to a magritte's description, the condition
references the value. For example:
SomeClass class>>descriptionFoo
^ (MAStringDescription
auto: 'foo
label: 'Foo'
priority: '10')
addCondition: [:value | some value checking]
labelled: 'Invalid something';
yourself.
In SomeClass i have many descriptions and i want to do some
validations combining two or more descriptions.
I don't know if this is the way to do this.
Thanks in advance :D
More information about the Seaside
mailing list