[Catalyst] Jason Kohles' tutorial on ExtJs editable data grids and Catalyst

jagdish eashwar jagdish.eashwar at gmail.com
Fri Apr 17 04:15:41 GMT 2009


No, 'c.uri_for' doesn't seem to work. With 'Catalyst.uri_for', I am at least
able to fetch records from the database. If I change it to 'c.uri_for', even
that stops.

On Thu, Apr 16, 2009 at 9:59 PM, Peter Karman <peter at peknet.com> wrote:

> jagdish eashwar wrote on 04/16/2009 10:30 AM:
>
> > [% META title =3D 'Advent AJAX Grid' %]
> > <script type =3D "text/javascript">
> >     var posturl =3D '[% Catalyst.uri_for("/people_data_submit") %]';
> >     var gridurl =3D '[% Catalyst.uri_for("/people_data") %]';
>
> Should probably be:
>
> >     var posturl =3D '[% c.uri_for("/people_data_submit") %]';
> >     var gridurl =3D '[% c.uri_for("/people_data") %]';
>
>
> --
> Peter Karman  .  peter at peknet.com  .  http://peknet.com/
>
>
> _______________________________________________
> 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/20090417/9462a=
fef/attachment.htm


More information about the Catalyst mailing list