On Mon, Mar 30, 2009 at 10:46:57AM -0700, J. Shirley wrote: > On Mon, Mar 30, 2009 at 10:31 AM, Emmanuel Quevillon <t...@pasteur.fr> wrote: > function remove_item(id){ > Jemplate.process('test.tt2', > '[% Catalyst.uri_for("/rest/item/") %]'+id, > '#_item'); > } > > Thanks for this help > > Emmanuel > > > Oh, I missed it because it just is a Jemplate.process line... didn't even see > the remove_item. > > That's a GET request, since it just fetches something remotely from the server > and does nothing else.
As an aside, conceptually, using your template's "process" method to delete an item seems really crazy. hdp. _______________________________________________ List: Catalyst@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/