[aida] Problem with addMenuCollection
Francisco A. Lizarralde
st.easy.rider at gmail.com
Wed May 20 23:54:22 CEST 2009
This version works pretty well
"e cell addMenuAspect: #name collection: (self observee parent
specialities) selectedToAspect: #speciality of: (self observee)."
El mié, 20-05-2009 a las 22:46 +0200, Janko Mivšek escribió:
> Hi Francisco,
> Francisco A. Lizarralde pravi:
> > I have an error with this line in a StudentApp >> viewEdit method
> > e cell addMenuCollection: (self observee parent specialities)
> > selectedToAspect: #name of: self observee speciality.
> Are those specialities just strings? If not, use longer version:
> In first aspect you put a name of the method to return a string to
> appear in a menu.
> Hope this helps
> > The observee is a Student and his parent is an application Model who has
> > a collection of specialities. My intention is to select a speciality
> > from a drop down menu list, and store it in the student speciality
> > instance variable. The list shows the speciality names.
> > The error I get is: Speciality(Object) >> doesNotUnderstand: #readStream
> > I don't understand what I'm doing wrong. Any help would be appreciated.
More information about the Aida