Hi, is there a associated unit test for this functionality?<div><br class="webkit-block-placeholder"></div><div>Thanks,</div><div><br class="webkit-block-placeholder"></div><div>-Conrad<br><br><div><span class="gmail_quote">
On 8/22/07, <b class="gmail_sendername">Sebastian Sastre</b> &lt;<a href="mailto:ssastre@seaswork.com">ssastre@seaswork.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex">




<div>
<div><font face="Trebuchet MS" size="2"><span>Hi 
there,</span></font></div>
<div><font face="Trebuchet MS" size="2"><span></span></font>&nbsp;</div>
<div><font face="Trebuchet MS" size="2"><span>&nbsp;&nbsp;&nbsp; it&#39;s me again talking about 
libraries :)</span></font></div>
<div><font face="Trebuchet MS" size="2"><span></span></font>&nbsp;</div>
<div><font face="Trebuchet MS" size="2"><span>&nbsp;&nbsp;&nbsp; I saw the feature I was asking for 
already implemented with a minor bug which I patched with this 
method:</span></font></div>
<div><font face="Trebuchet MS" size="2"><span></span></font>&nbsp;</div>
<div><font face="Trebuchet MS" size="2"><span>renderLibrariesOn: html<br>&nbsp;html heading level2 
with: &#39;Libraries&#39;.<br>&nbsp;self libraryOptions isEmpty ifFalse: 
[<br>&nbsp;&nbsp;html text: &#39;Add Library: &#39;.<br>&nbsp;&nbsp;html 
select<br>&nbsp;&nbsp;&nbsp;list: self 
libraryOptions;<br>&nbsp;&nbsp;&nbsp;selected: 
nil;<br>&nbsp;&nbsp;&nbsp;callback: [ :value | library := value 
].<br>&nbsp;&nbsp;html space.<br>&nbsp;&nbsp;html 
submitButton<br>&nbsp;&nbsp;&nbsp;callback: [ self addLibrary 
];<br>&nbsp;&nbsp;&nbsp;text: &#39;Add&#39; ].<br>&nbsp;html unorderedList: 
[<br>&nbsp;&nbsp;application libraries do: [ :each |<br>&nbsp;&nbsp;&nbsp;html 
listItem: [<br>&nbsp;&nbsp;&nbsp;&nbsp;html text: 
each.<br>&nbsp;&nbsp;&nbsp;&nbsp;html space.<br>&nbsp;&nbsp;&nbsp;&nbsp;html 
anchor<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;callback: [ application removeLibrary: 
each ];<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;with: &#39;(remove)&#39; ] ] ].<br>&nbsp;html 
submitButton<br>&nbsp;&nbsp;text: &#39;write to disk&#39;;<br>&nbsp;&nbsp;title: &#39;writes 
all the libraries to disk&#39;;<br>&nbsp;&nbsp;callback: [ application 
writeLibrariesToDisk ]</span></font></div>
<div><font face="Trebuchet MS" size="2"><span></span></font>&nbsp;</div>
<div><font face="Trebuchet MS" size="2"><span>The change 
is very subtle. In the last line #application instvar is used instead of calling 
it with &quot;self application&quot;. That change was making that only the config 
application libraries where writed to disk instead of the application being 
configured.</span></font></div>
<div><font face="Trebuchet MS" size="2"><span></span></font>&nbsp;</div>
<div><font face="Trebuchet MS" size="2"><span>&nbsp;&nbsp;&nbsp; cheers,</span></font></div>
<div><font face="Trebuchet MS" size="2"></font>&nbsp;</div>
<div align="left"><span>
<p style="margin:0cm 0cm 0pt" align="left"><span style="font-size:10pt">Sebastian 
Sastre</span></p></span></div>
<div><font face="Trebuchet MS" size="2"></font>&nbsp;</div></div>
<br>_______________________________________________<br>Seaside mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:Seaside@lists.squeakfoundation.org">Seaside@lists.squeakfoundation</a>
<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:Seaside@lists.squeakfoundation.org">.org</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">
http://lists.squeakfoundation</a><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">.org/cgi-bin/mailman/listinfo/seaside</a>
<br><br></blockquote></div><br>&nbsp;</div>