[Seaside] Seaside For Swazoo

Boris Popov boris at deepcovelabs.com
Tue Nov 20 17:52:26 UTC 2007


Here's what I have working here,

Swazoo 1.0
SeasideForSwazoo 2.8a1.488.0

I got both from Public Repository, hope this helps.

Cheers!

-Boris

-- 
+1.604.689.0322
DeepCove Labs Ltd.
4th floor 595 Howe Street
Vancouver, Canada V6C 2T5
http://tinyurl.com/r7uw4

boris at deepcovelabs.com

CONFIDENTIALITY NOTICE

This email is intended only for the persons named in the message
header. Unless otherwise indicated, it contains information that is
private and confidential. If you have received it in error, please
notify the sender and delete the entire message including any
attachments.

Thank you.

> -----Original Message-----
> From: seaside-bounces at lists.squeakfoundation.org [mailto:seaside-
> bounces at lists.squeakfoundation.org] On Behalf Of Andres Fortier
> Sent: Tuesday, November 20, 2007 9:11 AM
> To: Seaside List
> Subject: [Seaside] Seaside For Swazoo
> 
> Hi list,
>          I've just downloaded the last version of seaside for swazoo (VW
> 7.4.1 image). When I try to test it I get an error page:
> 
> Internal server malfunction
> Message not understood: #method
> You should contact the system administrator
> 
> Browsing a bit it seems that the problem is in:
> 
> convertRequest: aSwazooRequest
> 
> 	"See WAKom >> convertRequest:"
> 	| waRequest |
> 	waRequest := self waRequestClass
> 			method: aSwazooRequest method
> 			url: aSwazooRequest uriString
> 			headers: (self unwrapHeaders: aSwazooRequest)
> 			fields: (self unwrapFields: aSwazooRequest)
> 			cookies: (self unwrapCookies: aSwazooRequest).
> 	aSwazooRequest isPut ifTrue:
> 		[self error: 'Unsupported HTTP method PUT'.
> 		waRequest fields at: 'PUTData' put: String new].
> 	^ waRequest.
> 
> 
> since aSwazooRequest doesn't understand #method. I've tested with a
> quick hack replacing it for 'GET', and then I get a new #dnu in
> unwrapHeaders: aSwazooRequest when it sends the keysAndValuesDo: to the
> headers:
> 
> unwrapHeaders: aSwazooRequest
> 
> 	"Seaside needs lower case for AUTHORIZATION
> 	(would be good if Seaside was not case sensitive
> 	Swazoo supplies all upper case, WebToolkit supplies all lower case
> 	We adopt the WebToolkit approach"
> 	| waHeaders |
> 	waHeaders := Dictionary new.
> 	aSwazooRequest headers keysAndValuesDo:
> 		[:k :field |
> 		waHeaders at: k asLowercase put: field value].
> 	^ waHeaders.
> 
> Am I loading something wrong? Is there any version to be consider more
> stable?
> 
> Thanks in advance,
> 	          Andrés
> 
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


More information about the seaside mailing list