On 2/20/07, <b class="gmail_sendername">Lea Viljanen</b> <<a href="mailto:Lea.Viljanen@cs.helsinki.fi">Lea.Viljanen@cs.helsinki.fi</a>> 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><%= link_to 'Destroy', { :action => 'destroy', :id => component },<br>:confirm => 'Are you sure?', :post => true %><br><br>in an application I'm converting to use Masterview. However, I haven'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> - Lea<br><br>--<br>Lea 'LadyBug' Viljanen Independent security consultant.<br><a href="mailto:ladybug@iki.fi">ladybug@iki.fi</a> <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>