Wicket Contrib Examples
cdapp
This software displays a more elaborated example of using wicket.
Featuring (in no particular order):
- persistency using Hibernate
- cooperation between search form, results label and results list view
- pageable ListView with navigation
- pageable list that only loads what is actually needed while acting as a real list
- custom WebRequestCycle that sets up a Hibernate session for each request
-
base page that provides the business layer objects (CdDao) so that these objects
can be constructed in an IoC like manner (CdDao doesn't have to know anything about
the wicket/ the world and has its hibernate session provided).
- Links attached to non-anchor (<a href...>) elements
- clickable headers that sort the current results alternately
- navigation from search to details and back again
- reuse of edit page for new and existing persistent objects
- uploading of images
- automated thumbnail creation for display using ThumbnailImageResource
- sized-to-fit popup that shows actual image and that closes on click
- display of packaged image (questionmark.gif) when no image is coupled
- (not really wicket related) automatic database creation using Hibernate
Start cdapp