<br><br><div class="gmail_quote">On Tue, Apr 13, 2010 at 7:04 PM, Nevin Pratt <span dir="ltr">&lt;<a href="mailto:nevin@bountifulbaby.com">nevin@bountifulbaby.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im"><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I hope there&#39;s another solution, other than external style sheets, because as I peruse my 44 #style methods in my package, I rediscover that I need to dynamically calculate some widths and heights, so in some cases I need to implement styles based on individual instances.<br>

<br>
Do people ever combine external style sheets and #style methods?<br>
<br>
  <br>
</blockquote>
<br></div>
I realize the down-side of not having external style sheets, but having *everything* in the Smalltalk environment sure is a hard-to-resist and very sweet siren song of convenience.  Putting everything in the image gives you refactoring ability, plus a whole bunch more.<br>

<br>
But it also means having *no* external style sheets-- instead leaving you with having *all* of your style info inside the Smalltalk image.<br>
<br>
And, it&#39;s a siren song I find myself succumbing to more and more.  So, yes, some people do in fact combine external style sheets and #style methods. :-)<br>
<br>
And, yes, doing so does have a down-side.<br></blockquote><div><br>But really, a few lines in a WAFileLibrary method isn&#39;t truly an &quot;external&quot; style sheet and not much of a down side is it? Does it use that much server resources? Won&#39;t the client agent cache the bits? Seems a lot less cumbersome than all that Apache stuff. <br>
<br>Still the calculated measurements might require a kludge. Perhaps a calculated class would do the trick if the calculation results in a discrete and small number of outcomes.<br><br>John<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;">
<font color="#888888">
<br>
Nevin</font><div><div></div><div class="h5"><br>
<br>
<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>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><a href="http://jmck.seasidehosting.st">http://jmck.seasidehosting.st</a><br>