Re: FileUpload problem in AjaxModalDialog
Re: FileUpload problem in AjaxModalDialog
- Subject: Re: FileUpload problem in AjaxModalDialog
- From: Chuck Hill <email@hidden>
- Date: Thu, 8 Jul 2010 08:10:59 -0700
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@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
--
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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden