<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 <<a href="mailto:mzaidi86@gmail.com">mzaidi86@gmail.com</a>> 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"><<a href="mailto:pdebruic@gmail.com" target="_blank">pdebruic@gmail.com</a>></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? 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">> Hi,<br>
><br>
> I have an autocomplete implemented on a text input. It is defined in the<br>
> following manner:<br>
><br>
> widget := html textInput.<br>
> widget script: (<br>
> html jQuery this autocomplete<br>
> autoFocus: true;<br>
> search: [:string | self getRows: string]<br>
> labels: [:each | each formatSelectionRow]<br>
> callback: [:value :script |<br>
> script callback: [self updateValue: value].<br>
> self renderOn: html]))<br>
><br>
> It is functional with a full refresh of the screen after a value is<br>
> selected from the rows that get returned from the search block. I'm trying<br>
> to remove this full refresh to improve user experience. Any ideas on how<br>
> to<br>
> do this?<br>
><br>
><br>
> Thanks,<br>
> Murtaza<br>
><br>
</div></div>> _______________________________________________<br>
> seaside mailing list<br>
<br>
> seaside@.squeakfoundation<br>
<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>
<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>