Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    uploading photos on IE(any version) using smartGWT uploader is not working

    i am using smartGWT for my application, and have a functionality to upload from from a popup window. this functionality is working fine in all browsers except IE(all versions).

    and here is some piece of code to upload a image on server from client side,

    =========== JAVA CODE ==============
    final DynamicForm uploadForm = new DynamicForm();
    uploadForm.setUseAllDataSourceFields(true);
    uploadForm.setDataSource(DataSource.get("uploadSPF ile"));
    uploadFileName=uploadForm.getValue("file").toStrin g();

    =========== .ds.xml file ==============

    <DataSource ID="uploadSPFile">
    <fields>
    <field name="file" type="binary" />
    <field name="type" type="text" editorType="hidden" />
    <field name="user_name" type="text" editorType="hidden" />
    <field name="fileName" type="text" editorType="hidden" />
    <field name="spId" type="text" editorType="hidden" />
    <field name="isSizeOk" type="text" editorType="hidden" />
    </fields>

    <serverObject className="com.smartgwt.obs.server.servlet.SPUploa d" />
    <operationBindings>
    <binding operationType="update" serverMethod="saveFile" />
    <binding operationType="add" serverMethod="saveFile" />
    </operationBindings>
    </DataSource>

    #2
    Given the Very similar working sample, there's obviously nothing we can do with this information - see the FAQ for what you should include (always the same information).

    Comment

    Working...
    X