<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Sat, May 20, 2017 at 5:37 AM, Philippe Marschall <span dir="ltr"><<a href="mailto:philippe.marschall@gmail.com" target="_blank">philippe.marschall@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Fri, May 19, 2017 at 7:07 PM, Mariano Martinez Peck<br>
<<a href="mailto:marianopeck@gmail.com">marianopeck@gmail.com</a>> wrote:<br>
> Hi guys,<br>
><br>
> I do already have some filters (subclasses of WARequestFilter) in which I<br>
> implement #handleFiltered:. In these cases, I normally do some<br>
> "backend-only" stuff. But now, I have a usecase in which I would like to do<br>
> some backend stuff, but also, may want to answer some JS to be executed<br>
> besides the specific answer for that case. For example, I want to do<br>
> something like this:<br>
><br>
> script << ((html jQuery id: '#whatever') replaceWith:[:r |<br>
> self somethingRenderedOn: r.<br>
> ])<br>
<br>
</span>Just to be sure I understand you correctly: behind the filter is some<br>
request handler or component that does the actual rendering which you<br>
want to influence?<br></blockquote><div><br></div><div>Exactly. Imagine a JS script that I would like to render after each Seaside callback. </div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Cheers<br>
Philippe<br>
______________________________<wbr>_________________<br>
seaside mailing list<br>
<a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.<wbr>squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" rel="noreferrer" target="_blank">http://lists.squeakfoundation.<wbr>org/cgi-bin/mailman/listinfo/<wbr>seaside</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Mariano<br><a href="http://marianopeck.wordpress.com" target="_blank">http://marianopeck.wordpress.com</a><br></div>
</div></div>