<div>Hi Lukas!</div>
<div>&nbsp;</div>
<div>It works, thanks a lot!</div>
<div>&nbsp;</div>
<div>But i dont fully understand the magic of the selection handler!</div>
<div>&nbsp;</div>
<div>br</div>
<div>&nbsp;</div>
<div>Gerhard</div>
<div>&nbsp;</div>
<div>selectionHandlerOn: html<br>&nbsp;^ html evaluator<br>&nbsp;&nbsp;callback: [ :value | properties at: &#39;result&#39; put: (html context callbacks at: value ifAbsent: [ nil ]) ]<br>&nbsp;&nbsp;&nbsp;value: (SUStream new<br>&nbsp;&nbsp;&nbsp;&nbsp;nextPutAll: &#39;arguments[1].id.match&#39;;<br>
&nbsp;&nbsp;&nbsp;&nbsp;argument: SUSortable passengerRegexp;<br>&nbsp;&nbsp;&nbsp;&nbsp;nextPutAll: &#39;[1]&#39;)<br><br></div>
<div class="gmail_quote">On Fri, Mar 21, 2008 at 7:46 PM, Lukas Renggli &lt;<a href="mailto:renggli@gmail.com">renggli@gmail.com</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>
<div></div>
<div class="Wj3C7c">&gt; Is it possible to get back the real object using the scriptaculous<br>&gt; autocompleter.<br>&gt; By default only the display string is set to the input field.<br>&gt; But i need the real selected instance from the dropdown list.<br>
<br></div></div>See PRAjaxSearchWidget, the search widget of Pier. It assigns a<br>passenger to each list item and seralized it back to the server.<br><br>Cheers,<br>Lukas<br><font color="#888888"><br>--<br>Lukas Renggli<br>
<a href="http://www.lukas-renggli.ch/" target="_blank">http://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></font></blockquote></div><br>