1. #1
    Ext User
    Join Date
    Jul 2007
    Posts
    9
    Vote Rating
    0
    Blitz is on a distinguished road

      0  

    Default Does extjs have functionality for getting url params

    Does extjs have functionality for getting url params


    getting the url parameters or do I need to parse it myself?

  2. #2
    Sencha - Community Support Team mystix's Avatar
    Join Date
    Mar 2007
    Location
    Singapore
    Posts
    6,236
    Vote Rating
    5
    mystix will become famous soon enough

      0  

  3. #3
    Ext Premium Member BernardChhun's Avatar
    Join Date
    Mar 2007
    Location
    Quebec, Canada
    Posts
    831
    Vote Rating
    2
    BernardChhun will become famous soon enough

      1  

    Default



    Code:
    // separating the GET parameters from the current URL
    var getParams = document.URL.split("?");
    // transforming the GET parameters into a dictionnary
    var params = Ext.urlDecode(getParams[getParams.length - 1]);

  4. #4
    Ext User
    Join Date
    Jul 2007
    Posts
    9
    Vote Rating
    0
    Blitz is on a distinguished road

      0  

    Default


    Thx

  5. #5
    Ext JS Premium Member cbetancourt's Avatar
    Join Date
    Mar 2007
    Location
    Doylestown, Pennsylvania
    Posts
    53
    Vote Rating
    0
    cbetancourt is on a distinguished road

      0  

    Default


    Make sure that getParams.length is > 1, otherwise there is nothing to parse.
    And since there can only be one "?" in a properly formed URL:

    Code:
    Ext.urlDecode(getParams[1]);
    will do.

  6. #6
    Sencha User
    Join Date
    Oct 2012
    Location
    Pune,India
    Posts
    3
    Vote Rating
    0
    Abhijit Muke is on a distinguished road

      0  

    Default


    Great..

  7. #7
    Sencha User
    Join Date
    Jan 2013
    Posts
    1
    Vote Rating
    0
    yuvrajrandivesencha is on a distinguished road

      0  

    Default this is use full code

    this is use full code


    this is use full code

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