[Seaside-dev] Issue 140 in seaside: decide whether WAObject>>session and >>application should return nil if no request context found

codesite-noreply at google.com codesite-noreply at google.com
Thu Sep 11 18:03:43 UTC 2008


Issue 140: decide whether WAObject>>session and >>application should return  
nil if no request context found
http://code.google.com/p/seaside/issues/detail?id=140

Comment #1 by jfitzell:
see also WARespone>>initialize, which is implemented as follows in  
Seaside-Core.jf. :

initialize
	| application |
	super initialize.
	stream := SeasidePlatformSupport readWriteStream.
	status := 200.
	application := [ self application ]
					on: WARequestContextNotFound
					do: [ nil ].
	contentType := application isNil
		ifFalse: [ application contentType ]
		ifTrue: [ self class defaultValueForContentType ]

Ugly? Not sure... there aren't many cases where we want to optionally allow  
things to
work with no request context.



-- 
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings


More information about the seaside-dev mailing list