def page2
return %^The first responsibility of a component class is to model user interface state. This state usually corresponds to what's being displayed on the screen: for example, the component may be keeping track of which record is being displayed, the current values in a form, or which nodes of a navigation tree are expanded
#{empty}
The component on the right, implemented by the Counter class, has a single piece of state: the value of the numeric counter
In its class definition, it defines a single instance variable, <tt>count</tt>, to maintain this:
<pre>
Component subclass: #Counter
instanceVariableNames: 'count'
classVariableNames: ''
poolDictionaries: ''
category: 'Seaside/Examples-Tutorial'
</pre>
#{counter}
You can see here an inspector on the embedded counter, showing its <tt>count</tt> instance variable (<tt>continuation</tt> and <tt>delegate</tt> are defined in the Component superclass, we'll ignore them for now). You'll notice that as you use the ++ and -- links, <tt>count</tt> tracks the changes
#{counterInspector}
^
end