Hi,

I'm trying to wet my feet with TWs. But I encounter a problem with the 
following widget:

class TagInputWidget(Widget):

     template = """
<input xmlns="http://www.w3.org/1999/xhtml";
       xmlns:py="http://genshi.edgewall.org/";
       type="text"
       name="name"
/>
"""
     def retrieve_resources(self):
         print "foobar"
         res = super(TagInputWidget, self).retrieve_resources()
         res.append(JSSource("""
alert("huhu");
"""))
         return res

The retrieve_resources-method is never called, I don't get to see the 
foobar in the output.

So I was wondering what I'm supposed to do to get my JSSource rendered.

TIA,

Diez

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears Trunk" 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-trunk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to