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<br><br><div class="gmail_quote">On Wed, Mar 17, 2010 at 2:41 PM, John Chludzinski <span dir="ltr"><<a href="mailto:john.chludzinski@gmail.com">john.chludzinski@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div>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). <br>
</div><div><br></div><div>Now it works.</div><div><br></div><font color="#888888"><div>---John</div><br><br><br>
</font></blockquote></div><br>