On 2010-08-10, at 10:32 AM, Andrew R. Kinnie wrote:
> Greetings all, again.
>
> I have this ongoing issue with attachments > 15 MB using
> ERAttachmentFlexibleUpload. I created a component which contains 5 different
> ERAttachmentFlexibleUpload components (one for each of 5 possible attachments
> allowed per communication.
>
> We have set a property per the instructions, creating the limit of 15 mb.
>
> Basically, the component lets you upload one file at a time, up to 5. There
> is a choose file button which appears until 5 have been uploaded. When
> clicked, it using the ERAttachmentFlexibleUpload to do it's thing, then goes
> back to choose file for the next one (up to 5).
>
> We have the following bindings:
>
> Attachment1Upload : ERAttachmentFlexibleUpload {
> failedFunction = "alert(\"Your upload is too large. The maximum size is
> 15 MB.\")";
> finishedFunction = "attachmentUploadContainerUpdate()";
> configurationName = "CCCommunication.attachments";
> editingContext = communication.editingContext;
> attachment = communication.attachment1;
> selectFileLabel = "Choose a file";
> editorEditButtonClass = "prettyButton";
> selectFileButtonClass = "prettyButton";
> cancelButtonClass = "prettyButton";
> editorEditLabel = "Change";
> injectDefaultCSS = false;
> clearUploadProgressOnSuccess = true;
> innerUploadContainerId = "attachmentUploadContainer";
> outerUploadContainerId = "attachmentUploadContainer";
> }
What are these bindings?
> innerUploadContainerId = "attachmentUploadContainer";
> outerUploadContainerId = "attachmentUploadContainer";
And why are they set to the same value?
>
> Anyway, everything seems to work, except when someone tries to upload a file
> slightly bigger than 15 mb, it fails, with the alert, then it goes back to
> the choose file. . . then within a second the button disappears and the
> message "Upload Starting . . . " displays, despite the upload having already
> failed. There appears to be no way to clear this, other than closing the
> message and starting a new one (thereby losing whatever we had), or closing
> the attachment modal dialog and sending it with what we have. Neither is
> ideal.
>
> Oddly, apparently when the file is way too big (e.g. 30 mb) this issue does
> not happen. It fails, and goes back to the choose file, as I would expect.
>
> So . . . this appears to be related to the progress polling, though the
> progress bar doesn't appear. Dave Avendasora looked at it too, as did
> another guy here. None of us can seem to resolve it without digging much
> deeper into wonder. So I thought it would be a good idea to post. Dave will
> follow up.
>
> Any ideas?
>
> Andrew Kinnie
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list ([email protected])
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-dev/dleber_wodev%40codeferous.com
>
> This email sent to [email protected]
;david
--
David LeBer
Codeferous Software
'co-def-er-ous' adj. Literally 'code-bearing'
site: http://codeferous.com
blog: http://davidleber.net
profile: http://www.linkedin.com/in/davidleber
twitter: http://twitter.com/rebeld
--
Toronto Area Cocoa / WebObjects developers group:
http://tacow.org
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]