Thanks. It works now if I add additional script elements outside of the head element. Do you know why you are not allowed to add more script elements in the <head> ??
Chris On Jan 15, 2:03 am, "Jorge Godoy" <[EMAIL PROTECTED]> wrote: > On Jan 15, 2008 4:13 AM, [EMAIL PROTECTED] > > <[EMAIL PROTECTED]> wrote: > > > When I try to specify > > tg.include_widgets = ["turgogears.mochikit"] in config file I get > > errors but no errors when I use a <script> to specify MochiKit.js. > > > Here is the error for tg.include_widgets = ["turgogears.mochikit"] in > > config file... > > > Traceback (most recent call last): > > (...) > > > File "/usr/local/lib/python2.5/site-packages/TurboGears-1.0.3.2- > > py2.5.egg/turb ogears/controllers.py", line 55, in _process_output > > for script in widget.retrieve_javascript(): > > AttributeError: 'NoneType' object has no attribute > > 'retrieve_javascript' > > Have you noticed the typo "turgogears" instead of "turbogears"? Is > this some changed version of TG? Does it work with a cleanly > quickstarted application instead? I see that you have changed the > templates so you might have removed too much from it. > > -- > Jorge Godoy <[EMAIL PROTECTED]> --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

