[Catalyst] Jason Kohles' tutorial on ExtJs editable data gridsand
Catalyst
jagdish eashwar
jagdish.eashwar at gmail.com
Sun Apr 19 04:05:30 GMT 2009
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 <peter at peknet.com> 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 t=
he
>> CATALYST_VAR =3D> '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: Catalyst at lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive:
> http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
> Dev site: http://dev.catalyst.perl.org/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20090419/1204c=
316/attachment.htm
More information about the Catalyst
mailing list