blob: 9a60fc7f74aaffbd2b395ad00a5fb08548ebda5a [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta charset="utf-8">
<title>Apache Wicket 6.13.0 released | Apache Wicket</title>
<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.7.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/2014/01/05/wicket-6.13.0-released.html -->
<li class=""><a href="/start/quickstart.html">Quick Start</a></li>
<!-- /start/download.html || /news/2014/01/05/wicket-6.13.0-released.html -->
<li class=""><a href="/start/download.html">Download</a></li>
<!-- /learn || /news/2014/01/05/wicket-6.13.0-released.html -->
<li class=""><a href="/learn">Documentation</a></li>
<!-- /help || /news/2014/01/05/wicket-6.13.0-released.html -->
<li class=""><a href="/help">Support</a></li>
<!-- /contribute || /news/2014/01/05/wicket-6.13.0-released.html -->
<li class=""><a href="/contribute">Contribute</a></li>
<!-- /community || /news/2014/01/05/wicket-6.13.0-released.html -->
<li class=""><a href="/community">Community</a></li>
<!-- /apache || /news/2014/01/05/wicket-6.13.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.13.0 released</h1>
</header>
<section class="l-one-third right">
</section>
<section class="l-two-third left">
<div class="l-full">
<p class="meta">05 Jan 2014</p>
<p>The Apache Wicket PMC is proud to announce Apache Wicket 6.13.0!</p>
<p>This release marks the thirteenth 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>
<p>This release fixes 25 bugs and adds the following improvements:</p>
<ul>
<li>Online Wicket User guide (see below)</li>
<li>CDI 1.1 support (see below)</li>
<li>JQuery upgraded from 1.10.1 to 1.10.2</li>
<li>Implemented BigIntegerConverter</li>
<li>Migrate Wicket-Atmosphere to Atmosphere 2</li>
</ul>
<h3 id="online-wicket-reference-guide">Online Wicket reference guide</h3>
<p>After many years of people asking for a reference guide for Apache
Wicket we finally were able to add one to our site thanks to Andrea del
Bene and comSysto for writing the guide and providing the hours of
converting it to our site.</p>
<p>You can read the manual in 3 forms: multi page HTML, single page HTML
and PDF.</p>
<p>The contents:</p>
<ul>
<li>Introduction</li>
<li>How to use the example code</li>
<li>Why should I learn Wicket?</li>
<li>Wicket says “Hello, World!”</li>
<li>Wicket as page layout manager</li>
<li>Keeping control over HTML</li>
<li>Component Lifecycle</li>
<li>Page versioning and caching</li>
<li>Under the hood of request processing</li>
<li>Wicket Links and URL generation</li>
<li>Wicket models and forms</li>
<li>Wicket forms in detail</li>
<li>Displaying multiple items with repeaters</li>
<li>Internationalization with Wicket</li>
<li>Resource management with Wicket</li>
<li>An example of integration with JavaScript</li>
<li>Wicket advanced topics</li>
<li>Working with AJAX</li>
<li>Integration with enterprise containers</li>
<li>Security with Wicket</li>
<li>Test Driven Development with Wicket</li>
<li>Test Driven Development with Wicket and Spring</li>
<li>Wicket Best Practices</li>
<li>Working with Maven (Appendix)</li>
<li>Project WicketStuff (Appendix)</li>
<li>Lost in redirection with Apache Wicket (Appendix)</li>
<li>Contributing to this guide (Appendix)</li>
</ul>
<p>Read more in the <a href="http://wicket.apache.org/learn/#wicket-user-guide">“User guide”</a>.</p>
<h3 id="new-cdi-11-integration-project">New CDI-1.1 integration project</h3>
<p>A new (experimental) module for CDI integration was added to support
CDI 1.1 with Wicket. As CDI 1.0 and 1.1 are different beasts and not
compatible, we had to craft a new module with specific support for the
new CDI standard. The module is still experimental, but we expect to
make it a default module in a couple of releases.</p>
<p>You can use the new Wicket CDI module by including the following
dependency in your POM:</p>
<figure class="highlight"><pre><code class="language-xml" data-lang="xml"><span class="nt">&lt;dependency&gt;</span>
<span class="nt">&lt;groupId&gt;</span>org.apache.wicket<span class="nt">&lt;/groupId&gt;</span>
<span class="nt">&lt;artifactId&gt;</span>wicket-cdi-1.1<span class="nt">&lt;/artifactId&gt;</span>
<span class="nt">&lt;version&gt;</span>0.2<span class="nt">&lt;/version&gt;</span>
<span class="nt">&lt;/dependency&gt;</span></code></pre></figure>
<p>Note that you have to remove the old wicket-cdi module and the Seam
conversation dependency: <code class="highlighter-rouge">org.jboss.seam.conversation:seam-conversation-weld</code></p>
<p>For more information about what is new in CDI 1.1 read <a href="http://s.apache.org/newincdi11">this blog post
by Pete Muir</a>.</p>
<h3 id="jquery-update-in-690">JQuery update in 6.9.0</h3>
<p>As of Wicket 6.9 we ship JQuery 1.10.1 (since 6.13.0 we ship 1.10.2).
The JQuery project has decided to remove deprecated APIs from their
codebase from JQuery 1.9 and up. This means that JQuery plugins using
these deprecated APIs no longer work. See the JQuery migration guide
for more information, available from <a href="http://jquery.com/upgrade-guide/1.9/">the JQuery web
site</a></p>
<p>If your application depends on these deprecated APIs you can easily
downgrade to JQuery 1.8.3-the previously provided JQuery that still
contains these APIs. Download the 1.8.3 release of jquery and add it
to your project in its application’s init method:</p>
<figure class="highlight"><pre><code class="language-java" data-lang="java"> <span class="nd">@Override</span>
<span class="kd">protected</span> <span class="kt">void</span> <span class="nf">init</span><span class="o">()</span> <span class="o">{</span>
<span class="n">getJavaScriptLibrarySettings</span><span class="o">()</span>
<span class="o">.</span><span class="na">setJQueryReference</span><span class="o">(</span><span class="n">yourJquery183ResourceReference</span><span class="o">);</span>
<span class="o">}</span></code></pre></figure>
<h3 id="cdi-injection-issue">CDI injection issue</h3>
<p>In the CDI releases of Weld 2.0.1 and prior, it was assumed that
injection in anonymous inner classes was not legal and when
attempted, it resulted in an exception:</p>
<figure class="highlight"><pre><code class="language-text" data-lang="text">Caused by: org.jboss.weld.exceptions.DefinitionException:
WELD-000070 Simple bean [EnhancedAnnotatedTypeImpl] private class
com.example.HomePage$AForm cannot be a non-static inner class</code></pre></figure>
<p>This was reported as
<a href="https://issues.apache.org/jira/browse/WICKET-5226">WICKET-5226</a>, as
it became an issue in Glassfish 4, which ships with Weld 2.0.1 (or
earlier). We implemented a fix for this particular issue by not
injecting into anonymous inner classes.</p>
<p>Unfortunately this was not a bug that needed fixing on our part, but
rather in the Weld framework (see
<a href="https://issues.jboss.org/browse/WELD-1441">WELD-1441</a>)</p>
<p>Therefore we reverted the commits done for WICKET-5226 and hope that
Glassfish will upgrade their Weld implementation soon. For the whole
story read
<a href="https://issues.apache.org/jira/browse/WICKET-5264">WICKET-5264</a></p>
<p>Glassfish has fixed this in trunk according to
<a href="https://java.net/jira/browse/GLASSFISH-20619">GLASSFISH-20619</a> but
the fix has yet to be integrated into a release.</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>
<figure class="highlight"><pre><code class="language-xml" data-lang="xml"><span class="nt">&lt;dependency&gt;</span>
<span class="nt">&lt;groupId&gt;</span>org.apache.wicket<span class="nt">&lt;/groupId&gt;</span>
<span class="nt">&lt;artifactId&gt;</span>wicket-core<span class="nt">&lt;/artifactId&gt;</span>
<span class="nt">&lt;version&gt;</span>6.13.0<span class="nt">&lt;/version&gt;</span>
<span class="nt">&lt;/dependency&gt;</span></code></pre></figure>
<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.13.0">6.13.0 source download</a></li>
<li>Binary: <a href="http://www.apache.org/dyn/closer.cgi/wicket/6.13.0/binaries">6.13.0 binary download</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>
<ul>
<li><a href="https://cwiki.apache.org/confluence/display/WICKET/Migration+to+Wicket+6.0">Migration to Wicket 6.0</a></li>
</ul>
<p>Have fun!</p>
<p>— The Wicket team</p>
<h3 id="release-notes---wicket---version-6130">Release Notes - Wicket - Version 6.13.0</h3>
<h4 id="bug">Bug</h4>
<ul>
<li><a href="https://issues.apache.org/jira/browse/WICKET-4294">WICKET-4294</a> - AutoCompleteTextField does not show suggestions when it is used on ModalWindow in InternetExplorer</li>
<li><a href="https://issues.apache.org/jira/browse/WICKET-4997">WICKET-4997</a> - Mounted bookmarkable Page not recreated on Session Expiry</li>
<li><a href="https://issues.apache.org/jira/browse/WICKET-5084">WICKET-5084</a> - ClassNotFoundException with Atmosphere on Bookmarkable pages</li>
<li><a href="https://issues.apache.org/jira/browse/WICKET-5224">WICKET-5224</a> - ModalWindow is not visible in Safari when opened from a link at the bottom of a large page</li>
<li><a href="https://issues.apache.org/jira/browse/WICKET-5321">WICKET-5321</a> - Incorporate Wicket Guide into website</li>
<li><a href="https://issues.apache.org/jira/browse/WICKET-5379">WICKET-5379</a> - IE7: AutoCompleteTextField inside a ModalWindow shows auto complete dropdown behind ModalWindow</li>
<li><a href="https://issues.apache.org/jira/browse/WICKET-5387">WICKET-5387</a> - Page#onInitialize called after an exception in the constructor of Page</li>
<li><a href="https://issues.apache.org/jira/browse/WICKET-5400">WICKET-5400</a> - Behaviors#internalAdd(Behavior) erroneously gets id for stateless behaviors</li>
<li><a href="https://issues.apache.org/jira/browse/WICKET-5402">WICKET-5402</a> - NullPointerException when logging out with wicket-atmosphere</li>
<li><a href="https://issues.apache.org/jira/browse/WICKET-5404">WICKET-5404</a> - JQuery 1.10.1 does not work well with IE11, upgrade to 1.10.2</li>
<li><a href="https://issues.apache.org/jira/browse/WICKET-5409">WICKET-5409</a> - wicket-native-websocket does not work with Safari/Safari iOS</li>
<li><a href="https://issues.apache.org/jira/browse/WICKET-5413">WICKET-5413</a> - Positioning AutoCompleteTextField not correct on resized window</li>
<li><a href="https://issues.apache.org/jira/browse/WICKET-5416">WICKET-5416</a> - BOM in UTF markup file breaks encoding detection</li>
<li><a href="https://issues.apache.org/jira/browse/WICKET-5418">WICKET-5418</a> - PropertyValidator ignoring groups with the @NotNull annotation only</li>
<li><a href="https://issues.apache.org/jira/browse/WICKET-5422">WICKET-5422</a> - ComponentRenderer.renderComponent() adds a page to DataStore</li>
<li><a href="https://issues.apache.org/jira/browse/WICKET-5424">WICKET-5424</a> - Page.isPageStateless() returning true in regular run but false in WicketTester</li>
<li><a href="https://issues.apache.org/jira/browse/WICKET-5425">WICKET-5425</a> - WicketTester doesn’t preserve the request cookies when #executeListener() is used</li>
<li><a href="https://issues.apache.org/jira/browse/WICKET-5426">WICKET-5426</a> - Page not recognized as stateless although stateful component is hidden in #onConfigure()</li>
<li><a href="https://issues.apache.org/jira/browse/WICKET-5429">WICKET-5429</a> - ResourceReference’s properties are not preserved when using reference replacement</li>
<li><a href="https://issues.apache.org/jira/browse/WICKET-5437">WICKET-5437</a> - When a ConversionException is thrown, its message is not used in the ValidationError</li>
<li><a href="https://issues.apache.org/jira/browse/WICKET-5441">WICKET-5441</a> - IResourceCachingStrategy implementations should only set caching if version matches</li>
<li><a href="https://issues.apache.org/jira/browse/WICKET-5442">WICKET-5442</a> - TimeOfDay.valueOf(Calendar, Time) and TimeOfDay.valueOf(Time) incorrectly use 12-hour clock</li>
<li><a href="https://issues.apache.org/jira/browse/WICKET-5444">WICKET-5444</a> - Make org.apache.wicket.pageStore.memory.PageTable public so custom impls of IDataStoreEvictionStrategy can be made</li>
<li><a href="https://issues.apache.org/jira/browse/WICKET-5447">WICKET-5447</a> - TableTree’s NodeBorder does not properly close divs</li>
<li><a href="https://issues.apache.org/jira/browse/WICKET-5450">WICKET-5450</a> - Double escaping when using EnumChoiceRenderer and DropDownChoice</li>
</ul>
<h4 id="improvement">Improvement</h4>
<ul>
<li><a href="https://issues.apache.org/jira/browse/WICKET-4268">WICKET-4268</a> - Quality of ThumbnailImageResource</li>
<li><a href="https://issues.apache.org/jira/browse/WICKET-4762">WICKET-4762</a> - IResourceVersion should be based on final result</li>
<li><a href="https://issues.apache.org/jira/browse/WICKET-4905">WICKET-4905</a> - PagingNavigation: possible to call setStartIndex() earlier than onBeforeRender?</li>
<li><a href="https://issues.apache.org/jira/browse/WICKET-4909">WICKET-4909</a> - ModalWindow overwrites window.onbeforeunload</li>
<li><a href="https://issues.apache.org/jira/browse/WICKET-5364">WICKET-5364</a> - Reduce logging for wicket-atmosphere</li>
<li><a href="https://issues.apache.org/jira/browse/WICKET-5367">WICKET-5367</a> - migrate Wicket-Atmosphere to Atmosphere 2</li>
<li><a href="https://issues.apache.org/jira/browse/WICKET-5401">WICKET-5401</a> - provide no-argument constructor in string based header items</li>
<li><a href="https://issues.apache.org/jira/browse/WICKET-5411">WICKET-5411</a> - Improve AutoLabels by updating their CSS classes automatically during Ajax requests</li>
<li><a href="https://issues.apache.org/jira/browse/WICKET-5415">WICKET-5415</a> - Do not initialize pages which were not rendered</li>
<li><a href="https://issues.apache.org/jira/browse/WICKET-5420">WICKET-5420</a> - Make UploadProgressBar easier to extend</li>
<li><a href="https://issues.apache.org/jira/browse/WICKET-5423">WICKET-5423</a> - Create IResource based implementation of Native Web Sockets</li>
<li><a href="https://issues.apache.org/jira/browse/WICKET-5435">WICKET-5435</a> - Ajaxified version of WebSession#getClientInfo should be added</li>
<li><a href="https://issues.apache.org/jira/browse/WICKET-5436">WICKET-5436</a> - Implement BigIntegerConverter</li>
<li><a href="https://issues.apache.org/jira/browse/WICKET-5443">WICKET-5443</a> - Increase randomness and reduce predictability of CaptchaImageResource rendered images</li>
<li><a href="https://issues.apache.org/jira/browse/WICKET-5445">WICKET-5445</a> - Make CaptchaImageResource easier to extend and reuse</li>
<li><a href="https://issues.apache.org/jira/browse/WICKET-5455">WICKET-5455</a> - Allow access to the JS ResourceReference of AbstractAutoCompleteBehavior</li>
<li><a href="https://issues.apache.org/jira/browse/WICKET-5456">WICKET-5456</a> - Make RawMarkup extendable</li>
</ul>
<h4 id="task">Task</h4>
<ul>
<li><a href="https://issues.apache.org/jira/browse/WICKET-5431">WICKET-5431</a> - Download pages must use ASF mirror system for current releases</li>
</ul>
<h4 id="wish">Wish</h4>
<ul>
<li><a href="https://issues.apache.org/jira/browse/WICKET-1197">WICKET-1197</a> - add/remove all buttons in Palette component</li>
<li><a href="https://issues.apache.org/jira/browse/WICKET-4951">WICKET-4951</a> - Wicket-cdi and OpenWebBeans 1.1.x incompatibility</li>
</ul>
</div>
</section>
</div>
</main>
<footer class="l-container">
<div class="l-full">
<img src="/img/asf_logo_url.svg" style="height:90px; float:left; margin-right:10px;">
<div style="margin-top:12px;">Copyright © 2020 — 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>
</div>
</footer>
</body>
</html>