18 Apr 23:17
WebElement and WebComponent
From: Nicolas Petton <petton.nicolas <at> gmail.com>
Subject: WebElement and WebComponent
Newsgroups: gmane.comp.web.server.aida
Date: 2008-04-18 21:18:51 GMT
Subject: WebElement and WebComponent
Newsgroups: gmane.comp.web.server.aida
Date: 2008-04-18 21:18:51 GMT
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) printHTMLPageOn: aStream forSession: aSession self build. ^super printHTMLPageOn: aStream forSession: aSession. Won't be necessary. What do you think ? Nico -- Nicolas Petton http://nico.bioskop.fr ___ ooooooo OOOOOOOOO |Smalltalk| OOOOOOOOO ooooooo \ / [|] -------------------------------- Ma clé PGP est disponible ici : http://nico.bioskop.fr/pgp-key.html
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) printHTMLPageOn: aStream forSession: aSession self build. ^super printHTMLPageOn: aStream forSession: aSession. Won't be necessary. What do you think ? Nico -- -- Nicolas Petton http://nico.bioskop.fr ___ ooooooo OOOOOOOOO |Smalltalk| OOOOOOOOO ooooooo \ / [|] -------------------------------- Ma clé PGP est disponible ici : http://nico.bioskop.fr/pgp-key.html
RSS Feed