19 Apr 14:39
Re: WebElement and WebComponent
From: Janko Mivšek <janko.mivsek <at> eranova.si>
Subject: Re: WebElement and WebComponent
Newsgroups: gmane.comp.web.server.aida
Date: 2008-04-19 12:39:19 GMT
Subject: Re: WebElement and WebComponent
Newsgroups: gmane.comp.web.server.aida
Date: 2008-04-19 12:39:19 GMT
Nicolas Petton wrote: > For now, WebComponent is an empty subclass of WebElement. > To differentiate them, we should probably add some useful methods to > WebComponent. > > My idea is to override WebComponent class>>initialize to call a #build > method, then add an empty #build method. That way the trick (often used) Agree. Also comment all that methods well to help implementers better extending them. Also don't forget on Ajax registration for the #build method in initialize. Janko > > printHTMLPageOn: aStream forSession: aSession > > self build. > ^super printHTMLPageOn: aStream forSession: aSession. > > Won't be necessary. > > What do you think ? > > Nico > > > ------------------------------------------------------------------------ > > _______________________________________________ > Aida mailing list > Aida <at> aidaweb.si > http://lists.aidaweb.si/mailman/listinfo/aida -- -- Janko Mivšek AIDA/Web Smalltalk Web Application Server http://www.aidaweb.si _______________________________________________ Aida mailing list Aida <at> aidaweb.si http://lists.aidaweb.si/mailman/listinfo/aida
RSS Feed