[Seaside] Wrapping ProtoTip

Hwee-Boon Yar hboon at motionobj.com
Wed Mar 5 04:16:39 UTC 2008

I am wrapping around ProtoTip [1] by implementing SUTip as a subclass
of SUNamed. And need some help.

One of the parameters is a piece of HTML, e.g.:

      new Tip('myElementId', '<em>Italics here</em>');

Following the spirit of the SU* classes, I can do:

     html script: (html tip id: 'myElementId';
			 content: '<em>Italics here</em>')

How do I use the canvas object, such as:

     html script: (html tip id: 'myElementId';
			 content: [:h | h em: 'Italics here']

[1] http://www.nickstakenburg.com/projects/prototip/


More information about the seaside mailing list