0 Replies Latest reply on Aug 17, 2012 12:26 AM by Vanidha

    Cq 5.5 - xtype html5fileupload

    Vanidha

      Hi,

       

      I am using the xtype 'html5fileupload' to show a browse dialog (I am using it inside a js file). I am facing the following issues with that.

       

      1. the file name is not displayed in the browse(text) field  after  selecting the file.

       

      2. neither the file name nor any data is submitted to the form

       

      following are the config options I have used

       

      "items": {

                                  "jcr:primaryType": "cq:Panel",

                                  "items": {

                                           "name": "xmlFile",

                                           "xtype": "html5fileuploadfield",

                                           "buttonText":"Select File",

                                           "allowBlank":false,

                                           "submitValue":true,

                                           "fieldDescription": CQ.I18n.getMessage("Please select the translated xml file."),

                                  }

      }

       

      Could any one help with some clue on how to fix it? thanks in advance.

       

      regards,

      Vanidha.