Stéphane, I assume you're talking about for each instance of the class.
Try <view name="viewName"> inside the class. Then, use a name when instantiating the <aWindow> class. For instance: <aWindow name="thisName"/> You should be able, then, to access the view for that instance with thisName.viewName On 5/15/06, Stéphane . <[EMAIL PROTECTED]> wrote: > > Here's code: > <class name="aWindow" extends="view"> > <view> > <somestuffhere/> > </view> > <otherstuffhere/> > </class> > > In JS, how can I access the first view ? Shall I have to give it a name > attribute or id ? > The problem though is when instanciating many instances of the same class. > _______________________________________________ > Laszlo-user mailing list > [email protected] > http://www.openlaszlo.org/mailman/listinfo/laszlo-user > > > _______________________________________________ Laszlo-user mailing list [email protected] http://www.openlaszlo.org/mailman/listinfo/laszlo-user
