SCTestComponent2


SeasideTesting-Examples

Comment:



Hierarchy:

ProtoObject
Object
WAPresenter
WAComponent
SCTestComponent2

Summary:

instance variables:

firstSent secondSent

methods:

instance class
accessing callbacks initialization seaside

Detail:

instance variables:

firstSent
secondSent

instance methods:

accessing
firstSent

	^firstSent
renderContentOn: html
 
	html cssId: 'first'.
	html
		anchorWithAction: [self sendFirst]
		text: 'first link'.
	html text: 'hello'.
	html cssId: 'second'.
	html
		anchorWithAction: [self sendSecond]
		text: 'second link'
secondSent

	^secondSent

callbacks
sendFirst

	firstSent _ true
sendSecond

	secondSent _ true

initialization
initialize

	super initialize.
	firstSent _ false.
	secondSent _ false.

class methods:

seaside
canBeRoot

	^true

^top


- made by Dandelion -