-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

Le 17/06/2011 09:16, q3 a écrit :
>       @expose('json')
>       def content(self):
>               pages = ['A','B']
>               return dict(pages = pages)
> 
> => localhost:8080/content.json => 404 Content not Found?
> => page that contains the js-code => ajax call => again content 404
> Content not Found?
> What is wrong with my controller?

Have you tried changing the url to /content (no .json).


Thanks,
- -- 
Jean-Denis Girard

SysNux                  Systèmes  Linux  en Polynésie française
http://www.sysnux.pf/   Tél: +689 50 10 40 / GSM: +689 79 75 27
-----BEGIN PGP SIGNATURE-----

iEYEARECAAYFAk37/e0ACgkQuu7Rv+oOo/gcwQCghP6VdLXF4dJZlQWQuxXN/FHh
0esAn2pTMPG3qvmCgwdy5JhALws622nm
=eNR7
-----END PGP SIGNATURE-----

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en.

Reply via email to