My favorites | Sign in
Project Home Downloads Wiki Issues Source
Project Information
Members
Featured
Downloads
Wiki pages

This project provides example source code for learning the Wicket web application framework.

The primary audience is the software engineering classes in the Information and Computer Science (ICS) Department at the University of Hawaii, although we hope that these examples will be of more general help to the Wicket community.

These examples are intended to help new users of Wicket "bootstrap" their understanding by showing them small examples of functioning web applications. Unlike many Wicket examples, these examples include test cases, usually with 100% coverage.

More experienced users will probably benefit more from the Wicket Examples page, and particularly from the Live Action examples available from that page.

The project is organized into a number of subdirectories: example01, example02, etc., each of which constitutes a complete, working Wicket web application. The following table describes the basic goal of each example and a link to its wiki page:

Example Description
example01 Hello world; shows a page with the date and time.
example02 Shows the basic html constructs: links, forms, tables, and lists along with their tests.
example03 Shows one implementation of menu bar.
example04 A variant of the Cheesr example from Wicket In Action
example05 Shows menus and submenus.
example06 Blueprint CSS framework, sessions, forms and URLs.

The examples here include support for both Ant and Eclipse.

Required Libraries

To run these examples, you must install Java 1.6 and Ant 1.8. The following libraries will be automatically downloaded by the build system using Ivy.

Required Library Version
JUnit 4.5
Jetty 6.1.9
Wicket 1.4.13
Slf4J 1.5.0

Optional Libraries

Each example system also comes with Ant files named checkstyle.build.xml, emma.build.xml, pmd.build.xml, and findbugs.build.xml. These files support quality control during the development and maintenance of these examples. They are not required to compile and run the examples. Again, the build system will automatically download these libraries the first time you invoke their associated tool.

To invoke a tool, just run its file as follows:

ant -f checkstyle.build.xml

You can run all them in sequence via:

ant -f verify.build.xml

Optional Library Version
PMD 4.2.3
Checkstyle 5.0
FindBugs 1.3.5
Emma 2.0.5312
Jacoco 0.4.0.20100926135113

Downloading

To obtain these examples, please checkout the trunk/ directory using SVN. Alternatively, you can download them individually from the Downloads page.

For more information

See the wiki page for each example.

Powered by Google Project Hosting