SCTestComponent3


SeasideTesting-Examples

Comment:



Hierarchy:

ProtoObject
Object
WAPresenter
WAComponent
SCTestComponent3

Summary:

instance variables:

button1WasPressed button2WasPressed field1 field2

methods:

instance class
accessing callbacks rendering no messages

Detail:

instance variables:

button1WasPressed
button2WasPressed
field1
field2

instance methods:

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]]

class methods:

^top


- made by Dandelion -