3.6.5Rendering the Counter
Each component is responsible for rendering itself in the web browser. This is done in Seaside by implementing a WAComponent>>renderContentOn:
method. In this simple case, that means displaying the counter value.
Create a new protocol, called rendering, and add this method:
WebCounter>>renderContentOn: html
html heading: count