[aida] WebElement and WebComponent

Janko Mivšek janko.mivsek at eranova.si
Sat Apr 19 14:39:19 CEST 2008


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 na aidaweb.si
> http://lists.aidaweb.si/mailman/listinfo/aida

-- 
Janko Mivšek
AIDA/Web
Smalltalk Web Application Server
http://www.aidaweb.si


More information about the Aida mailing list