SCCheckboxHtmlInput


SeasideTesting-Form Components

Comment:



Hierarchy:

ProtoObject
Object
SCXMLElementWrapper
SCHtmlInputComponent
SCCheckboxHtmlInput

Summary:

methods:

instance class
initialize request testing value no messages

Detail:

instance methods:

initialize
initializeForForm: aForm element: anXMLElement
 
	super initializeForForm: aForm element: anXMLElement.
	value _ anXMLElement
				attributes includes: 'checked'.

request
addToRequestStream: aStream
 
	self value ifTrue: [aStream nextPutAll: self name].
	^self value

testing
isCheckbox

	^ true

value
check

	self setValue: true
uncheck

	self setValue: false
value: aValue

	aValue
		ifTrue: [self check]
		ifFalse: [self uncheck]

class methods:

^top


- made by Dandelion -