Thanks for taking time to chime in.

At the top:
<head><script type="text/javascript" 
src="/tw2/resources/tw2.jquery/static/jquery/1.7.1/jquery.js 
<view-source:http://localhost:8080/tw2/resources/tw2.jquery/static/jquery/1.7.1/jquery.js>"></script><script
 type="text/javascript" 
src="/tw2/resources/tw2.jqplugins.ui/static/jquery/ui/1.8.17/js/jquery-ui.js 
<view-source:http://localhost:8080/tw2/resources/tw2.jqplugins.ui/static/jquery/ui/1.8.17/js/jquery-ui.js>"></script><link
 rel="stylesheet" type="text/css" 
href="/tw2/resources/tw2.jqplugins.ui/static/jquery/ui/1.8.17/css/hot-sneaks/jquery-ui.css
 
<view-source:http://localhost:8080/tw2/resources/tw2.jqplugins.ui/static/jquery/ui/1.8.17/css/hot-sneaks/jquery-ui.css>"
 media="all" /><script type="text/javascript" 
src="/tw2/resources/tw2.jqplugins.jqgrid/static/jquery/plugins/jqGrid/4.4.0/js/i18n/grid.locale-en.js
 
<view-source:http://localhost:8080/tw2/resources/tw2.jqplugins.jqgrid/static/jquery/plugins/jqGrid/4.4.0/js/i18n/grid.locale-en.js>"></script><script
 type="text/javascript" 
src="/tw2/resources/tw2.jqplugins.jqgrid/static/jquery/plugins/jqGrid/4.4.0/js/jquery.jqGrid.min.js
 
<view-source:http://localhost:8080/tw2/resources/tw2.jqplugins.jqgrid/static/jquery/plugins/jqGrid/4.4.0/js/jquery.jqGrid.min.js>"></script><link
 rel="stylesheet" type="text/css" 
href="/tw2/resources/tw2.jqplugins.jqgrid/static/jquery/plugins/jqGrid/4.4.0/css/ui.jqgrid.css
 
<view-source:http://localhost:8080/tw2/resources/tw2.jqplugins.jqgrid/static/jquery/plugins/jqGrid/4.4.0/css/ui.jqgrid.css>"
 media="all" /><link rel="stylesheet" type="text/css" 
href="/tw2/resources/tw2.jqplugins.jqgrid/static/jquery/plugins/jqGrid/4.4.0/css/ui.jqgrid.word_wrap.css
 
<view-source:http://localhost:8080/tw2/resources/tw2.jqplugins.jqgrid/static/jquery/plugins/jqGrid/4.4.0/css/ui.jqgrid.word_wrap.css>"
 media="all" />


In the middle:
The template expansion of $form.display(), previously provided.

At the bottom:

<script src="http://code.jquery.com/jquery.js 
<view-source:http://code.jquery.com/jquery.js>"></script><script 
src="/javascript/bootstrap.min.js 
<view-source:http://localhost:8080/javascript/bootstrap.min.js>"></script>


I did find another thread where someone reported version of jquery may be 
in issue. Right now I'm assuming ToscaWidgets is addressing such details.

I do see the gearbox serve logs indicating 200 on the GET for these 
resources.

127.0.0.1 - - [04/Mar/2014 11:38:11] "GET / HTTP/1.1" 200 4540
127.0.0.1 - - [04/Mar/2014 11:38:11] "GET 
/tw2/resources/tw2.jquery/static/jquery/1.7.1/jquery.js HTTP/1.1" 200 248235
127.0.0.1 - - [04/Mar/2014 11:38:11] "GET 
/tw2/resources/tw2.jqplugins.ui/static/jquery/ui/1.8.17/js/jquery-ui.js 
HTTP/1.1" 200 210902
127.0.0.1 - - [04/Mar/2014 11:38:11] "GET 
/tw2/resources/tw2.jqplugins.ui/static/jquery/ui/1.8.17/css/hot-sneaks/jquery-ui.css
 
HTTP/1.1" 200 33336
127.0.0.1 - - [04/Mar/2014 11:38:11] "GET 
/tw2/resources/tw2.jqplugins.jqgrid/static/jquery/plugins/jqGrid/4.4.0/js/i18n/grid.locale-en.js
 
HTTP/1.1" 200 6531
127.0.0.1 - - [04/Mar/2014 11:38:11] "GET 
/tw2/resources/tw2.jqplugins.jqgrid/static/jquery/plugins/jqGrid/4.4.0/js/jquery.jqGrid.min.js
 
HTTP/1.1" 200 259343
127.0.0.1 - - [04/Mar/2014 11:38:11] "GET 
/tw2/resources/tw2.jqplugins.jqgrid/static/jquery/plugins/jqGrid/4.4.0/css/ui.jqgrid.css
 
HTTP/1.1" 200 12198
127.0.0.1 - - [04/Mar/2014 11:38:11] "GET 
/tw2/resources/tw2.jqplugins.jqgrid/static/jquery/plugins/jqGrid/4.4.0/css/ui.jqgrid.word_wrap.css
 
HTTP/1.1" 200 52
1

Thanks,


On Monday, March 3, 2014 4:17:31 PM UTC-6, Craig Small wrote:
>
> On Mon, Mar 03, 2014 at 01:37:41PM -0800, Greg Copeland wrote: 
> >    My dictionary returned from my controller has: 
> >    dict( form=MyGrid ) 
> > 
> >    My template has: 
> >    ${form().display()} 
> Mine is 
>   dict(form=MyGrid()) 
> and 
>   ${form.display()} 
>
>
> >    Which renders: 
> Did you get a bunch of javascript imports in the head of the page? 
> The html looks close to mine. 
>
> I think because you run the init method late (as in you do it at 
> template printing time) its too late to include the javascript. 
> As my code creates the instance at controller return time its enough 
> time for toscawidgets to inject its resources. 
>
>

 

>  - Craig 
>
> -- 
> Craig Small (@smallsees)   http://enc.com.au/       csmall at : enc.com.au 
> Debian GNU/Linux           http://www.debian.org/   csmall at : debian.org 
> GPG fingerprint:        5D2F B320 B825 D939 04D2  0519 3938 F96B DF50 FEA5 
>

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/turbogears.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to