Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

  1. #1
    Sencha User
    Join Date
    Jul 2009
    Location
    Makati, City PH
    Posts
    80
    Vote Rating
    0
    dreamcaster is on a distinguished road

      0  

    Default Fileupload File Types

    Fileupload File Types


    Hello experts,

    In the ExtJS example in fileupload, how can I force the file upload field to choose only specific file types? e.g. .jpg or .doc only?

    Thanks
    Good design is more important than the underlying technology.

  2. #2
    Sencha User
    Join Date
    Jul 2009
    Location
    Makati, City PH
    Posts
    80
    Vote Rating
    0
    dreamcaster is on a distinguished road

      0  

    Default


    Anyone?
    Good design is more important than the underlying technology.

  3. #3
    Ext User
    Join Date
    Jul 2008
    Posts
    10
    Vote Rating
    0
    Bruce wang is on a distinguished road

      0  

    Default


    i have the same problem ,maybe it can't implement .

  4. #4
    Sencha User aw1zard2's Avatar
    Join Date
    Sep 2009
    Location
    Dallas, Texas
    Posts
    568
    Vote Rating
    32
    aw1zard2 has a spectacular aura about aw1zard2 has a spectacular aura about

      0  

    Default


    inside the Ext.onReady using the file example try this.

    fbutton.fileInput.dom.accept = "text/html,text/plain";

    Setting the accept property to the content type you need.
    It is comma separated.

    Let me know if this helps.

    I looked in firebug while viewing the sample putting a break before the formpanel loaded from the Ext.onReady.


  5. #5
    Sencha User
    Join Date
    Jul 2009
    Location
    Makati, City PH
    Posts
    80
    Vote Rating
    0
    dreamcaster is on a distinguished road

      0  

    Default


    Hi, thanks for the reply, Tried your solution but I got no luck.
    Good design is more important than the underlying technology.

  6. #6
    Sencha User aw1zard2's Avatar
    Join Date
    Sep 2009
    Location
    Dallas, Texas
    Posts
    568
    Vote Rating
    32
    aw1zard2 has a spectacular aura about aw1zard2 has a spectacular aura about

      0  

    Default


    Yeah sorry should have clarified it works in Opera fine but not the other browsers. And Opera still gives All files so kinda point less.

    For IE you can force the dom to use it by using the DOM.prototype.

    But the other browsers just need to get this working lol.

    It's been in the w3c for too long to not be supported.


  7. #7
    Sencha User aw1zard2's Avatar
    Join Date
    Sep 2009
    Location
    Dallas, Texas
    Posts
    568
    Vote Rating
    32
    aw1zard2 has a spectacular aura about aw1zard2 has a spectacular aura about

      0  

    Default


    I found that using swfupload for file uploads allows you to change the file type you want to see using the file dialog by using flash to control it.

    http://www.extjs.com/forum/showthread.php?t=82569

    The link above is a nice file upload queue that uses swfupload in which you can tell it what file types.

    File types are assigned like so:

    "*.jpg;*.gif;*.png"

    Separated by a semicolon.

    Hope this helps

  8. #8
    Sencha User
    Join Date
    Jul 2009
    Location
    Makati, City PH
    Posts
    80
    Vote Rating
    0
    dreamcaster is on a distinguished road

      0  

    Default


    @aw1zard2

    Thanks. Really cool.
    Good design is more important than the underlying technology.

Thread Participants: 2