Don't know about tw.dojo as I don't use Dojo, but if you need a quick work-around uninstalling tw.dojo will give you a plain HTML paginated admin with the same features of the dojo version.
On Tue, Sep 13, 2011 at 5:59 PM, Laurent LM <[email protected]> wrote: > > I'm surprised this message had no response and I find no more info on the web > on this. > > I installed TG2 on Windows ; a fresh install on a fresh python 2.7 -> > tg.devtools-2.1.2-py2.7. > I added dojo v0.9.9. > > On the admin website, the dojo grid does not work. I get this instead of the > grid: > "__actions__ user_name email_address display_name created > groups." > > Using firebug I see that 2 js files are missing: > http://localhost:8080/toscawidgets/resources/tw.dojo/dojox/data/QueryReadStore.js > http://localhost:8080/toscawidgets/resources/tw.dojo/twdojo/data/TWDojoRestStore.js > whilst other js are found in e.g. > http://localhost:8080/toscawidgets/resources/tw.dojo/static%5C1.4.1%5Cmin%5Cdojo/parser.js > > Looking in the directory tree I see that these files are actually in: > C:\tg2env\Lib\site-packages\tw.dojo-0.9.9-py2.7.egg\tw\dojo\static\1.4.1\min\dojox\data > C:\tg2env\Lib\site-packages\tw.dojo-0.9.9-py2.7.egg\tw\dojo\static\1.4.1\min\twdojo\data > > looking in the html code I find mention of > <div dojoType="dojox.data.QueryReadStore" jsId="_store" id="_store" > xhrArgs="{preventCache:true}" url="../users.json"></div> > and > dojo.require("twdojo.data.TWDojoRestStore") > > But I don't find why these files are not looked up in a subdirectory of > static/1.4.1/min > > I tried to copy the 2 files in tw.dojo-0.9.9-py2.7.egg\tw\dojo\dojox\data > and twdojo\data with no success. > > Is it something linked to the windows distribution ? Are we alone with this > problem on TG2 with Dojo ? > > help welcome... > > > > -- > View this message in context: > http://old.nabble.com/Two-javascript-link-errors-in-tw.dojo-tp29307685p32456968.html > Sent from the Turbogears General mailing list archive at Nabble.com. > > -- > 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. > > -- 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.

