1. #1
    Ext User
    Join Date
    May 2007
    Posts
    18
    Vote Rating
    0
    alexbt is on a distinguished road

      0  

    Default page reload with ExtJs

    page reload with ExtJs


    Hi guys,

    I have a question regarding page reloading.
    Now I use
    Code:
    document.location = "mypage.jsp?param1=1&param2=word"
    But this way I perform HTTP GET request.
    My question is how to perform the same thing but via HTTP POST by means of ExtJs library?

    Regards,
    Alex
    Last edited by mystix; 6 Aug 2007 at 10:55 PM. Reason: use [code][/code] tags, not [javascript][/javascript]

  2. #2
    Ext User
    Join Date
    May 2007
    Posts
    18
    Vote Rating
    0
    alexbt is on a distinguished road

      0  

    Default I found the solution

    I found the solution


    Everything turned out to be much simpler than I thought .
    Here is my solution:
    Code:
    Ext.get(document).load("mypage.jsp", { param1: 1, param2: 'word'} );
    Guys, if you know another way to perform the request, please advise.

    Regards,
    Alex

  3. #3
    Ext User
    Join Date
    May 2007
    Posts
    18
    Vote Rating
    0
    alexbt is on a distinguished road

      0  

    Default Problem

    Problem


    The solution I found does work, but partially.
    As a result to the load operation the desired page is loaded (i saw this in firebug), but it is not displayed instead of the current window.
    Can anybody explain me what to do for the downloaded page to be displayed instead of the current one. The same stands for Internet Explorer.

    Regards,
    Alex

  4. #4
    Sencha User
    Join Date
    Mar 2014
    Posts
    1
    Vote Rating
    0
    puja singh is on a distinguished road

      0  

    Default


    Hi all you can simply use the following code to reload the page in extjs
    window.location.reload()
    and it works well

Thread Participants: 1