Le jeudi 30 juillet 2009 à 17:37 +0200, Stefan Schmiedl a écrit : > On Thu, 30 Jul 2009 18:18:57 +0300 > Bèrto ëd Sèra <[email protected]> wrote: > > > Hi! > > > > I suppose the widget has a way to know in which application instance > > it is contained, it would come handy if it did. > > st> Iliad.Widget methodDictionary keys asSortedCollection > ... no > st> Iliad.Widget superclass methodDictionary keys asSortedCollection > ... not yet > st> Iliad.Widget superclass superclass methodDictionary keys > asSortedCollection > ... there it is: an IliadObject knows its application!
In fact, IliadObject knows about the current application, request and context. And because almost all iliad objects are subclasses of IliadObject, those objects are accessible from almost everywhere. Cheers! Nico
signature.asc
Description: Ceci est une partie de message numériquement signée
_______________________________________________ help-smalltalk mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-smalltalk
