[Seaside-dev] Re: JQueryWidgetBox's FullCalendar not working

Paul DeBruicker pdebruic at gmail.com
Thu Mar 20 17:22:00 UTC 2014


The old method is:  

JQAjax>>callback: aBlock json: anObject
	"Register aBlock as a secondary callback. anObject is a reference to a
Javascript object on the client-side. anObject will be serialized to a JSON
string, sent back to the server, deserialized from JSON to nested Smalltalk
objects, and result passed into aBlock.
	
	Note: The serialization of Javascript objects to JSON requires a modern web
browser with native JSON support or the JSJsonDeploymentLibrary to be
loaded. Objects that recursively refer to themselves and objects that
contain or objects that contain methods might not be serializable and cause
the web browser to loop inifinitely or throw an exception."

	self callback: [ :value | aBlock value: (WAJsonParser parse: value) ]
value: (JSJson new stringify: anObject)



I haven't used FullCalendar in a couple years. 

Hth,

Paul



--
View this message in context: http://forum.world.st/JQueryWidgetBox-s-FullCalendar-not-working-tp4750009p4750046.html
Sent from the Seaside Development mailing list archive at Nabble.com.


More information about the seaside-dev mailing list