[Seaside] WAUrl

Robert Shiplett grshiplett2 at yahoo.com
Fri Sep 11 21:30:00 UTC 2009

Should I have to subclass WAUrl to avoid WAHtmlDocument in a printOn: ?
>>printOn: aStream
	| document codec |
	codec :=  [ self requestContext codec ]
 	  on: WARequestContextNotFound
 	  do: [ :e | WANullCodec new ].
	document := WACurlDocument on: aStream codec: codec.
	self encodeOn: document usingHtmlEntities: false

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20090911/53dd9a02/attachment.htm

More information about the seaside mailing list