I've been toying with porting a TG1.0 application to TG1.5. I've seen the
recent changes to support TW on TG1.5, so I've used the tip of TW.
However, I find even with the changes TW doesn't work at all with TG1.5.
I get the "Loaded TW TurboGears HostFramework" message, but ressources are not
injected.
I specify tw.jquery.jquery_js in the tg.include_widgets config setting but all
I see is a depreciation warning (which IMHO should be an error, because the
routine in core/base.py always returns []). The call to retrieve_javascript
is hardcoded in TG.
So I meddled a little with my code and tried to inject the ressources I need
in the controller (by just instanciating a TW object). If I do that, I always
get the error:
TypeError: No object (name: ToscaWidgets per-request storage) has been
registered for this thread
and yes, toscawidgets.on=True is in app.cfg.
I have too little knowledge about TG or TW internals to go from here.
Any help yould be greatly appreciated
I'm using:
TW 0.9.4dev-20081121
TG 1.5a1dev_r5682
Thanks
Uwe
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"ToscaWidgets-discuss" 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/toscawidgets-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---