Skip to content

Apache Wicket component leveraging the use of Shield UI JavaScript library

Notifications You must be signed in to change notification settings

jmptrader/wicket-shieldui

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wicket-ShieldUI

An Apache Wicket component leveraging the use of the Shield UI JavaScript library.

Introduction

The component uses the demo version of the Shield UI framework - a set of light-weight, powerful and fully customizable tools. If you would like to obtain a commercial license for the JavaScript code, or get more information about it, you can visit http://www.shieldui.com

Supported Widgets

Data Visualization

Layout

Editors

Framework

Setup

You should be able to run the examples project alone, as it includes the component library as dependencies in its POM.

If you cannot run it, you might need to rebuild the parent pom.xml configuration, which will rebuild both the wrappers and the example Wicket application.

Usage

In your Wicket's page HTML, include the resources in the HEAD and add a container DIV element somewhere in your BODY:

<link rel="stylesheet" type="text/css" href="//www.shieldui.com/shared/components/latest/css/light/all.min.css" />
<script type="text/javascript" src="//www.shieldui.com/shared/components/latest/js/jquery-1.10.2.min.js"></script>
<script type="text/javascript" src="//www.shieldui.com/shared/components/latest/js/shieldui-all.min.js"></script>

...

<div wicket:id="chart" style="width:600px; height:400px; margin:auto; margin-top:50px;"></div>

In the Java code of your page, initialize the component of your choice with something like:

  final Chart chart = new Chart("chart");
  
  // set the chart type
  chart.getOptions().setSeriesType(ChartOptions.SeriesType.PIE);
  
  // add some data
  ChartOptions.DataSeriesItem dsi = new ChartOptions.DataSeriesItem();
  dsi.setData(20, 15, 45, 10, 5, 5);
  chart.getOptions().setDataSeries(dsi);
  
  add(chart);

More examples of using this library can be found in the wicket-shieldui-examples module part of this repository.

Detailed widget functionality and settings can be found in the Shield UI Documentation section.

License

Copyright 2013-2015 Shield UI Ltd.

http://www.shieldui.com/eula

About

Apache Wicket component leveraging the use of Shield UI JavaScript library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 92.2%
  • HTML 7.5%
  • CSS 0.3%