Migration to Wicket 6.0Page edited by Martin GrigorovChanges (1)
Full ContentMigrating to Wicket 6.0Environment
Repeaters
Form ProcessingValidation
AjaxUse JQuery as a backing library for Wicket Ajax functionalityApache Wicket needed to improve the implementation of its _javascript_ libraries used for Ajax functionality (wicket-ajax.js and wicket-event.js) by using any of the bigger _javascript_ libraries and delegate to it the handling of the differences in the browsers (DOM, events, Ajax, ...). After a discussion in the mailing lists the Wicket team decided to use JQuery for that. IHeaderResponse, including decorators and filtersIHeaderResponse has been rewritten to render HeaderItems. All render* methods have been replaced by a single render(HeaderItem) method. HeaderItems can be instantiated using the factory methods in _javascript_HeaderItem, CssHeaderItem, OnDomReadyHeaderItem, OnLoadHeaderItem, OnEventHeaderItem and StringHeaderItem. For example, the following code in renderHead: response.renderCSSReference(new CssResourceReference(HomePage.class, "header.css")); response.renderJavaScriptReference(new _javascript_ResourceReference(HomePage.class, "page.js")); Needs to be replaced with: response.render(CssHeaderItem.forReference(new CssResourceReference(HomePage.class, "header.css"))); response.render(_javascript_HeaderItem.forReference(new _javascript_ResourceReference(HomePage.class, "page.js")));
o.a.w.IComponentSource and o.a.w.ComponentSourceEntry are removedThese classes were used as placeholders for further optimizations in Component's size but were never finished.
Change Notification Preferences
View Online
|
View Changes
|
Add Comment
|
- [CONF] Apache Wicket > Migration to Wicket 6.0 confluence
- [CONF] Apache Wicket > Migration to Wicket 6.0 confluence
- [CONF] Apache Wicket > Migration to Wicket 6.0 confluence
- [CONF] Apache Wicket > Migration to Wicket 6.0 confluence
- [CONF] Apache Wicket > Migration to Wicket 6.0 confluence
- [CONF] Apache Wicket > Migration to Wicket 6.0 confluence
- [CONF] Apache Wicket > Migration to Wicket 6.0 confluence
- [CONF] Apache Wicket > Migration to Wicket 6.0 confluence
- [CONF] Apache Wicket > Migration to Wicket 6.0 confluence
- [CONF] Apache Wicket > Migration to Wicket 6.0 confluence
- [CONF] Apache Wicket > Migration to Wicket 6.0 confluence
- [CONF] Apache Wicket > Migration to Wicket 6.0 confluence
- [CONF] Apache Wicket > Migration to Wicket 6.0 confluence
- [CONF] Apache Wicket > Migration to Wicket 6.0 confluence
- [CONF] Apache Wicket > Migration to Wicket 6.0 confluence
- [CONF] Apache Wicket > Migration to Wicket 6.0 confluence
- [CONF] Apache Wicket > Migration to Wicket 6.0 confluence
- [CONF] Apache Wicket > Migration to Wicket 6.0 confluence
- [CONF] Apache Wicket > Migration to Wicket 6.0 confluence
- [CONF] Apache Wicket > Migration to Wicket 6.0 confluence
- [CONF] Apache Wicket > Migration to Wicket 6.0 confluence