-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi
How could I programmatically create a new page? Using Java. I ask this because I need to open a new window and making sure that the variables of a window does not interfere / to appear in another.
On page 41 of the Developer's Guide has a tip that says that each page has its own interpreter. Today my problem is just that. I have many windows (such as for Delphi's form) and many use the same name in components, methods etc.. I need to ensure that an open window as modal, for example, has its own interpreter.
How could to do this?
Our application has only a single file Zul. This is our entry point into the application.
I got the desired opening, inside a window component, an iframe. But not like the performance. Would have a solution for this?
Thank you.
A window is mainly a namespace. So be sure every window have an unique id. Than you have no problems with equal component ID's created in these window components.
window.setId("windowCustomer");
windowCustomer
--> BtnHelp
--> BtnDelete
--> BtnSave
windowArticle
--> BtnHelp
--> BtnSave
--> BtnDelete
Hi
Thanks for the tip. But I think my biggest problem is that the issue of overlap between the methods declared in zscript. So my concern about having an instance of it separately for each open window.
I am currently testing the <Include mode="defer"> and it seems to him I'll get what I need. Once I have an answer I'll post here.
Thanks
Asked: 2010-08-18 10:12:43 +0800
Seen: 342 times
Last updated: Aug 19 '10