[Seaside] Subclassing JSObject

Robert Sirois watchlala at hotmail.com
Thu Jun 23 03:18:58 UTC 2011


'ello. I'd like to use the Seaside javascript facilities to instantiate a javascript class of mine.
What I'd like is an example or something, because looking at the Seaside code and the jQuery classes and stuff is rather confusing.
My class is simple, however. Basically, all I need is to instantiate a variable:
	x = MyClass();
and evaluate some setters:
	x.setVar('blah');
and then evaluate x.update(); on an interval... which JSObject provides.
Thanks,RS 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20110622/f76ddd58/attachment.htm


More information about the seaside mailing list