Results 1 to 2 of 2

Thread: filefield question

  1. #1
    Sencha User
    Join Date
    Aug 2012
    Posts
    6
    Answers
    1

    Default filefield question

    Sorry but I'm fresh with ExtJs .... bla, bla, bla

    simple field
    :

    { xtype: 'filefield',
    itemId: 'FF2',
    name: 'wn_files[]',
    ...
    listeners:{
    afterrender: function(cmp) {
    cmp.fileInputEl.set({ multiple: 'multiple' });
    },
    ...
    }

    and not (as for me question) simple question. I choose 4 files and everything
    is ok, and (on the server side) symphony2 get wn_files[] table with 4 elements,
    upload them - supper. But I have no idea how to find four names of this files
    in ExtJS before I submit.

    Would you be so kind as ...



  2. #2
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,449
    Answers
    3997

    Default

    The only way to get information on a file is with a HTML5 capable browser that supports the File api. For example, IE9 or older will not allow this at all.
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Fullstack Engineer
    ________________
    Modus Create is based on the model of an open source team. We’re a remote, global team of experts in our field. To find out more about the work we do, head over to our website.

    Check out my GitHub:
    https://github.com/mitchellsimoens

Similar Threads

  1. Help with 'filefield' control in IE 9
    By brothnie in forum Ext: Q&A
    Replies: 3
    Last Post: 2 Apr 2015, 10:06 PM
  2. get the path of FileField
    By vinachrist in forum Ext: Q&A
    Replies: 1
    Last Post: 16 Jul 2014, 10:56 AM
  3. one question of filefield
    By xiaozi141 in forum Ext: Q&A
    Replies: 1
    Last Post: 11 Aug 2013, 12:10 PM
  4. filefield questions
    By santosh.kumar in forum Ext: Q&A
    Replies: 1
    Last Post: 13 Nov 2012, 1:16 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •