Hi Jari<div><br></div><div>No, doesn&#39;t make any difference. Still makes a get request to <a href="http://localhost/foos/1/?value=New+name">http://localhost/foos/1/?value=New+name</a> instead of the correct request. </div>
<div><br></div><div>Sincerely</div><div><br></div><div>Nina<br><br><div class="gmail_quote">On Thu, Apr 2, 2009 at 6:27 PM, Jari Bakken <span dir="ltr">&lt;<a href="mailto:jari.bakken@gmail.com">jari.bakken@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<br>
As you can see, by using celerity the http-request is wrong (it is a get request instead of a post, and it goes to &quot;/foos/1/?value=New+name&quot; instead of &quot;/foos/set_foo_name/1&quot;) .<br>
</blockquote>
<br></div>
Try this:<br>
<br>
Celerity::Browser.new(:resynchronize =&gt; true)<br>
<br>
See <a href="http://wiki.github.com/jarib/celerity/ajax" target="_blank">http://wiki.github.com/jarib/celerity/ajax</a> for details.<br>
<br>
Also, Browser#html will always show the HTML string from the original request of the page. If you want the current DOM representation (inluding changes made by JavaScript), try Browser#xml instead.<br>
<br>
<br>
_______________________________________________<br>
Celerity-users mailing list<br>
<a href="mailto:Celerity-users@rubyforge.org" target="_blank">Celerity-users@rubyforge.org</a><br>
<a href="http://rubyforge.org/mailman/listinfo/celerity-users" target="_blank">http://rubyforge.org/mailman/listinfo/celerity-users</a><br>
</blockquote></div><br></div>