Hi everyone,
I've been pondering this one for a while and figured either I'm missing
something or nobody uses toscawidgets/twTinyMCE with TG.
I'm doing something very basic and simple:
I declare a form which aside of some text input fields also has a TinyMCE
field. This is done with ToscaWidgets and Genshi, not tgwidgets and kid.
Whenever I try to render the page, Genshi throws an error in ET:
File "/usr/lib/python2.4/site-packages/Genshi-0.4.2-py2.4.egg/genshi/input.py",
line 43, in ET
tag_name = QName(element.tag.lstrip('{'))
AttributeError: 'Stream' object has no attribute 'tag'
Turns out, this is the JSLink that is injected by twTinyMCE. ToscaWidgets are
internally ET'd to display them properly (not as quoted html).
Did anyone encounter this? I get the same error when I try to use any other
ToscaWidgets-based javascript widget (i.e. the calendar date picker)
Any pointers would be greatly appreciated. I just don't want to patch genshi's
ET function since that makes upgrades complicated.
Thanks
UC
--
Open Source Solutions 4U, LLC 1618 Kelly St
Phone: +1 707 568 3056 Santa Rosa, CA 95401
Cell: +1 650 302 2405 United States
Fax: +1 707 568 6416
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---