Re: request for widget library status report
David Crawshaw <[email protected]> Sun, 20 Apr 2003 23:25:25 +1000
| Newsgroups | gmane.comp.java.xwt.general |
|---|---|
| Message-ID | <[email protected]> |
On Sunday, April 20, 2003, at 11:13 PM, Andrew Kohlsmith wrote:
> So how would this work in an .xwt file? the <xwt> block would be
> inside of
> a <cdata> block?
<xwt>
<template>
<[CDATA[
var myvar = function(a, b) { if (a && b) return "seven";}
]]>
<box id="box1"/>
<box id="box1"/>
</template>
</xwt>
You can't put boxes in a CDATA block, or else they would get
interpreted as a string. You can have as many CDATA blocks as you want
as deep as you want, but you can't nest them.
And now I realise there's a bug regarding this in the new parser. I'll
wait until the first round of commentary before posting a fix.
d
_______________________________________________
http://lists.xwt.org/listinfo/dev