[Seaside-dev] XML Markups and Canvases
Lukas Renggli
renggli at gmail.com
Fri Nov 7 23:39:52 UTC 2008
> return only a special object, no explicit canvas. Dont know if this is a problem, but would expect
> a new canvas somewhere in the canvas hierarchy (or with a similar interface).
> Will I have to mock the brush support to nest tags (see [1]) and if so how to do it correctly?
True, JavaScript is different, because it is no XML dialect. However
there is nothing that prevents you from returning a different WACanvas
subclass. WACanvas is ment to be subclassed for different XML
dialects.
> I still have a problem (with MathML as example, but havent looked to deep since it is late):
>
> "html math row" would return an own subclass of render canvas, but close the
> math tag, so the mrow is not embedded, see render method in example [1]
>
>
> "html math: [ aBlockContents ]" would only work when I hand over the new
> canvas as argument to the block
Yeah, you have to pass in the canvas somehow.
Cheers,
Lukas
--
Lukas Renggli
http://www.lukas-renggli.ch
More information about the seaside-dev
mailing list