WAPresenter


Seaside-Component

Comment:



Hierarchy:

ProtoObject
Object
WAPresenter

Summary:

methods:

instance class
*SC-Components convenience decoration initialization path rendering request processing tree *SeasideTesting as yet unclassified

Detail:

instance methods:

*SC-Components
clearAllDelegates

    self decorationChainDo:
        [:ea |
        (ea isDecoration and: [ea isDelegation]) ifTrue:
            [self removeDecoration: ea]] 
clearDelegate

    self clearAllDelegates 
hasSCMenuItems

	^ false

convenience
session

	^ WACurrentSession value

decoration
isDecoration

	^ false

initialization
initialize


path
updateRoot: anHtmlRoot

	self script ifNotNilDo: [:script | anHtmlRoot addScript: script].
	self style ifNotNilDo: [:style | anHtmlRoot addStyle: style].
	
updateUrl: aUrl


rendering
renderContentOn: aRenderer

	self nextPresentersDo: [:ea | ea renderWithContext: aRenderer context]
renderWithContext: aRenderingContext

	| html callbacks |
	callbacks _ aRenderingContext callbacksFor: self.
	html _ self rendererClass context: aRenderingContext callbacks: callbacks.
	(self showHalo and: [aRenderingContext isDebugMode])
		ifTrue: [(WAHalo for: self) renderContentOn: html]
		ifFalse: [self renderContentOn: html].
	html close.
rendererClass

	^ WAHtmlRenderer
script

	^ nil
showHalo

	^ true
style

	^ nil

request processing
processCallbackStream: aCallbackStream

	aCallbackStream processCallbacksWithOwner: self.
	self processChildCallbacks: aCallbackStream.
	aCallbackStream processCallbacksWithOwner: self.
processChildCallbacks: aStream

	self nextPresentersDo: [:ea | ea processCallbackStream: aStream]

tree
nextPresentersDo: aBlock

	self subclassResponsibility 
withNextPresentersDo: aBlock

	aBlock value: self.
	self nextPresentersDo: [:ea | ea withNextPresentersDo: aBlock]

class methods:

*SeasideTesting
hasTestSuite

	^self suite notNil
suite

	^ (Smalltalk hasClassNamed: self testSuiteName)
		ifTrue: [(Smalltalk classNamed: self testSuiteName) suite]
testSuiteName

	^(self name , 'Test') asSymbol

as yet unclassified
new

	^ self basicNew initialize

^top


- made by Dandelion -