-
Sencha User
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.
-
Are you saving the current URL so it can be recalled?
Scott.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules