I updated the eggs as you said but the problem is still there if I delete plug(base_config,'plugtest') from my app_cfg.py everything works just fine, if I keep it external resources don't get rendered.
Il giorno venerdì 8 febbraio 2013 13:30:52 UTC+1, Alessandro Molina ha scritto: > > Actually to me it works correctly, the datagrid is correctly rendered. > I suppose it might be an issue in the way your environment is set up, > check your toscawidgets libraries versions. > > I'm using: > tw2.core==2.1.4 > tw2.forms==2.1.4.1 > > > > On Fri, Feb 8, 2013 at 12:53 PM, Luca Verardi > <[email protected]<javascript:> > > wrote: > >> >> >> Il giorno venerdì 8 febbraio 2013 11:51:04 UTC+1, Alessandro Molina ha >> scritto: >>> >>> without further informations I'm not able to think of any possible >>> issue, are able to provide a minimal project that replicates the issue and >>> make it available somewhere for download? >>> >>> >>> On Fri, Feb 8, 2013 at 11:40 AM, Luca Verardi <[email protected]>wrote: >>> >>>> >>>> >>>> Il giorno venerdì 8 febbraio 2013 11:29:42 UTC+1, Alessandro Molina ha >>>> scritto: >>>> >>>>> 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/**reso** >>>>>> urces/tw2.forms/static/**forms.**css<http://localhost:8080/tw2/resources/tw2.forms/static/forms.css> >>>>>> " >>>>>> "NetworkError: 404 Not Found - http://localhost:8080/tw2/**reso** >>>>>> urces/tw2.forms/static/**datagri**d/datagrid.css<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? >>>>> >>>>> >>>> Both. >>>> base_config.prefer_**toscawidgets2 = True >>>> >>>> I tried even with >>>> base_config.use_toscawidgets2 = True >>>> >>>> but nothing happened >>>> >>>> -- >>>> 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 turbogears+...@**googlegroups.com. >>>> To post to this group, send email to [email protected]. >>>> >>>> Visit this group at >>>> http://groups.google.com/**group/turbogears?hl=en<http://groups.google.com/group/turbogears?hl=en> >>>> . >>>> For more options, visit >>>> https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out> >>>> . >>>> >>>> >>>> >>> >>> >> Download Link >> http://db.tt/i8TXVzJ0 >> >> I managed to recreate the error in the attached project. >> >> To create the instance I used buildout, so i included buildout.cfg and >> version.cfg >> >> >> -- >> 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] <javascript:>. >> To post to this group, send email to [email protected]<javascript:> >> . >> Visit this group at http://groups.google.com/group/turbogears?hl=en. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > > -- 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.

