<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div style="margin-left: 40px;">----- Original Message ----<br>From: Andrew Hanenkamp &lt;sterling@hanenkamp.com&gt;<br><br></div><div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 6.8ex; padding-left: 1ex;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;% Jifty-&gt;web-&gt;form-&gt;start %&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;% Jifty-&gt;web-&gt;link<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (label&nbsp;&nbsp;=&gt; 'Delete',<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;as_link =&gt; 1,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;onclick =&gt;
 {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;submit =&gt; $delAction,</blockquote>
<div style="margin-left: 40px;"><br>Replace the line above with:<br><br>&nbsp; submit =&gt; { action =&gt; $delAction, arguments =&gt; { id =&gt; $request-&gt;id(), }, },<br>&nbsp;<br>and drop the line below starting with "args =&gt; ".<br></div><div style="margin-left: 40px;"><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;args =&gt; { id =&gt; $request-&gt;id() },<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;refresh_self =&gt; 1 }) %&gt;&lt;/TD&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;% Jifty-&gt;web-&gt;form-&gt;end %&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp; &lt;/TR&gt;<br><br>%&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp;&nbsp; &lt;/TABLE&gt;<br>%&nbsp;&nbsp;&nbsp;&nbsp;}<br></div>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br><br></blockquote>I did so, but it didn't work either. The ID is somehow passed to the Action, but it does not load the object from database before taking action.<br><br><br></div></div></div></div></body></html>