Gary Godfrey wrote:
I ended up patching the source here. To me it makes no sense that the
widget would create HTML.
--- turbogears/widgets/__init__.py (revision 250)
+++ turbogears/widgets/__init__.py (working copy)
@@ -79,7 +79,7 @@
return d
def render(self, value=None, input_values={}, error=None,
- format="html", convert=True, **kw):
+ format="xml", convert=True, **kw):
if not self.template:
return None
I don't think it will fix your javascript issue, but I think it makes
it cleaner.
I just found Kevin's "widgets first look" thread and apparently I was
really supposed to be using <py:replace="dateField.insert()"> anyway
unless I need to manually do something really off the wall with the
generated html. I replaced master.kid with my own customized one from
0.8 and I think that is where the calendar .css and ..js get referenced
in 0.9. I'm pretty sure that's the reason its not finding that stuff.
-Steve