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/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to