<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">If I recall correctly, the JQueryUI Autocomplete does not trigger a page-refreshing callback.<div>The full refresh is probably coming from the form submission if you embedded the text input inside a form.</div><div><br></div><div>Suppress the form submission and add the script to be executed on selection to the :script argument of the callback block. It is identical to the script argument of a jQuery ajax #script: block</div><div><br></div><div>Johan</div><div><br></div><div><br><div><div>On 18 Mar 2014, at 17:04, Murtaza Zaidi &lt;<a href="mailto:mzaidi86@gmail.com">mzaidi86@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">It should just re-render the text input field with the new value as opposed to refreshing the whole screen and re-rendering everything in the page.</div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Tue, Mar 18, 2014 at 11:33 AM, Paul DeBruicker <span dir="ltr">&lt;<a href="mailto:pdebruic@gmail.com" target="_blank">pdebruic@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">
What do you want to have happen? &nbsp; A person chooses an entry from the<br>
autocomplete suggestion and then ________ ?<br>
<br>
<br>
<br>
<br>
<br>
<br>
Murtaza Zaidi wrote<br>
<div><div class="h5">&gt; Hi,<br>
&gt;<br>
&gt; I have an autocomplete implemented on a text input. It is defined in the<br>
&gt; following manner:<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; widget := html textInput.<br>
&gt; widget script: (<br>
&gt; html jQuery this autocomplete<br>
&gt; autoFocus: true;<br>
&gt; search: [:string | self getRows: string]<br>
&gt; labels: [:each | each formatSelectionRow]<br>
&gt; callback: [:value :script |<br>
&gt; script callback: [self updateValue: value].<br>
&gt; self renderOn: html]))<br>
&gt;<br>
&gt; It is functional with a full refresh of the screen after a value is<br>
&gt; selected from the rows that get returned from the search block. I'm trying<br>
&gt; to remove this full refresh to improve user experience. Any ideas on how<br>
&gt; to<br>
&gt; do this?<br>
&gt;<br>
&gt;<br>
&gt; Thanks,<br>
&gt; Murtaza<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; seaside mailing list<br>
<br>
&gt; seaside@.squeakfoundation<br>
<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>
<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://forum.world.st/Removing-full-refresh-tp4749616p4749621.html" target="_blank">http://forum.world.st/Removing-full-refresh-tp4749616p4749621.html</a><br>
Sent from the Seaside General mailing list archive at <a href="http://Nabble.com">Nabble.com</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>
</blockquote></div><br></div>
_______________________________________________<br>seaside mailing list<br><a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br>http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside<br></blockquote></div><br></div></body></html>