3 Star 0 Fork 1

minikiller / wicket-jquery-ui-osgi

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

wicket-jquery-ui

jQuery UI integration in Wicket 1.5.x & Wicket 6.x
Build Status

Artifacts

  • jQuery UI wicket-jquery-ui
  • Calendar wicket-jquery-ui-calendar
  • Plugins wicket-jquery-ui-plugins
  • Kendo UI wicket-kendo-ui

Getting started

In order to get started using this API, you may download appropriate jar(s) or set a maven dependency.

Download jar(s)

If you are not using maven, you need to download the core jar here: http://central.maven.org/maven2/com/googlecode/wicket-jquery-ui/

You may also download other jars as required (ie: wicket-kendo-ui). Once done, just include the jar(s) in your project's build path.

Using Maven

<dependency>
    <groupId>com.googlecode.wicket-jquery-ui</groupId>
    <artifactId>wicket-jquery-ui</artifactId>
    <version>6.14.0</version> <!-- or 1.5.10 -->
</dependency>

If the version you specified is snapshot, you might define this repository:

<repositories>
    <repository>
        <id>sonatype-snapshots</id>
        <name>Sonatype Snapshots Repository</name>
        <url>http://oss.sonatype.org/content/repositories/snapshots/</url>
        <snapshots>
            <enabled>true</enabled>
        </snapshots>
    </repository>
</repositories>

Versions

wicket-jquery-ui Wicket jQuery UI
6.14.0 6.14.0 1.10.4
6.13.1 6.13.0 1.10.4
6.13.0 6.13.0 1.10.3
6.12.0 6.12.0 1.10.3
6.11.0 6.11.0 1.10.3
6.10.0 6.10.0 1.10.3
6.9.1 6.9.0 1.10.3
6.9.0 6.9.0 1.10.3
6.8.1 6.8.0 1.10.3
6.7.0 6.7.0 1.10.2
6.2.1 6.6.0 1.10.1
6.2.0 6.5.0 1.9.2
6.1.0 6.1.0 1.8.23
1.5.10 1.5.10 1.10.2
1.4.1 1.5.9 1.10.1
1.3.0 1.5.8 1.8.23

Setting up the HTML markup

jQuery UI needs a CSS to work. No jQuery UI CSS has been shipped in the API, so you are free to use the one you wish. You can get your own CSS at http://jqueryui.com/themeroller/, and put it (the CSS folder only) into your website.

The base template page is the following: (you might change the CSS href accordingly)

<!DOCTYPE html>
<html xmlns:wicket="http://wicket.apache.org">
    <head>
        <!-- jQuery UI -->
        <link rel="stylesheet" type="text/css" href="css/ui-lightness/jquery-ui-1.10.4.custom.min.css" />
    </head>
    <body>
    </body>
</html>

It is highly recommended to strip wicket tags from the HTML rendering.

/**
 * @see org.apache.wicket.Application#init()
 */
@Override
public void init()
{
	super.init();

	this.getMarkupSettings().setStripWicketTags(true); //IMPORTANT!
}

Setting up the HTML markup, for Kendo UI

Kendo UI also needs CSSs to work. You need to download your own copy of Kendo UI: http://www.telerik.com/download/kendo-ui-web-open-source.

Once done, you have to copy kendo.common.min.css and kendo.choosen_theme.min.css in into you webapp, as well as the texture folder and the corresponding choosen_theme folder.

The base template page is then the following: (you might change the CSS href accordingly)

<!DOCTYPE html>
<html xmlns:wicket="http://wicket.apache.org">
    <head>
        <!-- Kendo UI -->
        <link rel="stylesheet" type="text/css" href="css/kendo/kendo.common.min.css" media="all" />
        <link rel="stylesheet" type="text/css" href="css/kendo/kendo.default.min.css" media="all" />
    </head>
    <body>
    </body>
</html>

You are now ready to use wicket-jquery-ui!

Look at the samples provided in the demo site to get started with the code...
http://www.7thweb.net/wicket-jquery-ui

refactor to support osgi....

空文件

简介

重构wicket-jquery-ui,支持osgi 展开 收起
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Java
1
https://gitee.com/minikiller/wicket-jquery-ui-osgi.git
git@gitee.com:minikiller/wicket-jquery-ui-osgi.git
minikiller
wicket-jquery-ui-osgi
wicket-jquery-ui-osgi
master

搜索帮助