On 2/20/07, <b class="gmail_sendername">Lea Viljanen</b> &lt;<a href="mailto:Lea.Viljanen@cs.helsinki.fi">Lea.Viljanen@cs.helsinki.fi</a>&gt; wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I have a link in the form of:<br><br>&lt;%= link_to &#39;Destroy&#39;, { :action =&gt; &#39;destroy&#39;, :id =&gt; component },<br>:confirm =&gt; &#39;Are you sure?&#39;, :post =&gt; true %&gt;<br><br>in an application I&#39;m converting to use Masterview. However, I haven&#39;t
<br>found a way to achieve exactly this with mv:link_to. Note, that in my<br>original application, the :confirm and :post get converted by Rails<br>framework to a piece of onclick= javascript, but Masterview just adds<br>
the :confirm and :post parameters to the link URL.<br><br>I could go through a separate destroy form/page, but I prefer it this<br>way, it gives direct feedback to user instead of jumping between pages.<br><br>Any hints appreciated,
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;- Lea<br><br>--<br>Lea &#39;LadyBug&#39; Viljanen&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Independent security consultant.<br><a href="mailto:ladybug@iki.fi">ladybug@iki.fi</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://www.lavsecurity.fi/">http://www.lavsecurity.fi/
</a><br></blockquote></div><br><br>I will take a look and see whether it is a syntax issue or defect. <br>