descriptionContainer addCondition

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

descriptionContainer addCondition

dtrussardi@tiscali.it
Hi All,
i have define descriptionContainer with addCondition to manage the control for the add of maModel to Database.
descriptionContainer
    ^(super descriptionContainer)
    addCondition: [:memento | (self controlToDataBase: memento)]
          labelled: 'Member not definable';   yourself
It work fine but when i create the component with:
self call: ((ModelClass descriptionFieldOne, ModelClass descriptionFieldTwo, ModelClass descriptionFieldThree)
asComponentOn: aModel) addValidatedForm; yourself
the  descriptionContainer d'ont work.
I have add descriptionContainer to the array of description but d'ont work well.
Thanks for any consideration,
Dario


_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki