Load ZUML in Java

From Documentation
Revision as of 07:24, 9 November 2010 by Tomyeh (talk | contribs)



Execution provides a collection of methods to allow you to create components based a ZUML document, such as Execution.createComponents(String, Component, Map), Execution.createComponentsDirectly(String, String, Component, Map) and many others. For example,

public class Controller extends GenericForwardComposer {
    private Window main; //assumed wired automatically
    public void onClick() {
        Executions.getCurrent().createComponentsDirectly("<listbox><listitem label=\"foo\"/></listbox>", "zul", this, null);
    }
...

Version History

Last Update : 2010/11/9

Version Date Content
     



Last Update : 2010/11/09

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.