WAStateHolder


Seaside-StateRegistry

Comment:

I am a ValueHolder whose contents will properly track the user's use of the back button.  Use me to wrap any values that you wish to backtrack when the back button is used.

Sometimes it might be more convenient to register your business object directly:

	WACurrentSession value registerObjectForBacktracking: businessObject.

or even to register a component for backtracking, as seen in WACounter:

	WACounter>>initialize
		self session registerObjectForBacktracking: self.

Hierarchy:

ProtoObject
Object
WAStateHolder

Summary:

instance variables:

contents

methods:

instance class
as yet unclassified as yet unclassified

Detail:

instance variables:

contents

instance methods:

as yet unclassified
contents

	^ contents
contents: anObject

	contents _ anObject
printOn: aStream

	super printOn: aStream.
	aStream nextPut: $(.
	contents printOn: aStream.
	aStream nextPut: $).

class methods:

as yet unclassified
new

	|inst|
	inst _ super new.
	WACurrentSession value registerObjectForBacktracking: inst.
	^ inst

^top


- made by Dandelion -