On Tue, Jun 28, 2011 at 11:46 AM, Anthony <[email protected]> wrote:
> On Tuesday, June 28, 2011 11:08:37 AM UTC-4, Richard wrote: >> >> ajax=False not working without a specific create_fvte.load view (base on >> copy and change name of generic view)... Where is the patch so I could test >> if it fix the problem... >> > > I'm sure Massimo will have the patch in trunk soon. In the meantime, do > response.view='generic.load'. > > >> >> But, the problem now is that ajax=True not working at all under 1.97.1 and >> I just test with 1.96.4 and *&?%$ it stop working... >> > > Are you saying it worked in 1.96.4 but not in 1.97.1 (the *exact* same > code)? > Actually, it was working yesterday then I move to 1.97.1 stop working (hack-hack-hack maybe hack a bit in 1.96.4 and break something)... So not working neither in 1.96.4... > Can you get a simple ajax component working in 1.97.1? > I can do that : http://127.0.0.1:8000/sgddms/ref/create_fvte.load/ref_eregistry And I get my different form individually as component all right... > Maybe it has something to do with your specific code. Exactly what is > happening when ajax=True? > Keep loading... for ever. > What do you get in the rendered HTML for the page? Can you use browser > tools (e.g., Firebug) to inspect the network requests and see if the ajax > call is getting made and what is being returned? > I go check ;-) > > Anthony > >

