ProtoObjectObjectWAPresenterWAComponentSCTestComponent3
| button1WasPressed | button2WasPressed | field1 | field2 |
| instance | class |
|---|---|
| accessing callbacks rendering | no messages
|
| button1WasPressed |
|---|
| button2WasPressed |
|---|
| field1 |
|---|
| field2 |
|---|
| accessing |
|---|
| button1WasPressed |
^button1WasPressed |
| button2WasPressed |
^ button2WasPressed |
| field1 |
^field1 |
| field1: anObject |
field1 := anObject |
| field2 |
^field2 |
| field2: anObject |
field2 := anObject |
| callbacks |
|---|
| button1Pressed |
button1WasPressed _ true |
| button2Pressed |
button2WasPressed _ true |
| rendering |
|---|
| renderContentOn: html |
html form: [html text: 'field1: '. html cssId: 'field1'. html textInputOn: #field1 of: self. html br. html cssId: 'field2'. html text: 'field2: '. html textInputOn: #field2 of: self. html br. html cssId: 'button1'. html submitButtonWithAction: [self button1Pressed]. html cssId: 'button2'. html submitButtonWithAction: [self button2Pressed]] |