Squeak
  links to this page:    
View this PageEdit this PageUploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide
HVHtmlElement
Last updated at 3:30 pm UTC on 7 September 2017
HVHtmlElement printHierarchy '
ProtoObject #()
	Object #()
		WVHtmlElement #(''children'' ''name'' ''attributes'')
			HVHtmlElement #(''prefix'' ''suffix'')
				HVHtmlDiv #(''class'' ''id'')
				HVHtmlForm #(''action'' ''enctype'' ''method'' ''elements'' ''id'')
				HVHtmlImage #(''url'' ''alt'')
				HVHtmlVariable #(''value'')
					HVHtmlFormElement #(''readonly'' ''disabled'')
						HVHtmlInput #()
							HVHtmlInputCheckbox #()
								HVHtmlInputRadio #(''id'' ''closed'' ''previous'')
							HVHtmlInputFile #()
							HVHtmlInputHidden #()
							HVHtmlInputSubmit #(''pressed'')
							HVHtmlInputText #(''size'')
								HVHtmlInputNumber #()
								HVHtmlInputPassword #()
						HVHtmlSelection #(''objects'' ''values'' ''labels'' ''nilLabel'' ''labelSelector'')
							HVHtmlRadioGroup #(''vertical'')
							HVHtmlSelect #(''size'' ''multiple'' ''autoSubmit'')
						HVHtmlTextArea #(''rows'' ''cols'')
					HVSimpleVariable #()'

Rendering

Rendering is done with
printHtmlOn: aStream
	self printOpenTagOn: aStream.
	self childrenDo: [:ea | ea printHtmlOn: aStream].
	self shouldPrintCloseTag ifTrue: [self printCloseTagOn: aStream].