0

Close page or redirect to earlier page

asked 2006-03-10 17:55:01 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3623010

By: nobody

I'm building an app which often opens editing dialogs from a list, table, or tree of entries. (For example, a list of users and editUser dialogs.) In a normal desktop application the editing dialog would popup independent of the list and have "save" and "close" buttons. I want to support multiple simultaneous instances of these editing dialogs - so having them redirect back to the list wouldn't be good since I'd end up with duplicate pages of the list.

What's the best practice here? Also what parts of the API should I be looking at for selecting a page to go back to and closing a page.

Thanks

delete flag offensive retag edit

1 Reply

Sort by ยป oldest newest

answered 2006-03-10 18:06:36 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3623023

By: tomyeh

Is this what you are looking for?
http://en.wikibooks.org/wiki/ZK/How-Tos#How_to_include_the_same_page_twice.3F

If you use createComponents, no page is created. Components are added to the current page directly.

If you use the include component, a new page is created and it is removed automatically once the src attribute (of include) is changed. No API to close a page. All done automatically.

In additions, no concept of selecting a page back, since they are just portions of a desktop.

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2006-03-10 17:55:01 +0800

Seen: 668 times

Last updated: Mar 10 '06

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More