1. #1
    Sencha User
    Join Date
    Oct 2012
    Posts
    25
    Answers
    1
    Vote Rating
    0
    santosh.kumar is on a distinguished road

      0  

    Default Unanswered: filefield questions

    Unanswered: filefield questions


    Hi,

    I have few questions on filefield:

    1. How to make filefield editable? (to enter file path manually)
    2. When i select file from dialog... the path getting displayed is something like c:\fakepath\<filename>. How to display actual path instead of "fakepath" string?
    3. how to specify file filter option? eg. if i want to show only *.txt files in the dialog.

    Thanks
    Santosh

  2. #2
    Ext JS Premium Member tvanzoelen's Avatar
    Join Date
    Apr 2008
    Location
    Groningen - Netherlands
    Posts
    1,114
    Answers
    83
    Vote Rating
    30
    tvanzoelen has a spectacular aura about tvanzoelen has a spectacular aura about tvanzoelen has a spectacular aura about

      0  

    Default


    1 From the docs: Because there is no secure cross-browser way to programmatically set the value of a file input, the standard Field setValue method is not implemented. The getValue method will return a value that is browser-dependent; some have just the file name, some have a full path, some use a fake path.

    I think it is not possible because of security. But making it editable you can set editable: true

    2. http://www.sencha.com/forum/showthre...on-file-upload

    3 Not possible with javascript. Mayby you can set the Accept property on the input element, but I give not much hope getting that working.

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..."