Click 2.3.0 Milestone 1 is available for download. This milestone contains important new features including Ajax support, Page Actions and light-weight stateful controls. In addition there are new documentation, examples and other minor enhancements.
- Click Home
- Roadmap and Changes - full list of new features, improvements and bug fixes
- Upgrade Path - please see the upgrade path when upgrading from 2.2.0 or earlier.
- Download Click 2.3.0-M1
- Maven bundles
- Live examples
New features and improvement
- Ajax support.
- Page Action support.
- Stateful Controls.
- Improve fields to only be processed if they have an incoming request
parameter. This improvement streamlines dynamic forms since fields
added at runtime during s POST request won't bind their values and
won't be validated for that request. In subsequent requests the Field
will have an incoming parameter and so will have it's value bound and
validated. Another advantage is that dynamically added Fields won't
have their default value overridden in the POST request they were added in.
This issue has been raised by Nirmal Solanki
Added automapping support for GAE with a caveat that page templates
must be placed under the folders page or pages.
This issue was raised by Ke Sun
interface to support pluggable messages map implementations
to be extendable and customizable
Added support for loading DateField
translations for month and day names from the JDK.
Added support for Menus that do not have roles defined.
If no roles are defined,
passes a null argument to
to determine whether access is permitted to menus without roles
- Added support for absolute page classnames when configuring pages
in click.xml. Absolute classnames aids with IDE hot-linking
and is less confusing to use.
- Fixed escaping of control values and attributes to be XML friendly
in order to support Ajax requests. Previously all HTML characters was escaped,
now only the following characters are escaped: <, >, ", ', &
- Added a section covering the new
- Added a chapter on Ajax,
Ajax execution flow
and a full example.
- Added a section covering the new
Page Action support.
- Added examples
showcasing the new Ajax support. See the Ajax Menu for the full list
- Added an example showing how to integrate a TabbedPanel, Form and Table.
- Added an example showing a Stateful TabbedPanel.
- Added an example FieldSeparator Control and example usage page
- Removed the ability to automatically bypass validation for
concerns over security and was dropped for 2.3.0. If you used this
feature in existing applications, please see the
for a safe alternative to bypass validation. We apologize for
- Deprecated stateful page support: Page.setStateful().
Stateful pages had the following issues:
Stateful pages was introduced to make it easier to store page state across
multiple HTTP requests. However developing a stateful page is very different
from developing a stateless one and this lead to Click applications that are
inconsistent and harder to maintain.
In addition stateful page support has never been implemented consistently
across the framework and some components did not work correctly.
Stateful pages are very coarse grained, making it difficult to control
which objects are stored in the session.
Stateful pages have also introduced unnecessary complexity in the framework
itself, which can now be phased out.
Unfortunately there is no direct upgrade path from a stateful page.
However the majority of use cases are catered for by the new stateful
support in the controls: Table, Form, TabbedPanel, Field and AbstractLink.
- Stateful pages was introduced to make it easier to store page state across
The Apache Click team