[Seaside] Subclassing JSObject
johan at inceptive.be
Thu Jun 23 12:46:55 UTC 2011
The obligatory first question: Do you really need to write it using Seaside's JSObjects?
But here are the samples you requested.
(JSStream on: 'x') assign: ((JSStream on: 'MyClass') apply: #())
(JSStream on: 'x') call: 'setVar' withArguments: (Array with:'blah')
((JSStream on: 'x') call: 'update') timeout: 100
Hope it helps!
On 23 Jun 2011, at 05:18, Robert Sirois wrote:
> 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:
> and then evaluate x.update(); on an interval... which JSObject provides.
> seaside mailing list
> seaside at lists.squeakfoundation.org
More information about the seaside