Try the Ajax uploader.

On Jul 8, 2010, at 8:01 AM, Sreenivasulu A wrote:

> Hi All,
> 
> I am having file upload issue with ERXOptionalForm which is wrapped with 
> AjaxModalDialog. When I am going to upload the file in a modal window, it is 
> not accepting the file to upload. I did the below shown bindings to my 
> ModalDialog, ERXOptionalForm, WOFileUpload and AjaxSubmitButton.
> 
> 
> WOFileUpload(OR)ERXWOFileUpload bindings are:  (pic is of NSData type)
> =======================================================
> FileUpload1: WOFileUpload {
>     data = pic;
>     filePath = fileName;
> }
> 
> 
> AjaxSubmitButton bindings are:
> ========================
> SaveDocButton: AjaxSubmitButton {
>     value = session.localizer.save;
>     action = saveDoc;
>     formName = "ContractOptionalForm";
>     updateContainerID = "ContractUpdateContainer";
>     class = "ok";
> }
> 
> 
> ERXOptionalForm bindings are:
> =======================
> ContractOptionalForm: ERXOptionalForm {
>     enctype = "multipart/form-data";
>     multipleSubmit = true;
>     name = "ContractOptionalForm";
> }
> 
> 
> AjaxModalDialog bindings are:
> ======================
> ContractDialog: AjaxModalDialog {
>     id = "ContractDialog";
>     centerVertically = true;
>     closeValue = "Close";
>     height = "-1";
>     onClose = close;
>     overlayClose = false;
>     showOpener = false;
>     transitions = false;
>     width = "-1";
> }
> 
> 
> 
> Please get rid of this issue.
> 
> 
> Thanks & Regards,
> Sreenivasulu Arveti.
> _______________________________________________
> 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/chill%40global-village.net
> 
> This email sent to [email protected]

-- 
Chuck Hill             Senior Consultant / VP Development

Practical WebObjects - for developers who want to increase their overall 
knowledge of WebObjects or who are trying to solve specific problems.    
http://www.global-village.net/products/practical_webobjects







Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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]

Reply via email to