Examples of htmlClass()


Examples of nl.topicus.onderwijs.dashboard.modules.DataSourceSettings.htmlClass()

    for (Class<? extends DataSource<?>> curDataSource : dataSources
        .getObject()) {
      DataSourceSettings settings = DataSourceAnnotationReader
          .getSettings(curDataSource);
      conversions.add(settings.conversion());
      htmlClasses.add(settings.htmlClass());
      units.add(settings.unit());
    }
    ObjectMapper mapper = new ObjectMapper();
    try {
      options.put("conversion", mapper.writeValueAsString(conversions));
View Full Code Here

Examples of nl.topicus.onderwijs.dashboard.modules.DataSourceSettings.htmlClass()

        .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
Copyright © 2018 www.massapi.com. 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.