[Seaside] JSScript objects have a canvas. Can I somehow use this canvas to put escaped html in my js?

Steven Noble steven.noble at gmail.com
Fri Mar 27 00:53:24 UTC 2009


What I'm attempting to do is something like

	html button
		text: 'add put option';
		onClick: (html jQuery ajax
			script: [:s |
				s << (s jQuery id: 'options') append: (self someRenderFunction on:
(s canvas)).
				"some dynamically generated js"]).

Of course this doesn't work because 'append:' expects something that
behaves like a string.  But is there a way I can put some escaped html
generated by a canvas in my dynamically generated js?

Many thanks,
Steven H. Noble


More information about the seaside mailing list