[Seaside] Re: Magritte class MAFileUploadComponent is broken
John Chludzinski
john.chludzinski at gmail.com
Wed Mar 17 20:54:23 UTC 2010
Seaside 3.0.
On Wed, Mar 17, 2010 at 3:07 PM, John Chludzinski <
john.chludzinski at gmail.com> wrote:
> Spoke too soon: MAFileModel>>maintype should be: ^ self mimetype "copyUpTo:
> $/". Found this when I tried to save a Magritte report containing the
> uploaded pic. ---John
>
>
> On Wed, Mar 17, 2010 at 2:41 PM, John Chludzinski <
> john.chludzinski at gmail.com> wrote:
>
>> I was trying to upload a pic file using MAFileUploadComponent. The
>> method #renderEditorOn: calls #renderRemoveOn:. which in turn calls
>> MAFileModel>>renderOn:. Currently, the statement which reads: stream
>> nextPutAll: self mimetype; nextPut: $) ]); should be: stream nextPutAll:
>> self mimetype greaseString; nextPut: $) ]); . In addition,
>> MAFileModel>>renderOn: calls #urlFor: which calls WARenderContext>>registry,
>> which isn't there (I added it). MAFileModel>>urlFor: also calls
>> WARegistry>>urlForRequestHandler:, which isn't there (I added it), which
>> calls #handlerField, which isn't there (I added it).
>>
>> Now it works.
>>
>> ---John
>>
>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20100317/39246243/attachment.htm
More information about the seaside
mailing list