Package nl.topicus.onderwijs.dashboard.modules

Examples of nl.topicus.onderwijs.dashboard.modules.KeyProperty


  @Override
  public JsStatement statement() {
    DataSourceSettings settings = DataSourceAnnotationReader
        .getSettings(dataSource);
    KeyProperty keyProperty = DataSourceAnnotationReader
        .getKeyProperty(dataSource);
    Options options = new Options();
    options.putLiteral("dataUrl", dataResource.getCallbackUrl().toString());
    options.putLiteral("label",
        useKeyLabel ? key.getName() : settings.label());
    options.putLiteral("htmlClass", settings.htmlClass());
    options.putLiteral("conversion", settings.conversion());
    options.putLiteral("keyProperty", keyProperty.value());
    JsQuery jsq = new JsQuery(table);
    return jsq.$().chain("dashboardTable", options.getJavaScriptOptions());
  }
View Full Code Here

TOP

Related Classes of nl.topicus.onderwijs.dashboard.modules.KeyProperty

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.