1. #1
    Sencha User
    Join Date
    Dec 2011
    Posts
    1
    Vote Rating
    0
    mbatsis is on a distinguished road

      0  

    Default Multipart FormPanel unusable with files without accept-charset?

    Multipart FormPanel unusable with files without accept-charset?


    We are having a showstopper encoding issue with FormPanel when used to upload files. The HTML form is set to "multipart/form-data" but the API does not allow to change that to "multipart/form-data; charset=utf-8" or set the HTML form's accept-charset attribute to the desired charset.

    A subclass cannot help since the FormPanel's form member is private and no getters are provided. I tried JSNI but it did not seem to work.

    Am I missing something here or should a

    Code:
    public El getForm(){
       return this.form;
    }
    getter be added to the FormPanel class?

  2. #2
    Sencha - GXT Dev Team
    Join Date
    Feb 2009
    Location
    Minnesota
    Posts
    2,731
    Vote Rating
    90
    Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light

      0  

    Default


    Almost - check out http://code.google.com/webtoolkit/do...methods-fields for more information on how to do this.

    Untested, but probably should look like
    Code:
    public El getForm(){
       return this.@com.extjs.gxt.ui.client.widget.form.FormPanel::form;
    }

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..." hd porno faketaxi