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