On Fri, Feb 8, 2013 at 10:31 AM, Luca Verardi <[email protected]>wrote:
> Thanks for the advice Alessandro, now it works but there is another > problem now. > > It seems external resources (Css, Javascript) won't load on their own. I > put a DataGrid in a form and this the error (Taken from Firebug): > > "NetworkError: 404 Not Found - > http://localhost:8080/tw2/resources/tw2.forms/static/forms.css" > "NetworkError: 404 Not Found - > http://localhost:8080/tw2/resources/tw2.forms/static/datagrid/datagrid.css > " > > Do you know why? > > Uhm, the most common reason for that kind of issues is that the toscawidgets2 middleware is not in place. Are you sure that your application (not the pluggable) has prefer_toscawidgets2 = True or at least use_toscawidgets2 = True in app_cfg.py? -- 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?hl=en. For more options, visit https://groups.google.com/groups/opt_out.

