[TurboGears] tw2.jquery

2011-05-27 Thread MattRock
Hello all. I have installed tw2.jquery and built some functions but I cannot get any of the toscawidgets resources under /resources/ to load to the browser. I have not had any luck with figuring out how to use setup.py archive_tw_resources either. Any pointers towards what I am missing would

Re: [TurboGears] tw2.jquery

2011-05-27 Thread Ralph Bean
Hi Matt, The super-short answer is: it happens right here! https://bitbucket.org/ralphbean/tw2core/src/7ea2e037772b/tw2/core/middleware.py#cl-155 The longer answer is, in order for a /resources/ resource to get registered with the middleware and then be served (there), it needs to go

Re: [TurboGears] tw2.jquery

2011-05-27 Thread MattRock
I'm actually learning from your example where I left the commenthttp://threebean.wordpress.com/2011/04/30/tutorial-melting-your-face-off-with-tw2-and-turbogears2-1/#comment-43. I am using Genshi at the moment instead of Mako, but my template call to gridwidget is working as all of the html

Re: [TurboGears] tw2.jquery

2011-05-27 Thread Ralph Bean
I'm lost as to what the problem could be. Here's an example of a working project that uses the tw2.jqplugins.jqgrid widgets in a tg2.1 app with genshi templates. https://github.com/ralphbean/tw2-tg2.1-genshi-demo/commits/master Maybe you can compare that with what you've done to find the issue?

Re: [TurboGears] tw2.jquery

2011-05-27 Thread Matt Rockwell
OK, so far your demo app works great on ubuntu, but no dice on windows. I will start picking though the code and see where I can find differences. Thanks again, Mr. Bean. -- MattRock 608-345-1972 -- You received this message because you are subscribed to the Google Groups TurboGears group.