<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3157" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face="Trebuchet MS" size=2><SPAN class=765592802-23082007>Hi
there,</SPAN></FONT></DIV>
<DIV><FONT face="Trebuchet MS" size=2><SPAN
class=765592802-23082007></SPAN></FONT> </DIV>
<DIV><FONT face="Trebuchet MS" size=2><SPAN
class=765592802-23082007> it's me again talking about
libraries :)</SPAN></FONT></DIV>
<DIV><FONT face="Trebuchet MS" size=2><SPAN
class=765592802-23082007></SPAN></FONT> </DIV>
<DIV><FONT face="Trebuchet MS" size=2><SPAN
class=765592802-23082007> 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
class=765592802-23082007></SPAN></FONT> </DIV>
<DIV><FONT face="Trebuchet MS" size=2><SPAN
class=765592802-23082007>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
class=765592802-23082007></SPAN></FONT> </DIV>
<DIV><FONT face="Trebuchet MS" size=2><SPAN class=765592802-23082007>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
class=765592802-23082007></SPAN></FONT> </DIV>
<DIV><FONT face="Trebuchet MS" size=2><SPAN
class=765592802-23082007> cheers,</SPAN></FONT></DIV>
<DIV><FONT face="Trebuchet MS" size=2></FONT> </DIV>
<DIV align=left><SPAN class=250542422-20122006>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt" align=left><?xml:namespace prefix
= st1 ns = "urn:schemas-microsoft-com:office:smarttags" /><st1:PersonName
ProductID="Sebastian Sastre " w:st="on"><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Trebuchet MS'">Sebastian
Sastre<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office"
/><o:p></o:p></SPAN></st1:PersonName></P></DIV></SPAN>
<DIV><FONT face="Trebuchet MS" size=2></FONT> </DIV></BODY></HTML>