26 Apr 16:32
descriptionContainer addCondition
From: Dario Trussardi <dtrussardi <at> tiscali.it>
Subject: descriptionContainer addCondition
Newsgroups: gmane.comp.lang.smalltalk.smallwiki
Date: 2008-04-26 14:36:10 GMT
Subject: descriptionContainer addCondition
Newsgroups: gmane.comp.lang.smalltalk.smallwiki
Date: 2008-04-26 14:36:10 GMT
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; yourselfthe descriptionContainer d'ont work.I have add descriptionContainer to the array of description but d'ont work well.
Thanks for any consideration,Dario
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; yourselfthe 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
RSS Feed