Hello dear list !<br><br>Finally, I&#39;ve solved the problem by using a html anchor with the same callback, but it works <br>thanks for your help.<br><br><div class="gmail_quote">2010/5/25 Robert Sirois <span dir="ltr">&lt;<a href="mailto:watchlala@hotmail.com">watchlala@hotmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">



<div>
The expected action being a reload? The in-place editor is an ajax component, so the idea is that it doesn&#39;t reload the page ;) I believe hitting enter in the field submits the request (which is gonna be the #triggerInPlaceEditor: block I think), and then it will render the new value from the text field.<br>
<br>If you really want a page reload, it might be easier to create another event like #onBlur: or associate a button.<br><br>RS<br><br><hr>Date: Tue, 25 May 2010 10:56:12 +0200<br>Subject: Re: [Seaside] order a refresh page (in a callback)<br>
From: <a href="mailto:benoit.delmotte@gmail.com" target="_blank">benoit.delmotte@gmail.com</a><br>To: <a href="mailto:seaside@lists.squeakfoundation.org" target="_blank">seaside@lists.squeakfoundation.org</a><div><div></div>
<div class="h5"><br><br>It doesn&#39;t do the excepted action<br><br>I render BDs by titles or by Series<br>I use the inPlaceCollectionEditor script:<br><br>(aList contains &#39;serie&#39; and &#39;title&#39;)<br><br>                    html span<br>

                         script: (html scriptaculous inPlaceCollectionEditor<br>                                  collection: aList;<br>                                 cancelControl: &#39;button&#39;;<br>                                  triggerInPlaceEditor: [ :value | selected := value ];<br>

                               callback: [ :r | r render: selected.<br>                                        self switchSerieTitle.<br>                                        html javascript refresh (or other solution)<br>

                                         ]);                              <br>                                 with: selected.<br><br>I have an attribute bySerieOrTitle I can change with the switchSerieTitle method <br>When it&#39;s changed I want the modification of the render immediate, (a manuel refresh after that do it).<br>

But javascript solutions do nothing visible.<br><br><br><br><div>2010/5/25 Karsten <span dir="ltr">&lt;<a href="mailto:karsten@heeg.de" target="_blank">karsten@heeg.de</a>&gt;</span><br><blockquote style="padding-left: 1ex;">




  
  

<div>
yeah, every normal callback will make the page refresh. <br>
<br>
If you want to refresh the whole page via ajax, you could register a
callback, like an anchor would do. Then take its url and then submit
javascript to the webpage like: window.location.href=myURL; That&#39;s all
a bit tricky though.<br>
<br>
Karsten<br>
<br>
<br>
Am 25.05.10 10:01, schrieb AxiNat:
<div><div></div><div><blockquote>I do it as follows:<br>
  <br>
html anchor callback: []; with: &#39;refresh me&#39;.<br>
  <br>
;)<br>
  <br>
  <div>2010/5/25 Benoît Delmotte <span dir="ltr">&lt;<a href="mailto:benoit.delmotte@gmail.com" target="_blank">benoit.delmotte@gmail.com</a>&gt;</span><br>
  <blockquote style="padding-left: 1ex;">Hello
everybody,<br>
    <br>
I just want to know if it&#39;s possible to order a refresh, with a special
call in a callback<br>
(if yes, how)<br>
    <br>
Thanks.<br>
    <br>
_______________________________________________<br>
seaside mailing list<br>
    <a href="mailto:seaside@lists.squeakfoundation.org" target="_blank">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>
    <br>
  </blockquote>
  </div>
  <br>
  <pre><fieldset></fieldset><br>_______________________________________________<br>seaside mailing list<br><a href="mailto:seaside@lists.squeakfoundation.org" target="_blank">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>
  </pre>
</blockquote>
<br>
</div></div><font color="#888888"><pre>-- <br>Karsten Kusche - Dipl. Inf. - <a href="mailto:karsten@heeg.de" target="_blank">karsten@heeg.de</a><br>Georg Heeg eK - Köthen<br>Handelsregister: Amtsgericht Dortmund A 12812 </pre>

</font></div>

<br>_______________________________________________<br>
seaside mailing list<br>
<a href="mailto:seaside@lists.squeakfoundation.org" target="_blank">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>
<br></blockquote></div><br>                                               <br></div></div><div class="hm"><hr>The New Busy think 9 to 5 is a cute idea. Combine multiple calendars with Hotmail.  <a href="http://www.windowslive.com/campaign/thenewbusy?tile=multicalendar&amp;ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_5" target="_blank">Get busy.</a></div>
</div>
<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>
<br></blockquote></div><br>