Thanks. I will double check the code and update the code or docs
accordingly.
On 6/8/06, Ed Howland <ed.howland at gmail.com>
wrote:>
> Hi,
>
> The documentation at masterview.org for the link_to_remote directive
> may be a bit off. In order to make it work I needed the example to be:
>
> <a mv:link_to_remote=":url => {:action =>
''new''}">New product</a>
>
> becomes
>
> %= link_to_remote ''New product'', :url => {:action
=> ''new''} %>
>
> Note, that I am using RJS templates, which do not use the :update tag
> in the link_to_remote. The proper Non-RJS example would probably look
> like:
>
> <a mv:link_to_remote=":update => ''mydiv'', :url
=> {:action =>
> ''new''}">New product</a>
>
>
> Ed
> --
> Ed Howland
> http://greenprogrammer.blogspot.com
> _______________________________________________
> Masterview-users mailing list
> Masterview-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/masterview-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://rubyforge.org/pipermail/masterview-users/attachments/20060608/3c25e4c4/attachment.htm