Thanks, I will give it a try.<br><br>I thought of the optimization because the &quot;onchange&quot; attrubute of the select tag contains a lot of javascript code. If I don&#39;t update the code on each ajax request it could save time on both the server and client.<br>
<br>Jan.<br><br><br><div class="gmail_quote">On Sat, Jun 12, 2010 at 1:44 PM, Julian Fitzell <span dir="ltr">&lt;<a href="mailto:jfitzell@gmail.com">jfitzell@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Well, the callbacks are stored in the RenderContext, which is in the<br>
ActionPhaseContinuation. There&#39;s no provided API for getting the<br>
current action phase continuation at the moment, but it would be in<br>
the context stack and you could look it up again from the session<br>
based on the _k key. Maybe we should be stashing it in a<br>
RequestContext property so it is accessible - might be a useful thing<br>
to have around. As a test, you could customize<br>
WASession&gt;&gt;handleFiltered: to do that.<br>
<br>
I have no idea how beneficial the optimization would be, off the top of my head.<br>
<br>
Julian<br>
<div><div></div><div class="h5"><br>
On Sat, Jun 12, 2010 at 10:17 AM, Jan van de Sandt &lt;<a href="mailto:jvdsandt@gmail.com">jvdsandt@gmail.com</a>&gt; wrote:<br>
&gt; Hello,<br>
&gt;<br>
&gt; I have three select lists. When I select an item in the first list the<br>
&gt; second list should be updated. And when I select something in the second<br>
&gt; list the third list should be updated.<br>
&gt;<br>
&gt; I implemented this with jQuery and everything works fine. But I had an idea<br>
&gt; to make everything a bit more efficient by only updating the option tags and<br>
&gt; not the select tag itself on each ajax request. But now I run into the<br>
&gt; problem that the values of the WAValuesCallback are not updated<br>
&gt; automatically. Is there a way that I can get to the callback when processing<br>
&gt; the ajax request so I can update the values? Or should I just forget about<br>
&gt; this optimization.<br>
&gt;<br>
&gt; Jan<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; seaside mailing list<br>
&gt; <a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br>
&gt; <a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
&gt;<br>
&gt;<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>
</blockquote></div>