That looks like the right solution. I will fix it in the code-base.
Lukas
On 22 July 2010 22:17, dtrussardi(a)tiscali.it <dtrussardi(a)tiscali.it> wrote:
Hi,
i work with Magritte2 on Pharo and GLASS.
The MAFileModel method:
renderOn: html "Renders a download link of the receiver." html anchor title:
(String streamContents: [ :stream | stream nextPutAll: self filename;
nextPutAll: ' ('. stream nextPutAll: self filesize asFileSize; nextPutAll:
', '. stream nextPutAll: self mimetype ; nextPut: $) ]); url: self url;
with: self filename
erase the error:
MessageNotUnderstood 2010: No method was found for the selector <#'do:'>
when sent to <aWAMimeType(image/jpeg)> with arguments contained in <anArray(
aComplexBlock)>.
i change it with:
stream nextPutAll: self mimetype asString ;
Now it work fine, but i don't know if it is right solution.
Thanks,
Dario
_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki