« Return to Thread: WebElement and WebComponent

Re: WebElement and WebComponent

by Rob Rothwell-2 :: Rate this Message:

Reply to Author | View in Thread

#build makes sense to me, as in "build the component out of it's constituent WebElements."

Is that what you were thinking?

Rob

On Fri, Apr 18, 2008 at 5:18 PM, Nicolas Petton <petton.nicolas@...> 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)

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

_______________________________________________
Aida mailing list
Aida@...
http://lists.aidaweb.si/mailman/listinfo/aida



_______________________________________________
Aida mailing list
Aida@...
http://lists.aidaweb.si/mailman/listinfo/aida

 « Return to Thread: WebElement and WebComponent