arg"
From Documentation
m |
|||
Line 1: | Line 1: | ||
− | {{ | + | {{ZUMLReferencePageHeader}} |
== arg - java.util.Map == | == arg - java.util.Map == | ||
Line 29: | Line 29: | ||
|} | |} | ||
− | {{ | + | {{ZUMLReferencePageFooter}} |
Revision as of 04:59, 5 November 2010
arg - java.util.Map
The arg argument passed to the createComponents method in the Executions class. It might be null, depending on how createComponents is called.
It is the same as self.desktop.execution.arg.
params.put("name", "John");
Executions.createComponents("/my.zul", null, params);
Then, in my.zul,
<window title="${arg.name}">
Notice that arg is available only when creating the components for the included page, say my.zul. On the other hand, all events, including onCreate, are processed later. Thus, if you want to access arg in the onCreate's listener, use the getArg method of the CreateEvent class.
Version History
Version | Date | Content |
---|---|---|