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> <<a href="mailto:ssastre@seaswork.com">ssastre@seaswork.com</a>> 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> </div>
<div><font face="Trebuchet MS" size="2"><span> it's me again talking about
libraries :)</span></font></div>
<div><font face="Trebuchet MS" size="2"><span></span></font> </div>
<div><font face="Trebuchet MS" size="2"><span> 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> </div>
<div><font face="Trebuchet MS" size="2"><span>renderLibrariesOn: html<br> html heading level2
with: 'Libraries'.<br> self libraryOptions isEmpty ifFalse:
[<br> html text: 'Add Library: '.<br> html
select<br> list: self
libraryOptions;<br> selected:
nil;<br> callback: [ :value | library := value
].<br> html space.<br> html
submitButton<br> callback: [ self addLibrary
];<br> text: 'Add' ].<br> html unorderedList:
[<br> application libraries do: [ :each |<br> html
listItem: [<br> html text:
each.<br> html space.<br> html
anchor<br> callback: [ application removeLibrary:
each ];<br> with: '(remove)' ] ] ].<br> html
submitButton<br> text: 'write to disk';<br> title: 'writes
all the libraries to disk';<br> callback: [ application
writeLibrariesToDisk ]</span></font></div>
<div><font face="Trebuchet MS" size="2"><span></span></font> </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 "self application". 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> </div>
<div><font face="Trebuchet MS" size="2"><span> cheers,</span></font></div>
<div><font face="Trebuchet MS" size="2"></font> </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> </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> </div>