Main Menu
Lecture 1
Lecture 3
Lecture 4
Lecture 5
Lecture 6
Lecture 7
 

 

 

Page Generation

Conceptually - A HTML page is a tree of elements

When WO needs a component to append its HTML to (the response) it sends the component a message appendToResponse().

When the component receives this message, it traverses the tree and asks each element to append itself to the response

WOResponse is the wrapper class for a HTML response

Each Static HTML element appends itself in turn

When the <WOBJECTS> tag is reached, the corresponding dynamic element generates the HTML