Package org.zkoss.zk.ui.metainfo

Examples of org.zkoss.zk.ui.metainfo.ComponentDefinition


  public void init(WebApp wapp) throws Exception {

    // use ZK PE's widget implementation if available
    LanguageDefinition langDef = LanguageDefinition.getByExtension("zul");
    ComponentDefinition colorButtonDef = langDef
        .getComponentDefinitionIfAny("colorbutton");
    if (colorButtonDef != null && WebApps.getFeature("pe")) {
      colorButtonDef.setDefaultWidgetClass("zssappex.Colorbutton");
    }

    initResources(wapp);
  }
View Full Code Here

TOP

Related Classes of org.zkoss.zk.ui.metainfo.ComponentDefinition

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.