Hello list, I was wondering if it's possible to create an instance of SUUpdater without using the normal:<br>(html updater) id: 'anID'; callback: [:renderer | someNiceRendering ].<br><br>If I do the following:<br>
updater := SUUpdater new.<br>updater url: '<a href="http://localhost:8080/seaside/meteoroid/counter">http://localhost:8080/seaside/meteoroid/counter</a>'. " == html context actionUrl withoutParameters"<br>
updater addParameters: #('_s'->'GaMJovPCAHDxFKZT' '_k'->'VLnoRkpz'). " == html context actionUrl parameters"<br>updater id: 'anID';<br> callback: [:renderer | someNiceRendering ].<br>
<br>It generates a JS(*), but when it renders the Update it does inside a div, not inside the body.<br><div class="nodeChildBox"><div class=""><div class="sourceRow"><span class="sourceLine">(*) </span><span class="sourceRowText">meteoroid.eval('new
Ajax.Updater(\'count\',\'<a href="http://localhost:8080/seaside/meteoroid/counter">http://localhost:8080/seaside/meteoroid/counter</a>\',{\'evalScripts\':true,\'parameters\':[\'_s=GaMJovPCAHDxFKZT\',\'_k=VLnoRkpz\'].join(\'&\')})')</span></div>
</div></div><br><br>So, It's possible to create a SUUpdater without the normal html? (of course, it has to work in an page)<br><br>Thanks in advance<br>Lautaro Fernández<br><br>PS: Why do I need this? because I'm doing a rendering process inside a
model and I'm inserting that updater into the page via Comet, but I
don't want to keep the 'html' inside the page as an instance variable,
just the values I need (like the url and the parameters).<br clear="all"><br>-- <br>Luke LAut SkyFernadezWalker<br>