On 8/7/07, Darryl Cousins <[EMAIL PROTECTED]> wrote: > Perhaps try breaking the string: > > var tpl = "<" + "div> js-template <" + "/div>" > > Or something like that. Probably zpt doesn't know about tags within > javascript strings.
ZPT follows the letter of the law quite strictly in this, since there's no way to win when applying hueristics to "do the right thing." That'll always bite you in the long run, so we decided it's better to bite up front so problems are detected as early as possible, and the result is as usable as possible, without having to guess. It can be annoying, but you see what you're getting right away. > Disclaimer: I've never used ExtJS. This is not specific to ExtJS. -Fred -- Fred L. Drake, Jr. <fdrake at gmail.com> "Chaos is the score upon which reality is written." --Henry Miller _______________________________________________ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com