WAInputTest


Seaside-Examples-Test

Comment:



Hierarchy:

ProtoObject
Object
WAPresenter
WAComponent
WAInputTest

Summary:

instance variables:

emptyString fraction integer nilString

methods:

instance class
accessing as yet unclassified example

Detail:

instance variables:

emptyString
fraction
integer
nilString

instance methods:

accessing
emptyString

	^emptyString
emptyString: anObject

	emptyString := anObject
fraction

	^fraction
fraction: anObject

	fraction := anObject
integer

	^integer
integer: anObject

	integer := anObject
nilString

	^nilString
nilString: anObject

	nilString := anObject

as yet unclassified
initialize

	nilString _ nil.
	emptyString _ ''.
	integer _ 42.
	fraction _ 1/3.
renderContentOn: html

	html form: [
		html table: [
			html	
				tableHeadings: #(Name Value PrintString);
				tableRowWithLabel: 'Nil String'
					column: [html textInputOn: #nilString of: self]
					column: [html text: nilString printString];
				tableRowWithLabel: 'Empty String'
					column: [html textInputOn: #emptyString of: self]
					column: [html text: emptyString printString];
				tableRowWithLabel: 'Integer'
					column: [html textInputOn: #integer of: self]
					column: [html text: integer printString];
				tableRowWithLabel: 'Fraction'
					column: [html textInputOn: #fraction of: self]
					column: [html text: fraction printString].
		].
		html submitButton.
	]

class methods:

example
example


	^ self new

^top


- made by Dandelion -