[Seaside] jQuery serialize proxy issue

Adriaan van Os a3aan at xs4all.nl
Sat Aug 27 15:08:05 UTC 2011


Some proxies do not allow (very) long urls in an HTTP GET. This means that
JQAjax>serialize: won't work. It requires you to make it an HTTP POST.
Like this

serialize: aQuery
	"Serialize the elements matching aQuery and evaluates the associated
callbacks."

	self class = JQAjax ifTrue: [self type: 'POST'].

	self enableCallbacks.
	self addParameter: aQuery serialize
.

Cheers,
Adriaan.

-- 
http://www.a3aan.st



More information about the seaside mailing list