Hi Lukas,<div><br></div><div>I loaded the latest version of seaside into my image and the values are not passed correctly to the server! </div><div><br></div><div>Output: &#39;bind(&quot;move_node.jstree&quot;, function(e, data) {</div>
<div>            data.rslt.o.each(function(i) {</div><div>                $.ajax({</div><div>                    &quot;type&quot;: &quot;POST&quot;,</div><div>                    &quot;data&quot;: [&quot;event=move_node.jstree&quot;, &quot;performcopy=&quot; + encodeURIComponent(<a href="http://data.rslt.cy">data.rslt.cy</a>), &quot;id=&quot; + encodeURIComponent($(this).attr(&quot;id&quot;)), &quot;metadata=&quot; + encodeURIComponent(JSON.stringify($(this).data(&quot;jstree&quot;))), &quot;ref_id=&quot; + encodeURIComponent(data.rslt.np.attr(&quot;id&quot;)), &quot;ref_metadata=&quot; + encodeURIComponent(JSON.stringify(data.rslt.np.data(&quot;jstree&quot;))), &quot;position=&quot; + encodeURIComponent(data.rslt.cp + i), &quot;title=&quot; + encodeURIComponent(<a href="http://data.rslt.name">data.rslt.name</a>), &quot;_s=0XbqEsXeVEcCSt4d&quot;, &quot;_k=3IxUCj29hBb9rgbS&quot;, &quot;5&quot;].join(&quot;&amp;&quot;),</div>
<div>                    &quot;url&quot;: &quot;/questionmanager&quot;</div><div>                })</div><div>            })&#39;</div><div><br></div><div>The encoding really does the trick!</div><div><br></div><div>Regards,</div>
<div><br></div><div>Bart</div><div><br><br><div class="gmail_quote">2010/8/15 Lukas Renggli <span dir="ltr">&lt;<a href="mailto:renggli@gmail.com">renggli@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On 15 August 2010 18:56, Bart Veenstra &lt;<a href="mailto:bart.veenstra@gmail.com">bart.veenstra@gmail.com</a>&gt; wrote:<br>
&gt; I am using the packaged seaside version that comes with VW 7.7. Not updated<br>
&gt; to latest, because I ran into issues getting the latest out of the cincom<br>
&gt; public repository.<br>
&gt; I do have the latest version loaded into pharo and it uses JSJoin for the<br>
&gt; data option in JQAjax so the java variabels will still be treated as a<br>
&gt; String.<br>
<br>
</div>The printing of JSJoin changed, not the representation.<br>
<div class="im"><br>
&gt; Using a dictionary for the dataparams is a way to fix this,  but I<br>
&gt; understand your concerns with multiple keys of the same value. I haven&#39;t<br>
&gt; figured that one out yet :) maybe using a Dictionary which allows double<br>
&gt; keys?<br>
<br>
</div>This is not the problem. The issue is that methods like serialize<br>
(<a href="http://api.jquery.com/serialize/" target="_blank">http://api.jquery.com/serialize/</a>) return pre-encoded strings that<br>
need to be &quot;concatenated&quot; with the dictionary.<br>
<br>
Lukas<br>
<font color="#888888"><br>
--<br>
</font><div><div></div><div class="h5">Lukas Renggli<br>
<a href="http://www.lukas-renggli.ch" target="_blank">www.lukas-renggli.ch</a><br>
_______________________________________________<br>
seaside mailing list<br>
<a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
</div></div></blockquote></div><br></div>