There is a function called response.include_files() that is called in 
web2py_ajax.html, which is likely included in the head of your layout.html. 
Any files added to the response.files list prior to that being called will 
be included in the head by response.include_files(). The default 
layout.html as well as web2py_ajax.html itself both add files to 
response.files. Perhaps plugin_jqgrid adds to response.files as well.

Anthony

On Saturday, October 29, 2011 11:23:27 AM UTC-4, peter wrote:
>
> These lines appear at the top of my generated html files 
>
>  <script src="/images/static/js/jquery.js" type="text/javascript"></ 
> script> 
>      <link href="/images/static/css/calendar.css" rel="stylesheet" 
> type="text/css" /> 
>      <script src="/images/static/js/calendar.js" type="text/ 
> javascript"></script> 
>      <link href="/images/static/plugin_jqgrid/ui.jqgrid.css" 
> rel="stylesheet" type="text/css" /> 
>      <link href="/images/static/plugin_jqgrid/ui-darkness/jquery- 
> ui-1.8.1.custom.css" rel="stylesheet" type="text/css" /> 
>      <script src="/images/static/plugin_jqgrid/jquery- 
> ui-1.7.2.custom.min.js" type="text/javascript"></script> 
>      <script src="/images/static/plugin_jqgrid/i18n/grid.locale-en.js" 
> type="text/javascript"></script> 
>      <script src="/images/static/plugin_jqgrid/jquery.jqGrid.min.js" 
> type="text/javascript"></script> 
>      <link href="/images/static/plugin_wiki/ui/css/redmond/jquery- 
> ui-1.8.5.custom.css" rel="stylesheet" type="text/css" /> 
>      <script src="/images/static/plugin_wiki/ui/js/jquery- 
> ui-1.8.5.custom.min.js" type="text/javascript"></script> 
>      <link href="/images/static/plugin_wiki/jqgrid/ui.jqgrid.css" 
> rel="stylesheet" type="text/css" /> 
>      <script src="/images/static/plugin_wiki/jqgrid/i18n/grid.locale- 
> en.js" type="text/javascript"></script> 
>      <script src="/images/static/plugin_wiki/jqgrid/ 
> jquery.jqGrid.min.js" type="text/javascript"></script> 
>      <script src="/images/static/plugin_wiki/slideshow/ 
> jquery.cycle.min.js" type="text/javascript"></script> 
>      <link href="/images/static/plugin_wiki/multiselect/ 
> jquery.multiselect.css" rel="stylesheet" type="text/css" /> 
>      <script src="/images/static/plugin_wiki/multiselect/ 
> jquery.multiselect.js" type="text/javascript"></script> 
>      <link href="/images/static/plugin_wiki/rating/jquery.rating.css" 
> rel="stylesheet" type="text/css" /> 
>      <script src="/images/static/plugin_wiki/rating/jquery.rating.js" 
> type="text/javascript"></script> 
>      <link href="/images/static/css/jquery-ui-1.8.16.custom.css" 
> rel="stylesheet" type="text/css" /> 
>      <script src="/images/static/js/jquery-ui-1.8.16.custom.min.js" 
> type="text/javascript"></script> 
>      <link href="/images/static/plugin_layout_coffeecup/layouts/ 
> CupofCoffee/default.css" rel="stylesheet" type="text/css" /> 
>      <script src="/images/static/plugin_layout_coffeecup/superfish.js" 
> type="text/javascript"></script> 
>
>
> Where are they generated, and how can I get control over them? 
>
> Thanks 
>
>
>
>
> On Oct 29, 2:49 pm, Anthony <abas...@gmail.com> wrote: 
> > You may need to clear your browser cache to get static files to update. 
> > 
> > 
> > 
> > On Saturday, October 29, 2011 9:30:15 AM UTC-4, peter wrote: 
> > 
> > > Thanks for a quick response. You are right that this is where the grey 
> > > background is coming from. But I am still at a loss as to why this is 
> > > not being loaded on my local machine as the css are in the right place 
> > > in the static folder and are the same on both machines. 
> > 
> > > Peter 
> > 
> > > On Oct 29, 12:46 pm, Bruno Rocha <roch...@gmail.com> wrote: 
> > > > you are using ui=jquery-ui maybe locally it is not being loaded? 
> > 
> > > >http://zerp.ly/rochacbruno 
> > > > Em 29/10/2011 08:35, "peter" <peter...@gmail.com> escreveu: 
> > 
> > > > > Bruno 
> > 
> > > > > I have an indentical application on the web and locally. I use the 
> > > > > same version of web2py.  However I seem to get some differences in 
> the 
> > > > > way SQLFORM.grid appears. 
> > 
> > > > > If you look at 
> > 
> > > > >www.ukjazz.net/store/albumsthecolumn headings and the lines above 
> > > > > have a grey background. 
> > 
> > > > > However on my local computer there is no grey background and there 
> are 
> > > > > other stylistic differences on these lines. There is no mention of 
> > > > > web2py_grid anywhere in the htmls or css's. Everything is 
> identical in 
> > > > > the application folder on the local and remote systems. 
> > 
> > > > > So where is the remote system picking up this difference in style 
> > > > > from? Are there some defaults below the application? 
> > 
> > > > > Thanks 
> > > > > Peter- Hide quoted text - 
> > 
> > > > - Show quoted text -- Hide quoted text - 
> > 
> > - Show quoted text -

Reply via email to