| <!DOCTYPE html> |
| <html> |
| <head> |
| <meta charset="utf-8"> |
| <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> |
| <title>Apache Wicket 6.5.0 released | Apache Wicket</title> |
| <meta charset="utf8"> |
| <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> |
| <meta name="viewport" content="width=device-width, initial-scale=1" /> |
| |
| <link rel="shortcut icon" href="/favicon.ico" type="image/vnd.microsoft.icon" /> |
| <link rel="stylesheet" href="/css/style.css" type="text/css" media="screen" /> |
| <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet" /> |
| |
| <script src="//code.jquery.com/jquery-1.11.3.min.js"></script> |
| |
| </head> |
| |
| <body class=""> |
| <div class="header default"> |
| <div class="l-container"> |
| <nav class="mainmenu"> |
| <ul> |
| <!-- /start/quickstart.html || /news/2013/01/23/wicket-6.5.0-released.html --> |
| <li class=""><a href="/start/quickstart.html">Quick Start</a></li> |
| <!-- /start/download.html || /news/2013/01/23/wicket-6.5.0-released.html --> |
| <li class=""><a href="/start/download.html">Download</a></li> |
| <!-- /learn || /news/2013/01/23/wicket-6.5.0-released.html --> |
| <li class=""><a href="/learn">Documentation</a></li> |
| <!-- /help || /news/2013/01/23/wicket-6.5.0-released.html --> |
| <li class=""><a href="/help">Support</a></li> |
| <!-- /contribute || /news/2013/01/23/wicket-6.5.0-released.html --> |
| <li class=""><a href="/contribute">Contribute</a></li> |
| <!-- /apache || /news/2013/01/23/wicket-6.5.0-released.html --> |
| <li class=""><a href="/apache">Apache</a></li> |
| </ul> |
| </nav> |
| <div class="logo"> |
| <a href="/"><img src="/img/logo-apachewicket-white.svg" alt="Apache Wicket"></a> |
| </div> |
| </div> |
| </div> |
| <main> |
| <div class="l-container"> |
| <header class="l-full preamble"> |
| <h1>Apache Wicket 6.5.0 released</h1> |
| </header> |
| <section class="l-one-third right"> |
| </section> |
| <section class="l-two-third left"> |
| <div class="l-full"> |
| <p class="meta">23 Jan 2013</p> |
| <p>The Apache Wicket PMC is proud to announce Apache Wicket 6.5.0!</p> |
| <p>This release marks the fifth minor release of Wicket 6. Starting |
| with Wicket 6 we use semantic versioning for the future development of |
| Wicket, and as such no API breaks are present in this release compared |
| to 6.0.0.</p> |
| <h3 id="new-and-noteworthy">New and noteworthy</h3> |
| <h4 id="behavioronremovecomponent">Behavior.onRemove(Component)</h4> |
| <p>org.apache.wicket.Behavior has a new method - #onRemove(Component). This callback method is called when a host component of |
| this behavior is removed from its parent.</p> |
| <h4 id="global-updaters-for-ajax-request-attributes">Global updaters for Ajax request attributes</h4> |
| <p>By registering a custom AjaxRequestTarget.AbstractListener the application can manipulate all |
| the attributes for all Ajax requests.</p> |
| <p>Example:</p> |
| <div class="highlight"><pre><code class="language-java" data-lang="java"><span class="n">application</span><span class="o">.</span><span class="na">getAjaxRequestTargetListeners</span><span class="o">().</span><span class="na">add</span><span class="o">(</span><span class="k">new</span> <span class="n">AjaxRequestTarget</span><span class="o">.</span><span class="na">AbstractListener</span><span class="o">()</span> |
| <span class="o">{</span> |
| <span class="nd">@Override</span> |
| <span class="kd">public</span> <span class="kt">void</span> <span class="nf">updateAjaxAttributes</span><span class="o">(</span><span class="n">AjaxRequestAttributes</span> <span class="n">attributes</span><span class="o">)</span> |
| <span class="o">{</span> |
| <span class="kd">super</span><span class="o">.</span><span class="na">updateAjaxAttributes</span><span class="o">(</span><span class="n">attributes</span><span class="o">);</span> |
| <span class="n">attributes</span><span class="o">.</span><span class="na">setChannel</span><span class="o">(</span><span class="k">new</span> <span class="nf">AjaxChannel</span><span class="o">(</span><span class="s">"globalAjaxChannel"</span><span class="o">,</span> <span class="n">AjaxChannel</span><span class="o">.</span><span class="na">Type</span><span class="o">.</span><span class="na">ACTIVE</span><span class="o">));</span> |
| <span class="o">}</span> |
| <span class="o">});</span></code></pre></div> |
| <p>Each Ajax behavior/component can override such global settings.</p> |
| <h3 id="using-this-release">Using this release</h3> |
| <p>With Apache Maven update your dependency to (and don’t forget to |
| update any other dependencies on Wicket projects to the same version):</p> |
| <div class="highlight"><pre><code class="language-xml" data-lang="xml"><span class="nt"><dependency></span> |
| <span class="nt"><groupId></span>org.apache.wicket<span class="nt"></groupId></span> |
| <span class="nt"><artifactId></span>wicket-core<span class="nt"></artifactId></span> |
| <span class="nt"><version></span>6.5.0<span class="nt"></version></span> |
| <span class="nt"></dependency></span></code></pre></div> |
| <p>Or download and build the distribution yourself, or use our |
| convenience binary package</p> |
| <ul> |
| <li>Source: <a href="http://www.apache.org/dyn/closer.cgi/wicket/6.5.0">http://www.apache.org/dyn/closer.cgi/wicket/6.5.0</a></li> |
| <li>Binary: <a href="http://www.apache.org/dyn/closer.cgi/wicket/6.5.0/binaries">http://www.apache.org/dyn/closer.cgi/wicket/6.5.0/binaries</a></li> |
| </ul> |
| <h3 id="upgrading-from-earlier-versions">Upgrading from earlier versions</h3> |
| <p>If you upgrade from 6.y.z this release is a drop in |
| replacement. If you come from a version prior to 6.0.0, please |
| read our Wicket 6 migration guide found at</p> |
| <pre><code>http://s.apache.org/wicket-6.0-migration |
| </code></pre> |
| <p>Have fun!</p> |
| <p>— The Wicket team</p> |
| <h3 id="release-notes---wicket---version-650">Release Notes - Wicket - Version 6.5.0</h3> |
| <h4 id="sub-task">Sub-task</h4> |
| <pre><code>* [WICKET-4976](https://issues.apache.org/jira/browse/WICKET-4976) - WicketTester#startComponent(Component) doesn't detach the component and request cycle |
| </code></pre> |
| <h4 id="bug">Bug</h4> |
| <pre><code>* [WICKET-4906](https://issues.apache.org/jira/browse/WICKET-4906) - Form#visitFormComponents can cause ClassCastException |
| * [WICKET-4925](https://issues.apache.org/jira/browse/WICKET-4925) - AbstractAjaxBehavior should clean stored reference to a component on unbind |
| * [WICKET-4927](https://issues.apache.org/jira/browse/WICKET-4927) - Header can not be set from IRequestCycleListener#onEndRequest() |
| * [WICKET-4928](https://issues.apache.org/jira/browse/WICKET-4928) - Error adding links to WebSocketRequestHandler |
| * [WICKET-4935](https://issues.apache.org/jira/browse/WICKET-4935) - Rendered URL is resulting with double slash when using AuthenticatedWebApplication |
| * [WICKET-4939](https://issues.apache.org/jira/browse/WICKET-4939) - AbstractAjaxTimerBehavior never triggers if attached to WebPage |
| * [WICKET-4948](https://issues.apache.org/jira/browse/WICKET-4948) - Modal window does not center correctly when window is scrolled in safari |
| * [WICKET-4950](https://issues.apache.org/jira/browse/WICKET-4950) - ResourceStreamLocator#newResourceNameIterator isn't a factory method anymore |
| * [WICKET-4953](https://issues.apache.org/jira/browse/WICKET-4953) - RangeValidator#decorate mixes error keys |
| * [WICKET-4954](https://issues.apache.org/jira/browse/WICKET-4954) - Issue with file upload with progress bar via AJAX and Firefox |
| * [WICKET-4955](https://issues.apache.org/jira/browse/WICKET-4955) - SessionData violates comparison contract |
| * [WICKET-4956](https://issues.apache.org/jira/browse/WICKET-4956) - compareTo methods of Actions in BufferedWebResponse violate Comparable contract |
| * [WICKET-4959](https://issues.apache.org/jira/browse/WICKET-4959) - Notify behaviors when a component is removed from the tree |
| * [WICKET-4961](https://issues.apache.org/jira/browse/WICKET-4961) - wicket ajax submit does not serialize elements of parental forms |
| * [WICKET-4962](https://issues.apache.org/jira/browse/WICKET-4962) - AjaxFormChoiceComponentUpdatingBehavior cannot be triggered with BaseWicketTester#executeAjaxEvent() |
| * [WICKET-4965](https://issues.apache.org/jira/browse/WICKET-4965) - NPE when stopping Tomcat |
| * [WICKET-4968](https://issues.apache.org/jira/browse/WICKET-4968) - NPE in FencedFeedbackPanel#onRemove |
| * [WICKET-4971](https://issues.apache.org/jira/browse/WICKET-4971) - AtmosphereEventSubscriptionCollector is slow |
| * [WICKET-4973](https://issues.apache.org/jira/browse/WICKET-4973) - AbstractRequestLogger - infinite ArrayIndexOutOfBoundsException when requestWindow size is 0 |
| * [WICKET-4975](https://issues.apache.org/jira/browse/WICKET-4975) - client side memory leak on date picker |
| * [WICKET-4986](https://issues.apache.org/jira/browse/WICKET-4986) - wicket-ajax-jquery.js fails with 'member not found' on IE for delayed ajax requests |
| </code></pre> |
| <h4 id="improvement">Improvement</h4> |
| <pre><code>* [WICKET-4919](https://issues.apache.org/jira/browse/WICKET-4919) - AjaxLazyLoadPanel needs a method to add components to the AjaxRequestTarget when the component is rendered |
| * [WICKET-4933](https://issues.apache.org/jira/browse/WICKET-4933) - Palette does not handle disabled choices correctly |
| * [WICKET-4937](https://issues.apache.org/jira/browse/WICKET-4937) - Add IResponseFilter that can filter out invalid XML characters |
| * [WICKET-4940](https://issues.apache.org/jira/browse/WICKET-4940) - Make MountedMapper#getMatchedSegmentSizes(url) protected |
| * [WICKET-4957](https://issues.apache.org/jira/browse/WICKET-4957) - Listener needed for registration and removal of pages |
| * [WICKET-4958](https://issues.apache.org/jira/browse/WICKET-4958) - It should be possible to manipulate AjaxRequestAttributes globally |
| * [WICKET-4963](https://issues.apache.org/jira/browse/WICKET-4963) - ComponentModel "setObject" methods should take generic "T" type instead of "Object" |
| * [WICKET-4970](https://issues.apache.org/jira/browse/WICKET-4970) - Move the logic for creating the proper PackageResource from PackageResourceReference to ResourceReferenceRegistry |
| * [WICKET-4982](https://issues.apache.org/jira/browse/WICKET-4982) - StatelessChecker: add helpful information to find stateful behavior (patch included) |
| * [WICKET-4983](https://issues.apache.org/jira/browse/WICKET-4983) - extra recursion on Wicket.DOM.get |
| </code></pre> |
| </div> |
| </section> |
| </div> |
| </main> |
| <footer class="l-container"> |
| <div class="l-full"> |
| <img height="60px" src="/img/asf_logo.gif" style="float:left"> |
| Copyright © 2014 — The Apache Software Foundation. Apache Wicket, |
| Wicket, Apache, the Apache feather logo, and the Apache Wicket |
| project logo are trademarks of The Apache Software Foundation. All |
| other marks mentioned may be trademarks or registered trademarks of |
| their respective owners. |
| </div> |
| </footer> |
| </body> |
| |
| </html> |