1 %# $Id: delete.mc,v 1.5 2007-02-20 19:21:26 mike Exp $
9 Are you sure you want to delete the target
10 <% xml_encode($id) %>?
13 <a href="?really=1&id=<% xml_encode(uri_escape($id)) %>">Yes</a><br/>
14 <a href="/full.html?id=<% xml_encode(uri_escape($id)) %>">No</a><br/>
18 my $conn = new ZOOM::Connection("localhost:8018/IR-Explain---1", 0,
19 user => "admin", password => "fruitbat",
20 elementSetName => "zeerex");
21 # I am thinking that ZOOM should provide delete(), update(), etc.
22 my $p = $conn->package();
23 $p->option(action => "recordDelete");
24 $p->option(recordIdOpaque => $id);
25 $p->option(record => "<dummy/>"); # Work around Zebra bug
29 $p = $conn->package();