Hi Peter, Scott and Craig, Thanks a lot. Commenting out 'console.log' worked. It works irrespective of whether I use 'Catalyst.uri_for' or 'c.uri_for'. I guess that line can be there only if one is using firebug. And I think the tutorial code worked for Craig because he was using firebug. Is that right Craig? Thanks to Scott for being so perceptive and to Peter for being persistent.
Jagdish On Sun, Apr 19, 2009 at 7:53 AM, Peter Karman <[email protected]> wrote: > jagdish eashwar wrote: > >> Hi Craig, >> >> Thanks a lot for taking the trouble to work through the tutorial. Since >> you have been able to get it to save changes to the database, I think we >> will be able to isolate where I'm going wrong. >> >> Regarding whether to use 'Catalyst' or 'c' as the context, when I >> created the TT view with the Catalyst helper command >> 'script/adventajaxgrid_create.pl view TT TTSite', it automatically set the >> CATALYST_VAR => 'Catalyst'. I changed this to 'c', and the >> 'Catalyst.uri_for' to 'c.uri_for'. The Ext Grid behaves just like before. It >> does everything except the Save. >> >> Can you paste your root/static/advent.js and your View/JSON.pm ? I would >> like to compare it with what I have done. >> > Did you try commenting out the 'console.log' line as someone else > suggested? > > > _______________________________________________ > List: [email protected] > Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst > Searchable archive: > http://www.mail-archive.com/[email protected]/ > Dev site: http://dev.catalyst.perl.org/ >
_______________________________________________ List: [email protected] Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/[email protected]/ Dev site: http://dev.catalyst.perl.org/
