1. #1
    Sencha User
    Join Date
    May 2012
    Posts
    4
    Vote Rating
    0
    sdelettre is on a distinguished road

      0  

    Default How no refresh frame when open it after minimizing

    How no refresh frame when open it after minimizing


    Hi all,
    Excuse me for my bad English.

    I use the desktop, but I have a problem when I want to reduce and reopen my frames. When I open them again, they are refreshing with the initial url. But I would keep my browsing history and not lose the context of my page. Basically I would like the same of browsers that can reopen the page without having refreshed what was inside the.

    I hope to be clear.

    Currently, the onclick method on the taskbar call the show method on window object, that always recharges my page. Is there a way to avoid this. I have one simple setVisible my frame.

    Currently in the class TaskButton:

    @Override
    protected void onClick(Event event) {
    super.onClick(event);
    if (!win.isVisible()) {
    win.show();
    } else if (win == WindowManager.get().getActive()) {
    win.minimize();
    } else {
    win.toFront();
    }
    }

    Thanks for your help.

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    9,080
    Vote Rating
    467
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    Are you saving the current URL so it can be recalled?

    Scott.

Thread Participants: 1

Tags for this Thread