<div class="gmail_quote">2009/2/25 Lukas Renggli <span dir="ltr">&lt;<a href="mailto:renggli@gmail.com">renggli@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Maybe a feature request in the issue<br>
tracker would put some pressure on us ;-)</blockquote><div><br>I&#39;ll report it tomorrow <br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<div class="Ih2E3d"><br>
&gt; PS: Why do I need this? because I&#39;m doing a rendering process inside a model<br>
&gt; and I&#39;m inserting that updater into the page via Comet, but I don&#39;t want to<br>
&gt; keep the &#39;html&#39; inside the page as an instance variable, just the values I<br>
&gt; need (like the url and the parameters).<br>
<br>
</div>It sounds a bit ugly, that the model needs to know about the view.<br>
What about applying the observer pattern (or one of its incarnations),<br>
so that the view gets notified about changes in the model? Like this<br>
your model and view would be separated and you could create the script<br>
from the right context.</blockquote><div><br>I had simplified the context of our framework, our model indeed does not know anything about the observers. What it does(the model) is to trigger an Announce, and then (via announcements mechanism) all the dependents get that announce. The ugly part, is that we use blocks to &quot;render the announcers&quot; and therefore we need to put the html inside the block, or inside the web page. <br>
<br>We will see if doing more hacking or just simply add the html is good for us.<br>As always, thanks for your quickly response. <br>Lautaro Fernández<br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<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><br clear="all"><br>-- <br>Luke LAut SkyFernadezWalker<br>