[aida] Next thing I don't understand: One added inputFieldAspect works, the second doesn't

Herbert König herbertkoenig at gmx.net
Sat Dec 6 19:18:46 CET 2008


Hello Janko,


JM> So you do something like:

JM>    e cell  addInputFieldAspect: #firstName for: self observee.
JM>    e newCell addInputFieldAspect: #surname for: self observee.
JM>    e newCell addButtonText: 'Save'

yes it helps to add the save button, but where to read up on the magic
behind it? The first inputFieldAspect:for: didn't need a save Button
at all.

Every first element of a kind seems to have some special features
which it looses when a second element of its kind appears.

Actually the name (for the first button) seems to have no meaning,
naming the button "Garbage" also does the save. As long as it is the
first I guess. Let me experiment.

JM> So, if you click with a mouse to Save, it stores changes in any case? If
JM> you click Enter, it should be also posted if this button is the only one
JM> or the first on the entire page. Note that there is also a search button
JM> on default webpage ..

I've read every documentation available via Aidaweb.si, now it seems I
have to browse code but there's quite a lot. So I'll appreciate any
pointers.


Thanks,

Herbert                            mailto:herbertkoenig at gmx.net



More information about the Aida mailing list