B.4. UI

The ui submodule provides a complete set of Wicket Components that are used to render your domain model. They vary in size from very fine-grained to very coarse. For example, there is a Component to render a single parameter of an action; another renders a single property of a domain object; another renders all the properties and collections of an object; another renders a single object; another renders a collection of objects.

Each Component has a corresponding ComponentFactory. Wicket Objects uses the chain of responsibility pattern to determine which Components will render the data held in its models, with each ComponentFactory being checked as to whether it can render each model. In this way the UI can be easily modified by switching out and in different ComponentFactorys.

The Components can also be used directly in your own custom views. Over time we expect the set of Components to grow to support more specialized custom views.

See Javadoc for the full list of componens available.