Table of Contents | ||||
---|---|---|---|---|
|
This page lists the tasks the Wicket team agreed to implement for Wicket 7.0.
...
Info | ||
---|---|---|
| ||
|
Java 7 as a minimum
Java 7 has nice support for generics, better annotations, and Java 6 is reaching its end of life pretty soon.
Assignee: mgrigorov
Status: Done
Generics for org.apache.wicket.Component
Using Java 7 will allow to use the "diamonds operator", i.e.
Code Block | ||||
---|---|---|---|---|
| ||||
Component<Entity> c = new SomeComponent<>("id", model);
|
Assignee:
Status: Not started Dropped
Jira: WICKET-4930
Servlet 3 as a minimum
While we opted to not require servlet 3 for wicket 6, it has bitten us a couple of times solving issues in wicket 6. Servlet 3 has been out for ages, so we should move with the times.
Assignee: mgrigorov
Status: StartedDone
Jira: WICKET-5167
Tickets in Jira with "Fix Version" = 7.0
PageParameters improvements
- read-only Dropped
- make it possible to differentiate between named
...
- path parameters and query string ones.
See WICKET-4594, http://markmail.org/thread/cc7yjwshqugj4wic, WICKET-4441
Assignee:
Status: Not started
Minor API cleanups
- Rename renderHead(HtmlHeaderContainer) https://issues.apache.org/jira/browse/WICKET-4964
Assignee: mgrigorov
Status: Done
Jira: WICKET-4964
API Tweaks
SimpleFormComponentLabel should output the "required" class just like wicket:for
Assignee: mgrigorov
Status: Done
Jira: WICKET-5177
...
otherwise referencing the component as needed in throttle settings is annoying
Code Block |
---|
queryField.add(new AjaxFormComponentUpdatingBehavior("onkeydown") {
protected void updateAjaxAttributes(AjaxRequestAttributes attributes) {
attributes.setThrottlingSettings(new ThrottlingSettings(queryField.getMarkupId(), Duration.seconds(1)));
----------------------------------------------------------------------------^
|
The component is easily reachable via AbstractAjaxBehavior#getComponent()
throttling settings should be mutable to make it easier to override just the duration without having to figure out an id
Status: Done
Assignee: mgrigorov
JIRA: WICKET-5173
JavaScriptResourceReference#getDependencies() should return an appendable List
so we can do
Code Block |
---|
class MyReference extends JavascriptReference {
getDependencies() { List<?> list=super.getDependencies(); list.add(...); return list; }
}
|
Status: Done
Assignee: mgrigorov
Jira: WICKET-5124
XyzValidator#decorate() should work with IValidationError instead of ValidationError
Status: Done
Assignee: mgrigorov
Jira: WICKET-5174
...
- it is awkward to require a parent container as a wicket component. most of the time it needs to be attached to wicket:container tag because there is no reason to have an actual parent tag or a parent tag is impossible (in case of trs, lis, etc)
- having groups as non-components will allow for nested sets of checks and radios
- having groups as non-components will allow for disjointed sets of checks and radios in a cleaner fashion
Assignee: ivaynberg
Status: Dropped
Jira: WICKET-5255
cdi 1.1 upgrade
wicket-cdi should use cdi 1.1 which should remove dependency onto seam-conversation module.
Assignee: papegaaji
Status: Done
Jira: WICKET-4951
Upgrade dependencies to their latest stable version
Guice, Spring, JUnit, Mockito, Velocity, ...
...
- getApplication().getCssSettings().setSortOrderDownClass("sort-order-down");
Assignee: mgrigorov
Status: Done
Jira: WICKET-5257
Remove deprecated in Wicket 6.x classes and methods
For example:
- the old Swing based implementation of Tree
- the backward compatibility helper methods in AbstractDefaultAjaxBehavior
- WicketTester#startComponent()
- ...