[Seaside] Patch for WAApplicationEditor>>renderLibrariesOn:
ssastre at seaswork.com
Thu Aug 23 02:33:01 UTC 2007
it's me again talking about libraries :)
I saw the feature I was asking for already implemented with a minor bug
which I patched with this method:
html heading level2 with: 'Libraries'.
self libraryOptions isEmpty ifFalse: [
html text: 'Add Library: '.
list: self libraryOptions;
callback: [ :value | library := value ].
callback: [ self addLibrary ];
text: 'Add' ].
html unorderedList: [
application libraries do: [ :each |
html listItem: [
html text: each.
callback: [ application removeLibrary: each ];
with: '(remove)' ] ] ].
text: 'write to disk';
title: 'writes all the libraries to disk';
callback: [ application writeLibrariesToDisk ]
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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the seaside