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]<javascript:>
> > 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/**
>>>> resources/tw2.forms/static/**forms.css<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<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 [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.
>>  
>>  
>>
>
>
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].
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.


Reply via email to