-
FEATURED COMPONENTS
First time here? Check out the FAQ!
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
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.
Asked: 2006-03-10 17:55:01 +0800
Seen: 668 times
Last updated: Mar 10 '06