You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by mg...@apache.org on 2013/02/26 09:34:57 UTC

svn commit: r1450074 [3/3] - in /wicket/common/site/trunk: ./ _posts/ _site/ _site/2009/07/30/ _site/2009/08/21/ _site/2009/10/12/ _site/2009/10/24/ _site/2009/12/13/ _site/2009/12/21/ _site/2010/02/01/ _site/2010/03/05/ _site/2010/05/03/ _site/2010/05...

Modified: wicket/common/site/trunk/_site/learn/examples/ajaxcounter.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/learn/examples/ajaxcounter.html?rev=1450074&r1=1450073&r2=1450074&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/learn/examples/ajaxcounter.html (original)
+++ wicket/common/site/trunk/_site/learn/examples/ajaxcounter.html Tue Feb 26 08:34:55 2013
@@ -92,7 +92,7 @@
 			<a href="http://www.apache.org/dyn/closer.cgi/wicket/6.6.0">Wicket 6.6</a>
 		</li>
 		<li>
-			<a href="http://www.apache.org/dyn/closer.cgi/wicket/1.5.9">Wicket 1.5</a>
+			<a href="http://www.apache.org/dyn/closer.cgi/wicket/1.5.10">Wicket 1.5</a>
 		</li>
 		<li>
 			<a href="http://www.apache.org/dyn/closer.cgi/wicket/1.4.21">Wicket 1.4</a>
@@ -186,7 +186,8 @@
     <span class='nt'>&lt;/p&gt;</span>
 <span class='nt'>&lt;/body&gt;</span>
 <span class='nt'>&lt;/html&gt;</span>
-</code></pre></div>
+</code></pre>
+</div>
 <p>The link component will refresh the page and the label will replace the text &#8216;nr of times&#8217; with the count. Take a look at the following Java file to see how it works on the Java side:</p>
 <div class='highlight'><pre><code class='java'><span class='kn'>package</span> <span class='n'>wicket</span><span class='o'>.</span><span class='na'>quickstart</span><span class='o'>;</span>
 
@@ -212,7 +213,8 @@
         <span class='n'>add</span><span class='o'>(</span><span class='k'>new</span> <span class='n'>Label</span><span class='o'>&lt;</span><span class='n'>Integer</span><span class='o'>&gt;(</span><span class='s'>&quot;counter&quot;</span><span class='o'>,</span> <span class='n'>model</span><span class='o'>));</span>
     <span class='o'>}</span>
 <span class='o'>}</span>
-</code></pre></div>
+</code></pre>
+</div>
 <p>In this class we created a <code>Model</code> subclass that increases its counter everytime the <code>getObject</code> method gets called, and returns its value. We set this model on the label component, so that each time the label gets rendered the counter gets increased.</p>
 
 <p>The link doesn&#8217;t do anything, just listen to the requests and update the page. If you run this code in your application (download the Quickstart project and copy/paste the code in the homepage for a quick experience).</p>
@@ -248,7 +250,8 @@
         <span class='n'>add</span><span class='o'>(</span><span class='k'>new</span> <span class='n'>Label</span><span class='o'>&lt;</span><span class='n'>Integer</span><span class='o'>&gt;(</span><span class='s'>&quot;counter&quot;</span><span class='o'>,</span> <span class='n'>model</span><span class='o'>));</span>
     <span class='o'>}</span>
 <span class='o'>}</span>
-</code></pre></div>
+</code></pre>
+</div>
 <p>As you can see, the <code>Link</code> has been replaced with the <code>AjaxFallbackLink</code>, and the <code>onClick</code> method now takes a new argument: the <code>AjaxRequestTarget</code>. If you want a component to be updated in the Ajax request, you&#8217;ll have to add them to the target. So let&#8217;s alter the file to make it possible to add the label to the request target.</p>
 <div class='highlight'><pre><code class='java'><span class='kn'>package</span> <span class='n'>wicket</span><span class='o'>.</span><span class='na'>quickstart</span><span class='o'>;</span>
 
@@ -280,7 +283,8 @@
         <span class='n'>add</span><span class='o'>(</span><span class='n'>label</span><span class='o'>);</span>
     <span class='o'>}</span>
 <span class='o'>}</span>
-</code></pre></div>
+</code></pre>
+</div>
 <p>We&#8217;ve moved the instantiation of the label to the beginning of the page constructor and made a local, final variable. This way we can reference the label in the event handler of the link component.</p>
 
 <p>We also had to call <code>setOutputMarkupId(true)</code> on the label to be able to update the component when the request is returned to the client browser. If we don&#8217;t, Wicket will not know how to update the markup in the client.</p>

Modified: wicket/common/site/trunk/_site/learn/examples/dropdownchoice.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/learn/examples/dropdownchoice.html?rev=1450074&r1=1450073&r2=1450074&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/learn/examples/dropdownchoice.html (original)
+++ wicket/common/site/trunk/_site/learn/examples/dropdownchoice.html Tue Feb 26 08:34:55 2013
@@ -92,7 +92,7 @@
 			<a href="http://www.apache.org/dyn/closer.cgi/wicket/6.6.0">Wicket 6.6</a>
 		</li>
 		<li>
-			<a href="http://www.apache.org/dyn/closer.cgi/wicket/1.5.9">Wicket 1.5</a>
+			<a href="http://www.apache.org/dyn/closer.cgi/wicket/1.5.10">Wicket 1.5</a>
 		</li>
 		<li>
 			<a href="http://www.apache.org/dyn/closer.cgi/wicket/1.4.21">Wicket 1.4</a>
@@ -190,11 +190,12 @@
     <span class='cm'>/**</span>
 <span class='cm'>     * Gets the list of possible managers from the database.</span>
 <span class='cm'>     */</span>
-    <span class='kd'>public</span> <span class='kd'>static</span> <span class='n'>List</span><span class='o'>&lt;</span><span class='n'>Person</span><span class='o'>&gt;</span> <span class='nf'>getManagers</span><span class='o'>()</span> <span class='o'>{</span>
+    <span class='kd'>public</span> <span class='kd'>static</span> <span class='n'>List</span><span class='o'>&lt;</span><span class='n'>Person</span><span class='o'>&gt;</span> <span class='n'>getManagers</span><span class='o'>()</span> <span class='o'>{</span>
         <span class='c1'>// gets the managers from the database</span>
     <span class='o'>}</span>
 <span class='o'>}</span>
-</code></pre></div>
+</code></pre>
+</div>
 <h2 id='the_assign_manager_page'>The assign manager page</h2>
 
 <p>Next we want to create a page where we assign a manager to an employee. This is how the page would look like in HTML:</p>
@@ -220,7 +221,8 @@
 <span class='nt'>&lt;/form&gt;</span>
 <span class='nt'>&lt;/body&gt;</span>
 <span class='nt'>&lt;/html&gt;</span>
-</code></pre></div>
+</code></pre>
+</div>
 <p>This page has three components:</p>
 
 <ul>
@@ -253,7 +255,8 @@
         <span class='n'>form</span><span class='o'>.</span><span class='na'>add</span><span class='o'>(</span><span class='n'>ddc</span><span class='o'>));</span>
     <span class='o'>}</span>
 <span class='o'>}</span>
-</code></pre></div>
+</code></pre>
+</div>
 <p>In this example you see that we add the <code>DropDownChoice</code> to the form, and provide it with 3 parameters. The first is the component identifier. The second is the item that needs to be updated, in this case the <code>managedBy</code> field of the <code>employee</code>. The third parameter is a <code>LoadableDetachableModel</code> that retrieves the list of available choices.</p>
 
 <p>Note that the <code>DropDownChoice</code> component has many constructors, and that you need to read the JavaDoc documentation to pick the right one for you.</p>
@@ -271,7 +274,8 @@
         <span class='nt'>&lt;/select&gt;</span>
     <span class='nt'>&lt;/td&gt;</span>
 <span class='nt'>&lt;/tr&gt;</span>
-</code></pre></div>
+</code></pre>
+</div>
 <p>As you can see from this markup is that Wicket added the items of the managers list and numbered the values of the options. These are the indices of the items in the list. If the order of the list can change between requests, <em>or</em> if the list itself can change, then please use an <code>IChoiceRenderer</code>.</p>
 
 <h2 id='selecting_a_choice'>Selecting a choice</h2>
@@ -301,7 +305,8 @@
 <span class='n'>newEmployee</span><span class='o'>.</span><span class='na'>setManagedBy</span><span class='o'>(</span><span class='n'>manager</span><span class='o'>);</span>
 
 <span class='n'>setResponsePage</span><span class='o'>(</span><span class='k'>new</span> <span class='n'>AssignManagerPage</span><span class='o'>(</span><span class='n'>newEmployee</span><span class='o'>));</span>
-</code></pre></div>
+</code></pre>
+</div>
 <h2 id='summary'>Summary</h2>
 
 <p>This concludes the (small) example of using a <code>DropDownChoice</code> component correctly. The ideas behind Wicket are perfectly reflected in this component: work with your domain objects, bind them to your components and get on with the rest of your application.</p>

Modified: wicket/common/site/trunk/_site/learn/examples/guestbook.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/learn/examples/guestbook.html?rev=1450074&r1=1450073&r2=1450074&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/learn/examples/guestbook.html (original)
+++ wicket/common/site/trunk/_site/learn/examples/guestbook.html Tue Feb 26 08:34:55 2013
@@ -92,7 +92,7 @@
 			<a href="http://www.apache.org/dyn/closer.cgi/wicket/6.6.0">Wicket 6.6</a>
 		</li>
 		<li>
-			<a href="http://www.apache.org/dyn/closer.cgi/wicket/1.5.9">Wicket 1.5</a>
+			<a href="http://www.apache.org/dyn/closer.cgi/wicket/1.5.10">Wicket 1.5</a>
 		</li>
 		<li>
 			<a href="http://www.apache.org/dyn/closer.cgi/wicket/1.4.21">Wicket 1.4</a>
@@ -214,7 +214,8 @@
         <span class='k'>return</span> <span class='s'>&quot;[Comment date = &quot;</span> <span class='o'>+</span> <span class='n'>date</span> <span class='o'>+</span> <span class='s'>&quot;, text = &quot;</span> <span class='o'>+</span> <span class='n'>text</span> <span class='o'>+</span> <span class='s'>&quot;]&quot;</span><span class='o'>;</span>
     <span class='o'>}</span>
 <span class='o'>}</span>
-</code></pre></div>
+</code></pre>
+</div>
 <h2 id='guestbookjava'>GuestBook.java</h2>
 
 <p>In the file <code>GuestBook.java</code> we have put the Java component code for the guestbook page. This is the homepage for the guestbook application. The page consists of a form for entering new items to the guestbook and a list of repeating markup for showing the guestbook entries.</p>
@@ -315,7 +316,8 @@
         <span class='n'>commentList</span><span class='o'>.</span><span class='na'>clear</span><span class='o'>();</span>
     <span class='o'>}</span>
 <span class='o'>}</span>
-</code></pre></div>
+</code></pre>
+</div>
 <p>When the <code>CommentForm</code> is submitted, the <code>onSubmit()</code> method is called. Notice that nothing gets the value of the <code>TextArea</code> that was added in the <code>CommentForm</code> constructor. This is because the comment is the model and the third parameter to the <code>TextArea</code> constructor specified the property of the model to update. So all <code>onSubmit()</code> has to do is create a new comment from the model that was updated and add it to the comment list. When the page redraws, the new list will be rendered.</p>
 
 <p>We use a synchronized list as our shared static model used by <code>commentListView</code> (<code>commentList</code>) to ensure that it is only updated by one thread at a time. Remember, this is a multi-user application with a shared model!</p>
@@ -358,7 +360,8 @@
   <span class='nt'>&lt;/wicket:remove&gt;</span>
 <span class='nt'>&lt;/body&gt;</span>
 <span class='nt'>&lt;/html&gt;</span>
-</code></pre></div>
+</code></pre>
+</div>
 <h2 id='guestbookapplicationjava'>GuestBookApplication.java</h2>
 
 <p>For completeness, we&#8217;ve included the <code>GuestBookApplication</code> class, and as a final treat the modifications to the <code>web.xml</code> file.</p>
@@ -376,7 +379,8 @@
         <span class='k'>return</span> <span class='n'>GuestBook</span><span class='o'>.</span><span class='na'>class</span><span class='o'>;</span>
     <span class='o'>}</span>
 <span class='o'>}</span>
-</code></pre></div>
+</code></pre>
+</div>
 <h2 id='webxml'>web.xml</h2>
 
 <p>Add the following two sections (servlet and servlet-mapping) to your web.xml file for running this application.</p>
@@ -388,7 +392,8 @@
       <span class='nt'>&lt;param-value&gt;</span>org.apache.wicket.examples.guestbook.GuestBookApplication<span class='nt'>&lt;/param-value&gt;</span>
     <span class='nt'>&lt;/init-param&gt;</span>
 <span class='nt'>&lt;/filter&gt;</span>
-</code></pre></div>
+</code></pre>
+</div>
 		</div>
         <div id="clearer"></div>
 		<div id="footer"><span>

Modified: wicket/common/site/trunk/_site/learn/examples/helloworld.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/learn/examples/helloworld.html?rev=1450074&r1=1450073&r2=1450074&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/learn/examples/helloworld.html (original)
+++ wicket/common/site/trunk/_site/learn/examples/helloworld.html Tue Feb 26 08:34:55 2013
@@ -92,7 +92,7 @@
 			<a href="http://www.apache.org/dyn/closer.cgi/wicket/6.6.0">Wicket 6.6</a>
 		</li>
 		<li>
-			<a href="http://www.apache.org/dyn/closer.cgi/wicket/1.5.9">Wicket 1.5</a>
+			<a href="http://www.apache.org/dyn/closer.cgi/wicket/1.5.10">Wicket 1.5</a>
 		</li>
 		<li>
 			<a href="http://www.apache.org/dyn/closer.cgi/wicket/1.4.21">Wicket 1.4</a>
@@ -191,7 +191,8 @@
         <span class='k'>return</span> <span class='n'>HelloWorld</span><span class='o'>.</span><span class='na'>class</span><span class='o'>;</span>
     <span class='o'>}</span>
 <span class='o'>}</span>
-</code></pre></div>
+</code></pre>
+</div>
 <p>Here you can see that we define <code>wicket.examples.helloworld.HelloWorld</code> to be our home page. When the base URL of our application is requested, the markup rendered by the HelloWorld page is returned.</p>
 
 <h3 id='helloworldjava'>HelloWorld.java</h3>
@@ -203,7 +204,8 @@
         <span class='n'>add</span><span class='o'>(</span><span class='k'>new</span> <span class='n'>Label</span><span class='o'>(</span><span class='s'>&quot;message&quot;</span><span class='o'>,</span> <span class='s'>&quot;Hello World!&quot;</span><span class='o'>));</span>
     <span class='o'>}</span>
 <span class='o'>}</span>
-</code></pre></div>
+</code></pre>
+</div>
 <p>The Label is constructed using two parameters:</p>
 
 <ol>
@@ -226,7 +228,8 @@
     <span class='nt'>&lt;span</span> <span class='na'>wicket:id=</span><span class='s'>&quot;message&quot;</span><span class='nt'>&gt;</span>Message goes here<span class='nt'>&lt;/span&gt;</span>
 <span class='nt'>&lt;/body&gt;</span>
 <span class='nt'>&lt;/html&gt;</span>
-</code></pre></div>
+</code></pre>
+</div>
 <p>In this file, you see two elements that need some attention:</p>
 
 <ul>
@@ -264,7 +267,8 @@
         <span class='nt'>&lt;url-pattern&gt;</span>/*<span class='nt'>&lt;/url-pattern&gt;</span>
     <span class='nt'>&lt;/filter-mapping&gt;</span>
 <span class='nt'>&lt;/web-app&gt;</span>
-</code></pre></div>
+</code></pre>
+</div>
 <p>In this definition you see the Wicket filter defined, which handles all requests. In order to let Wicket know which application is available, only the applicationClassName filter parameter is needed.</p>
 
 <p>Also, notice the url-mapping to /*. The Wicket filter will only process requests that are Wicket requests. If a request is not Wicket related, the filter will pass the request on to the chain. This ensures that (static) resources outside the realm of the Wicket application, such as style sheets, JavaScript files, images and so forth will be served by the container.</p>

Modified: wicket/common/site/trunk/_site/learn/examples/index.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/learn/examples/index.html?rev=1450074&r1=1450073&r2=1450074&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/learn/examples/index.html (original)
+++ wicket/common/site/trunk/_site/learn/examples/index.html Tue Feb 26 08:34:55 2013
@@ -92,7 +92,7 @@
 			<a href="http://www.apache.org/dyn/closer.cgi/wicket/6.6.0">Wicket 6.6</a>
 		</li>
 		<li>
-			<a href="http://www.apache.org/dyn/closer.cgi/wicket/1.5.9">Wicket 1.5</a>
+			<a href="http://www.apache.org/dyn/closer.cgi/wicket/1.5.10">Wicket 1.5</a>
 		</li>
 		<li>
 			<a href="http://www.apache.org/dyn/closer.cgi/wicket/1.4.21">Wicket 1.4</a>

Modified: wicket/common/site/trunk/_site/learn/examples/markupinheritance.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/learn/examples/markupinheritance.html?rev=1450074&r1=1450073&r2=1450074&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/learn/examples/markupinheritance.html (original)
+++ wicket/common/site/trunk/_site/learn/examples/markupinheritance.html Tue Feb 26 08:34:55 2013
@@ -92,7 +92,7 @@
 			<a href="http://www.apache.org/dyn/closer.cgi/wicket/6.6.0">Wicket 6.6</a>
 		</li>
 		<li>
-			<a href="http://www.apache.org/dyn/closer.cgi/wicket/1.5.9">Wicket 1.5</a>
+			<a href="http://www.apache.org/dyn/closer.cgi/wicket/1.5.10">Wicket 1.5</a>
 		</li>
 		<li>
 			<a href="http://www.apache.org/dyn/closer.cgi/wicket/1.4.21">Wicket 1.4</a>
@@ -197,7 +197,8 @@
         This is in the super markup.<span class='nt'>&lt;br&gt;</span>
     <span class='nt'>&lt;/body&gt;</span>
 <span class='nt'>&lt;/html&gt;</span>
-</code></pre></div>
+</code></pre>
+</div>
 <p>In this markup you see two sentences that surround the <code>&lt;wicket:child&gt;</code> tag. All markup in this file will remain when a sub class of this page is created, only the <code>&lt;wicket:child&gt;</code> tag will be replaced with the child markup. So if we look at the following markup:</p>
 <div class='highlight'><pre><code class='html'><span class='nt'>&lt;html&gt;</span>
 <span class='nt'>&lt;head&gt;&lt;/head&gt;</span>
@@ -209,7 +210,8 @@
     This is in the child markup.<span class='nt'>&lt;br&gt;</span>
 <span class='nt'>&lt;/body&gt;</span>
 <span class='nt'>&lt;/html&gt;</span>
-</code></pre></div>
+</code></pre>
+</div>
 <p>we can see the markup that should be included in the parent. Only the markup between the <code>&lt;wicket:extend&gt;</code> tags is included in the final page. Take a look at the following markup which is the final markup when you would use this in a Wicket application.</p>
 <div class='highlight'><pre><code class='html'><span class='nt'>&lt;html&gt;</span>
 <span class='nt'>&lt;head&gt;&lt;/head&gt;</span>
@@ -221,7 +223,8 @@
     This is in the super markup.<span class='nt'>&lt;br&gt;</span>
 <span class='nt'>&lt;/body&gt;</span>
 <span class='nt'>&lt;/html&gt;</span>
-</code></pre></div>
+</code></pre>
+</div>
 <p>Here you can see that the <code>&lt;wicket:child /&gt;</code> tag has been expanded, and its contents filled with exactly the markup between the <code>&lt;wicket:extend&gt;</code> tags. If you want to get rid of the special Wicket tags, you can disable that on the markup settings (<a href='http://wicketframework.org/api/wicket/settings/IMarkupSettings'>IMarkupSettings</a>).</p>
 
 <h2 id='implementing_the_basepage'>Implementing the BasePage</h2>
@@ -240,7 +243,8 @@
 		<span class='n'>add</span><span class='o'>(</span><span class='k'>new</span> <span class='n'>Label</span><span class='o'>(</span><span class='s'>&quot;footer&quot;</span><span class='o'>,</span> <span class='s'>&quot;This is in the footer&quot;</span><span class='o'>));</span>
 	<span class='o'>}</span>
 <span class='o'>}</span>
-</code></pre></div>
+</code></pre>
+</div>
 <p>The two links should go into the header, and the footer in the footer of the page. Note that the abstract keyword isn&#8217;t required, but considered a good practise. Now let&#8217;s take a look at the markup for the BasePage</p>
 <div class='highlight'><pre><code class='html'><span class='nt'>&lt;html&gt;</span>
 <span class='nt'>&lt;head&gt;&lt;/head&gt;</span>
@@ -257,7 +261,8 @@
 <span class='nt'>&lt;/div&gt;</span>
 <span class='nt'>&lt;/body&gt;</span>
 <span class='nt'>&lt;/html&gt;</span>
-</code></pre></div>
+</code></pre>
+</div>
 <p>In this markup file you see the specific basic layout: we have 3 div elements:</p>
 
 <ol>
@@ -282,7 +287,8 @@
 		<span class='n'>add</span><span class='o'>(</span><span class='k'>new</span> <span class='n'>Label</span><span class='o'>(</span><span class='s'>&quot;label1&quot;</span><span class='o'>,</span> <span class='s'>&quot;This is in the subclass Page1&quot;</span><span class='o'>));</span>
 	<span class='o'>}</span>
 <span class='o'>}</span>
-</code></pre></div>
+</code></pre>
+</div>
 <p>In this example you see that we add a new label component to the page: <code>label1</code>. This component is only available for <code>Page1</code>, as such <code>Page2</code> can define its own component hierarchy. Let&#8217;s take a look at the markup for <code>Page1</code>:</p>
 <div class='highlight'><pre><code class='java'><span class='o'>&lt;</span><span class='n'>html</span><span class='o'>&gt;</span>
 <span class='o'>&lt;</span><span class='n'>head</span><span class='o'>&gt;&lt;/</span><span class='n'>head</span><span class='o'>&gt;</span>
@@ -293,7 +299,8 @@
 <span class='o'>&lt;/</span><span class='nl'>wicket:</span><span class='n'>extend</span><span class='o'>&gt;</span>
 <span class='o'>&lt;/</span><span class='n'>body</span><span class='o'>&gt;</span>
 <span class='o'>&lt;/</span><span class='n'>html</span><span class='o'>&gt;</span>
-</code></pre></div>
+</code></pre>
+</div>
 <p>Here you see that we added the <code>Label</code> component in the markup between the <code>&lt;wicket:extend&gt;</code> tags. If we were to add the component outside those tags, Wicket will not be able to render the component in the final page.</p>
 
 <p>Now, let&#8217;s do the same for <code>Page2</code>.</p>
@@ -306,7 +313,8 @@
 		<span class='n'>add</span><span class='o'>(</span><span class='k'>new</span> <span class='n'>Label</span><span class='o'>(</span><span class='s'>&quot;label2&quot;</span><span class='o'>,</span> <span class='s'>&quot;This is in the subclass Page2&quot;</span><span class='o'>));</span>
 	<span class='o'>}</span>
 <span class='o'>}</span>
-</code></pre></div><div class='highlight'><pre><code class='html'><span class='nt'>&lt;html&gt;</span>
+</code></pre>
+</div><div class='highlight'><pre><code class='html'><span class='nt'>&lt;html&gt;</span>
 <span class='nt'>&lt;head&gt;&lt;/head&gt;</span>
 <span class='nt'>&lt;body&gt;</span>
 <span class='nt'>&lt;wicket:extend&gt;</span>
@@ -315,7 +323,8 @@
 <span class='nt'>&lt;/wicket:extend&gt;</span>
 <span class='nt'>&lt;/body&gt;</span>
 <span class='nt'>&lt;/html&gt;</span>
-</code></pre></div>
+</code></pre>
+</div>
 <p>In <code>Page2</code> you see that we have a different component structure (<code>label2</code> instead of <code>label1</code>), and as such that the pages are quite different.</p>
 
 <p>If you paste this code into a Wicket quickstart application, you can see it immediately working (don&#8217;t forget to set the homepage to <code>Page1</code> or <code>Page2</code>).</p>

Modified: wicket/common/site/trunk/_site/learn/examples/navomatic.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/learn/examples/navomatic.html?rev=1450074&r1=1450073&r2=1450074&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/learn/examples/navomatic.html (original)
+++ wicket/common/site/trunk/_site/learn/examples/navomatic.html Tue Feb 26 08:34:55 2013
@@ -92,7 +92,7 @@
 			<a href="http://www.apache.org/dyn/closer.cgi/wicket/6.6.0">Wicket 6.6</a>
 		</li>
 		<li>
-			<a href="http://www.apache.org/dyn/closer.cgi/wicket/1.5.9">Wicket 1.5</a>
+			<a href="http://www.apache.org/dyn/closer.cgi/wicket/1.5.10">Wicket 1.5</a>
 		</li>
 		<li>
 			<a href="http://www.apache.org/dyn/closer.cgi/wicket/1.4.21">Wicket 1.4</a>
@@ -202,7 +202,8 @@
     <span class='nt'>&lt;/wicket:border&gt;</span>
 <span class='nt'>&lt;/body&gt;</span>
 <span class='nt'>&lt;/html&gt;</span>
-</code></pre></div>
+</code></pre>
+</div>
 <h3 id='border_usage'>Border usage</h3>
 <div class='highlight'><pre><code class='html'><span class='nt'>&lt;html&gt;</span>
 <span class='nt'>&lt;body&gt;</span>
@@ -211,14 +212,16 @@
   <span class='nt'>&lt;/span&gt;</span>
 <span class='nt'>&lt;/body&gt;</span>
 <span class='nt'>&lt;/html&gt;</span>
-</code></pre></div>
+</code></pre>
+</div>
 <h3 id='rendered_markup'>Rendered markup</h3>
 <div class='highlight'><pre><code class='html'><span class='nt'>&lt;html&gt;</span>
 <span class='nt'>&lt;body&gt;</span>
       First Middle Last
 <span class='nt'>&lt;/body&gt;</span>
 <span class='nt'>&lt;/html&gt;</span>
-</code></pre></div>
+</code></pre>
+</div>
 <p>In other words, the markup around the <code>&lt;wicket:body/&gt;</code> tag in the border component is sort of &#8220;wrapped around&#8221; the body of the <code>&lt;span&gt;</code> tag where the border is used. This seems simple in this example, but keep in mind that nested components and even nested borders can appear anywhere in either markup file. This can be used to create quite complex effects with relatively little code.</p>
 
 <h3 id='navomaticapplicationjava'>NavomaticApplication.java</h3>
@@ -236,7 +239,8 @@
         <span class='k'>return</span> <span class='n'>Page1</span><span class='o'>.</span><span class='na'>class</span><span class='o'>;</span>
     <span class='o'>}</span>
 <span class='o'>}</span>
-</code></pre></div>
+</code></pre>
+</div>
 <h3 id='page1java'>Page1.java</h3>
 
 <p>The Page1 Java and HTML files look like this:</p>
@@ -249,7 +253,8 @@
         <span class='n'>add</span><span class='o'>(</span><span class='k'>new</span> <span class='n'>NavomaticBorder</span><span class='o'>(</span><span class='s'>&quot;navomaticBorder&quot;</span><span class='o'>));</span>
     <span class='o'>}</span>
 <span class='o'>}</span>
-</code></pre></div>
+</code></pre>
+</div>
 <h3 id='page1html'>Page1.html</h3>
 <div class='highlight'><pre><code class='html'><span class='nt'>&lt;html&gt;</span>
 <span class='nt'>&lt;body&gt;</span> 
@@ -258,7 +263,8 @@
     <span class='nt'>&lt;/span&gt;</span>
 <span class='nt'>&lt;/body&gt;</span>
 <span class='nt'>&lt;/html&gt;</span>
-</code></pre></div>
+</code></pre>
+</div>
 <p>Notice that the NavomaticBorder component is attached to the <code>&lt;span&gt;</code> tag because the name of the component in the Java code is &#8220;navomaticBorder&#8221; and the <code>&lt;span&gt;</code> tag&#8217;s wicket:id attribute is set to &#8220;navomaticBorder&#8221;. Because the two names match, Wicket associates the NavomaticBorder Java component with the <code>&lt;span&gt;</code> tag.</p>
 
 <h3 id='page2java'>Page2.java</h3>
@@ -269,7 +275,8 @@
         <span class='n'>add</span><span class='o'>(</span><span class='k'>new</span> <span class='n'>NavomaticBorder</span><span class='o'>(</span><span class='s'>&quot;navomaticBorder&quot;</span><span class='o'>));</span>
     <span class='o'>}</span>
 <span class='o'>}</span>
-</code></pre></div>
+</code></pre>
+</div>
 <h3 id='page2html'>Page2.html</h3>
 <div class='highlight'><pre><code class='html'><span class='nt'>&lt;html&gt;</span>
 <span class='nt'>&lt;body&gt;</span>
@@ -278,7 +285,8 @@
     <span class='nt'>&lt;/span&gt;</span>
 <span class='nt'>&lt;/body&gt;</span>
 <span class='nt'>&lt;/html&gt;</span>
-</code></pre></div>
+</code></pre>
+</div>
 <h3 id='navomaticborderjava'>NavomaticBorder.java</h3>
 
 <p>So how does NavomaticBorder work? Glad you asked. The Java code below simply adds the two BoxBorder components you see. These components are nested borders which each draw a thin black line around their contents. The rest of the magic is in the NavomaticBorder markup.</p>
@@ -295,7 +303,8 @@
         <span class='n'>addToBorder</span><span class='o'>(</span><span class='k'>new</span> <span class='n'>BoxBorder</span><span class='o'>(</span><span class='s'>&quot;bodyBorder&quot;</span><span class='o'>));</span>
     <span class='o'>}</span>
 <span class='o'>}</span>
-</code></pre></div>
+</code></pre>
+</div>
 <h3 id='navomaticborderhtml'>NavomaticBorder.html</h3>
 <div class='highlight'><pre><code class='html'><span class='nt'>&lt;html&gt;</span>
 <span class='nt'>&lt;body&gt;</span>
@@ -326,7 +335,8 @@
     <span class='nt'>&lt;/wicket:border&gt;</span>
  <span class='nt'>&lt;/body&gt;</span>
 <span class='nt'>&lt;/html&gt;</span>
-</code></pre></div>
+</code></pre>
+</div>
 <p>Notice that the markup above encloses the entire contents of the markup file&#8217;s <code>&lt;body&gt;</code> with a <code>&lt;wicket:border&gt;</code> tag, as we described earlier. This lets the NavomaticBorder know how much of its markup to use when it wraps itself around the markup it finds in the context where it is used. Notice also the <code>&lt;wicket:body/&gt;</code> marker which designates where to put whatever is found inside the tag at the use context.</p>
 
 <p>Next, notice that the navigation links and the border&#8217;s <code>&lt;wicket:body/&gt;</code> are both enclosed in <code>&lt;span&gt;</code> tags which have wicket:id attributes that associate those tags with the BoxBorder components added in the NavomaticBorder constructor. These nested border components will each draw a thin black line around their contents.</p>
@@ -349,7 +359,8 @@
     <span class='nt'>&lt;servlet-name&gt;</span>NavomaticApplication<span class='nt'>&lt;/servlet-name&gt;</span>
     <span class='nt'>&lt;url-pattern&gt;</span>/app/*<span class='nt'>&lt;/url-pattern&gt;</span>
 <span class='nt'>&lt;/servlet-mapping&gt;</span>
-</code></pre></div>
+</code></pre>
+</div>
 		</div>
         <div id="clearer"></div>
 		<div id="footer"><span>

Modified: wicket/common/site/trunk/_site/learn/examples/usingfragments.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/learn/examples/usingfragments.html?rev=1450074&r1=1450073&r2=1450074&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/learn/examples/usingfragments.html (original)
+++ wicket/common/site/trunk/_site/learn/examples/usingfragments.html Tue Feb 26 08:34:55 2013
@@ -92,7 +92,7 @@
 			<a href="http://www.apache.org/dyn/closer.cgi/wicket/6.6.0">Wicket 6.6</a>
 		</li>
 		<li>
-			<a href="http://www.apache.org/dyn/closer.cgi/wicket/1.5.9">Wicket 1.5</a>
+			<a href="http://www.apache.org/dyn/closer.cgi/wicket/1.5.10">Wicket 1.5</a>
 		</li>
 		<li>
 			<a href="http://www.apache.org/dyn/closer.cgi/wicket/1.4.21">Wicket 1.4</a>
@@ -187,7 +187,8 @@
     <span class='nt'>&lt;wicket:fragment</span> <span class='na'>wicket:id=</span><span class='s'>&quot;fragment2&quot;</span><span class='nt'>&gt;</span>panel 2<span class='nt'>&lt;/wicket:fragment&gt;</span>
 <span class='nt'>&lt;/body&gt;</span>
 <span class='nt'>&lt;/html&gt;</span>
-</code></pre></div>
+</code></pre>
+</div>
 <p>As you can see in this markup file, we already took care of adding the fragment markup to the page in the <code>&lt;wicket:fragment&gt;</code> tags. Each fragment can contain its own markup and components. Those components need to be added to the Fragment instance in the Java file, just as you would do with a panel and web markup container.</p>
 <div class='highlight'><pre><code class='java'><span class='kn'>package</span> <span class='n'>wicket</span><span class='o'>.</span><span class='na'>quickstart</span><span class='o'>;</span>
 
@@ -205,7 +206,8 @@
         <span class='n'>add</span><span class='o'>(</span><span class='n'>loop</span><span class='o'>);</span>
     <span class='o'>}</span>
 <span class='o'>}</span>
-</code></pre></div>
+</code></pre>
+</div>
 <p>The Loop will render 5 items, and the <code>populateItem</code> method will be called for each item. In each item we construct a fragment identifier that corresponds to the identifier in the <code>&lt;wicket:fragment&gt;</code>. The <code>Fragment</code> constructor takes the identifier of the markup it needs to attach to, and the fragment identifier telling it where to find the specific markup in the file.</p>
 
 <h2 id='adding_components_to_fragments'>Adding components to fragments</h2>
@@ -221,7 +223,8 @@
     <span class='nt'>&lt;wicket:fragment</span> <span class='na'>wicket:id=</span><span class='s'>&quot;fragment2&quot;</span><span class='nt'>&gt;</span>panel 2<span class='nt'>&lt;/wicket:fragment&gt;</span>
 <span class='nt'>&lt;/body&gt;</span>
 <span class='nt'>&lt;/html&gt;</span>
-</code></pre></div>
+</code></pre>
+</div>
 <p>In order to add the component to the first fragment we&#8217;ll introduce a subclass for fragment one to encapsulate the component.</p>
 <div class='highlight'><pre><code class='java'><span class='kn'>package</span> <span class='n'>wicket</span><span class='o'>.</span><span class='na'>quickstart</span><span class='o'>;</span>
 
@@ -252,7 +255,8 @@
         <span class='n'>add</span><span class='o'>(</span><span class='n'>loop</span><span class='o'>);</span>
     <span class='o'>}</span>
 <span class='o'>}</span>
-</code></pre></div>
+</code></pre>
+</div>
 <p>The class <code>Fragment1</code> adds the label to itself. In the loop&#8217;s <code>populateItem</code> we alternate the fragments type between <code>Fragment</code> and <code>Fragment1</code>. This means that in the final page on one line you&#8217;ll see <code>&quot;panel 1 Hello, World!&quot;</code> and on the other line just <code>&quot;panel 2&quot;</code>.</p>
 
 <h2 id='summary'>Summary</h2>

Modified: wicket/common/site/trunk/_site/learn/ides.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/learn/ides.html?rev=1450074&r1=1450073&r2=1450074&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/learn/ides.html (original)
+++ wicket/common/site/trunk/_site/learn/ides.html Tue Feb 26 08:34:55 2013
@@ -92,7 +92,7 @@
 			<a href="http://www.apache.org/dyn/closer.cgi/wicket/6.6.0">Wicket 6.6</a>
 		</li>
 		<li>
-			<a href="http://www.apache.org/dyn/closer.cgi/wicket/1.5.9">Wicket 1.5</a>
+			<a href="http://www.apache.org/dyn/closer.cgi/wicket/1.5.10">Wicket 1.5</a>
 		</li>
 		<li>
 			<a href="http://www.apache.org/dyn/closer.cgi/wicket/1.4.21">Wicket 1.4</a>

Modified: wicket/common/site/trunk/_site/learn/index.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/learn/index.html?rev=1450074&r1=1450073&r2=1450074&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/learn/index.html (original)
+++ wicket/common/site/trunk/_site/learn/index.html Tue Feb 26 08:34:55 2013
@@ -92,7 +92,7 @@
 			<a href="http://www.apache.org/dyn/closer.cgi/wicket/6.6.0">Wicket 6.6</a>
 		</li>
 		<li>
-			<a href="http://www.apache.org/dyn/closer.cgi/wicket/1.5.9">Wicket 1.5</a>
+			<a href="http://www.apache.org/dyn/closer.cgi/wicket/1.5.10">Wicket 1.5</a>
 		</li>
 		<li>
 			<a href="http://www.apache.org/dyn/closer.cgi/wicket/1.4.21">Wicket 1.4</a>

Modified: wicket/common/site/trunk/_site/learn/projects/authroles.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/learn/projects/authroles.html?rev=1450074&r1=1450073&r2=1450074&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/learn/projects/authroles.html (original)
+++ wicket/common/site/trunk/_site/learn/projects/authroles.html Tue Feb 26 08:34:55 2013
@@ -92,7 +92,7 @@
 			<a href="http://www.apache.org/dyn/closer.cgi/wicket/6.6.0">Wicket 6.6</a>
 		</li>
 		<li>
-			<a href="http://www.apache.org/dyn/closer.cgi/wicket/1.5.9">Wicket 1.5</a>
+			<a href="http://www.apache.org/dyn/closer.cgi/wicket/1.5.10">Wicket 1.5</a>
 		</li>
 		<li>
 			<a href="http://www.apache.org/dyn/closer.cgi/wicket/1.4.21">Wicket 1.4</a>
@@ -223,7 +223,8 @@
 <span class='c1'>// either bookmarkable or not</span>
 <span class='nd'>@AuthorizeInstantiation</span><span class='o'>(</span><span class='s'>&quot;ADMIN&quot;</span><span class='o'>)</span>
 <span class='kd'>public</span> <span class='kd'>class</span> <span class='nc'>AdminAnnotationsBookmarkablePage</span> <span class='kd'>extends</span> <span class='n'>WebPage</span>
-</code></pre></div>
+</code></pre>
+</div>
 <p>When someone who doesn&#8217;t have the role ADMIN, Wicket will not allow the page to be fully constructed and throw an authorization exception during the construction of the page. This will result in an access denied page for the user.</p>
 
 <p>Enablng the annotations for role based authorization is done by setting the <code>WebApplication#getSecuritySettings</code> value to <code>AnnotationsRoleAuthorizationStrategy</code>. Then you can use the auth/roles provided authorization annotations.</p>
@@ -258,7 +259,8 @@
     <span class='nt'>&lt;artifactId&gt;</span>wicket-auth-roles<span class='nt'>&lt;/artifactId&gt;</span>
     <span class='nt'>&lt;version&gt;</span>6.6.0<span class='nt'>&lt;/version&gt;</span>
 <span class='nt'>&lt;/dependency&gt;</span>
-</code></pre></div>
+</code></pre>
+</div>
 <h3 id='required_dependencies'>Required dependencies</h3>
 
 <p>Wicket Auth/Roles requires the following jar files to be on your classpath:</p>

Modified: wicket/common/site/trunk/_site/learn/projects/datetime.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/learn/projects/datetime.html?rev=1450074&r1=1450073&r2=1450074&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/learn/projects/datetime.html (original)
+++ wicket/common/site/trunk/_site/learn/projects/datetime.html Tue Feb 26 08:34:55 2013
@@ -92,7 +92,7 @@
 			<a href="http://www.apache.org/dyn/closer.cgi/wicket/6.6.0">Wicket 6.6</a>
 		</li>
 		<li>
-			<a href="http://www.apache.org/dyn/closer.cgi/wicket/1.5.9">Wicket 1.5</a>
+			<a href="http://www.apache.org/dyn/closer.cgi/wicket/1.5.10">Wicket 1.5</a>
 		</li>
 		<li>
 			<a href="http://www.apache.org/dyn/closer.cgi/wicket/1.4.21">Wicket 1.4</a>

Modified: wicket/common/site/trunk/_site/learn/projects/devutils.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/learn/projects/devutils.html?rev=1450074&r1=1450073&r2=1450074&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/learn/projects/devutils.html (original)
+++ wicket/common/site/trunk/_site/learn/projects/devutils.html Tue Feb 26 08:34:55 2013
@@ -92,7 +92,7 @@
 			<a href="http://www.apache.org/dyn/closer.cgi/wicket/6.6.0">Wicket 6.6</a>
 		</li>
 		<li>
-			<a href="http://www.apache.org/dyn/closer.cgi/wicket/1.5.9">Wicket 1.5</a>
+			<a href="http://www.apache.org/dyn/closer.cgi/wicket/1.5.10">Wicket 1.5</a>
 		</li>
 		<li>
 			<a href="http://www.apache.org/dyn/closer.cgi/wicket/1.4.21">Wicket 1.4</a>

Modified: wicket/common/site/trunk/_site/learn/projects/extensions.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/learn/projects/extensions.html?rev=1450074&r1=1450073&r2=1450074&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/learn/projects/extensions.html (original)
+++ wicket/common/site/trunk/_site/learn/projects/extensions.html Tue Feb 26 08:34:55 2013
@@ -92,7 +92,7 @@
 			<a href="http://www.apache.org/dyn/closer.cgi/wicket/6.6.0">Wicket 6.6</a>
 		</li>
 		<li>
-			<a href="http://www.apache.org/dyn/closer.cgi/wicket/1.5.9">Wicket 1.5</a>
+			<a href="http://www.apache.org/dyn/closer.cgi/wicket/1.5.10">Wicket 1.5</a>
 		</li>
 		<li>
 			<a href="http://www.apache.org/dyn/closer.cgi/wicket/1.4.21">Wicket 1.4</a>

Modified: wicket/common/site/trunk/_site/learn/projects/guice.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/learn/projects/guice.html?rev=1450074&r1=1450073&r2=1450074&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/learn/projects/guice.html (original)
+++ wicket/common/site/trunk/_site/learn/projects/guice.html Tue Feb 26 08:34:55 2013
@@ -92,7 +92,7 @@
 			<a href="http://www.apache.org/dyn/closer.cgi/wicket/6.6.0">Wicket 6.6</a>
 		</li>
 		<li>
-			<a href="http://www.apache.org/dyn/closer.cgi/wicket/1.5.9">Wicket 1.5</a>
+			<a href="http://www.apache.org/dyn/closer.cgi/wicket/1.5.10">Wicket 1.5</a>
 		</li>
 		<li>
 			<a href="http://www.apache.org/dyn/closer.cgi/wicket/1.4.21">Wicket 1.4</a>

Modified: wicket/common/site/trunk/_site/learn/projects/index.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/learn/projects/index.html?rev=1450074&r1=1450073&r2=1450074&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/learn/projects/index.html (original)
+++ wicket/common/site/trunk/_site/learn/projects/index.html Tue Feb 26 08:34:55 2013
@@ -92,7 +92,7 @@
 			<a href="http://www.apache.org/dyn/closer.cgi/wicket/6.6.0">Wicket 6.6</a>
 		</li>
 		<li>
-			<a href="http://www.apache.org/dyn/closer.cgi/wicket/1.5.9">Wicket 1.5</a>
+			<a href="http://www.apache.org/dyn/closer.cgi/wicket/1.5.10">Wicket 1.5</a>
 		</li>
 		<li>
 			<a href="http://www.apache.org/dyn/closer.cgi/wicket/1.4.21">Wicket 1.4</a>

Modified: wicket/common/site/trunk/_site/learn/projects/ioc.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/learn/projects/ioc.html?rev=1450074&r1=1450073&r2=1450074&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/learn/projects/ioc.html (original)
+++ wicket/common/site/trunk/_site/learn/projects/ioc.html Tue Feb 26 08:34:55 2013
@@ -92,7 +92,7 @@
 			<a href="http://www.apache.org/dyn/closer.cgi/wicket/6.6.0">Wicket 6.6</a>
 		</li>
 		<li>
-			<a href="http://www.apache.org/dyn/closer.cgi/wicket/1.5.9">Wicket 1.5</a>
+			<a href="http://www.apache.org/dyn/closer.cgi/wicket/1.5.10">Wicket 1.5</a>
 		</li>
 		<li>
 			<a href="http://www.apache.org/dyn/closer.cgi/wicket/1.4.21">Wicket 1.4</a>

Modified: wicket/common/site/trunk/_site/learn/projects/jmx.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/learn/projects/jmx.html?rev=1450074&r1=1450073&r2=1450074&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/learn/projects/jmx.html (original)
+++ wicket/common/site/trunk/_site/learn/projects/jmx.html Tue Feb 26 08:34:55 2013
@@ -92,7 +92,7 @@
 			<a href="http://www.apache.org/dyn/closer.cgi/wicket/6.6.0">Wicket 6.6</a>
 		</li>
 		<li>
-			<a href="http://www.apache.org/dyn/closer.cgi/wicket/1.5.9">Wicket 1.5</a>
+			<a href="http://www.apache.org/dyn/closer.cgi/wicket/1.5.10">Wicket 1.5</a>
 		</li>
 		<li>
 			<a href="http://www.apache.org/dyn/closer.cgi/wicket/1.4.21">Wicket 1.4</a>

Modified: wicket/common/site/trunk/_site/learn/projects/spring.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/learn/projects/spring.html?rev=1450074&r1=1450073&r2=1450074&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/learn/projects/spring.html (original)
+++ wicket/common/site/trunk/_site/learn/projects/spring.html Tue Feb 26 08:34:55 2013
@@ -92,7 +92,7 @@
 			<a href="http://www.apache.org/dyn/closer.cgi/wicket/6.6.0">Wicket 6.6</a>
 		</li>
 		<li>
-			<a href="http://www.apache.org/dyn/closer.cgi/wicket/1.5.9">Wicket 1.5</a>
+			<a href="http://www.apache.org/dyn/closer.cgi/wicket/1.5.10">Wicket 1.5</a>
 		</li>
 		<li>
 			<a href="http://www.apache.org/dyn/closer.cgi/wicket/1.4.21">Wicket 1.4</a>

Modified: wicket/common/site/trunk/_site/learn/projects/velocity.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/learn/projects/velocity.html?rev=1450074&r1=1450073&r2=1450074&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/learn/projects/velocity.html (original)
+++ wicket/common/site/trunk/_site/learn/projects/velocity.html Tue Feb 26 08:34:55 2013
@@ -92,7 +92,7 @@
 			<a href="http://www.apache.org/dyn/closer.cgi/wicket/6.6.0">Wicket 6.6</a>
 		</li>
 		<li>
-			<a href="http://www.apache.org/dyn/closer.cgi/wicket/1.5.9">Wicket 1.5</a>
+			<a href="http://www.apache.org/dyn/closer.cgi/wicket/1.5.10">Wicket 1.5</a>
 		</li>
 		<li>
 			<a href="http://www.apache.org/dyn/closer.cgi/wicket/1.4.21">Wicket 1.4</a>
@@ -193,7 +193,8 @@
 #else
   They are not equivalent and this will be the output.
 #end
-</code></pre></div>
+</code></pre>
+</div>
 <p>Read <a href='http://velocity.apache.org/engine/releases/velocity-1.4/user-guide.html'>more</a> about the Velocity template language.</p>
 
 <p>This project allows you to use Velocity templates as a component within your Wicket pages, and let them live next to Wicket components. A typical usecase would be to enable your users to embed Velocity templates in your application and using that as a type of portlet.</p>
@@ -206,7 +207,8 @@
 <div class='highlight'><pre><code class='html'><span class='nt'>&lt;h2&gt;</span>This is a Velocity template<span class='nt'>&lt;/h2&gt;</span>
 
 <span class='nt'>&lt;p&gt;</span>The secret message is: $message<span class='nt'>&lt;/p&gt;</span>
-</code></pre></div>
+</code></pre>
+</div>
 <p>In this template we want to replace the string <code>$message</code> with the text &#8220;Hello, World!&#8221;. <code>$message</code> is Velocity markup denoting a variable that is taken from the context that is provided to the Velocity rendering engine.</p>
 
 <p>To use Velocity in your Wicket pages we provide a <code>VelocityPanel</code> which enables you to generate parts of your page using Velocity markup. Adding the panel to your Wicket page is shown in the following example:</p>
@@ -218,14 +220,16 @@
 	<span class='n'>UrlResourceStream</span> <span class='n'>template</span> <span class='o'>=</span> <span class='k'>new</span> <span class='n'>UrlResourceStream</span><span class='o'>(</span><span class='n'>getClass</span><span class='o'>().</span><span class='na'>getResource</span><span class='o'>(</span><span class='s'>&quot;test.html&quot;</span><span class='o'>));</span>
 	<span class='n'>add</span><span class='o'>(</span><span class='n'>VelocityPanel</span><span class='o'>.</span><span class='na'>forTemplateResource</span><span class='o'>(</span><span class='s'>&quot;velocityPanel&quot;</span><span class='o'>,</span> <span class='n'>context</span><span class='o'>,</span> <span class='n'>template</span><span class='o'>));</span>
 <span class='o'>}</span>
-</code></pre></div>
+</code></pre>
+</div>
 <p><code>VelocityPanel.forTemplateResource</code> creates a <code>VelocityPanel</code> and sets up the engine such that the context is merged with the template with each render.</p>
 
 <p>The markup of the page is quite simple: adding a VelocityPanel is as simple as using a <code>div</code> and attaching a <code>wicket:identifier</code> to it. The following example shows this.</p>
 <div class='highlight'><pre><code class='html'><span class='cp'>&lt;!DOCTYPE html&gt;</span>
 <span class='nt'>&lt;h1&gt;</span>This is a test page for Velocity<span class='nt'>&lt;/h1&gt;</span>
 <span class='nt'>&lt;div</span> <span class='na'>wicket:id=</span><span class='s'>&quot;velocityPanel&quot;</span><span class='nt'>&gt;&lt;/div&gt;</span>
-</code></pre></div>
+</code></pre>
+</div>
 <h2 id='installing'>Installing</h2>
 
 <p>Installing Wicket Velocity can be done through adding a dependency in your project&#8217;s Maven pom, or by putting the wicket-velocity.jar and the required dependencies in your projects classpath.</p>
@@ -238,7 +242,8 @@
     <span class='nt'>&lt;artifactId&gt;</span>wicket-velocity<span class='nt'>&lt;/artifactId&gt;</span>
     <span class='nt'>&lt;version&gt;</span>6.6.0<span class='nt'>&lt;/version&gt;</span>
 <span class='nt'>&lt;/dependency&gt;</span>
-</code></pre></div>
+</code></pre>
+</div>
 <h3 id='required_dependencies'>Required dependencies</h3>
 
 <p>Wicket Velocity requires the following jar files to be on your classpath:</p>

Modified: wicket/common/site/trunk/_site/meet/blogs.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/meet/blogs.html?rev=1450074&r1=1450073&r2=1450074&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/meet/blogs.html (original)
+++ wicket/common/site/trunk/_site/meet/blogs.html Tue Feb 26 08:34:55 2013
@@ -92,7 +92,7 @@
 			<a href="http://www.apache.org/dyn/closer.cgi/wicket/6.6.0">Wicket 6.6</a>
 		</li>
 		<li>
-			<a href="http://www.apache.org/dyn/closer.cgi/wicket/1.5.9">Wicket 1.5</a>
+			<a href="http://www.apache.org/dyn/closer.cgi/wicket/1.5.10">Wicket 1.5</a>
 		</li>
 		<li>
 			<a href="http://www.apache.org/dyn/closer.cgi/wicket/1.4.21">Wicket 1.4</a>

Modified: wicket/common/site/trunk/_site/meet/buzz.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/meet/buzz.html?rev=1450074&r1=1450073&r2=1450074&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/meet/buzz.html (original)
+++ wicket/common/site/trunk/_site/meet/buzz.html Tue Feb 26 08:34:55 2013
@@ -92,7 +92,7 @@
 			<a href="http://www.apache.org/dyn/closer.cgi/wicket/6.6.0">Wicket 6.6</a>
 		</li>
 		<li>
-			<a href="http://www.apache.org/dyn/closer.cgi/wicket/1.5.9">Wicket 1.5</a>
+			<a href="http://www.apache.org/dyn/closer.cgi/wicket/1.5.10">Wicket 1.5</a>
 		</li>
 		<li>
 			<a href="http://www.apache.org/dyn/closer.cgi/wicket/1.4.21">Wicket 1.4</a>

Modified: wicket/common/site/trunk/_site/meet/features.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/meet/features.html?rev=1450074&r1=1450073&r2=1450074&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/meet/features.html (original)
+++ wicket/common/site/trunk/_site/meet/features.html Tue Feb 26 08:34:55 2013
@@ -92,7 +92,7 @@
 			<a href="http://www.apache.org/dyn/closer.cgi/wicket/6.6.0">Wicket 6.6</a>
 		</li>
 		<li>
-			<a href="http://www.apache.org/dyn/closer.cgi/wicket/1.5.9">Wicket 1.5</a>
+			<a href="http://www.apache.org/dyn/closer.cgi/wicket/1.5.10">Wicket 1.5</a>
 		</li>
 		<li>
 			<a href="http://www.apache.org/dyn/closer.cgi/wicket/1.4.21">Wicket 1.4</a>

Modified: wicket/common/site/trunk/_site/meet/index.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/meet/index.html?rev=1450074&r1=1450073&r2=1450074&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/meet/index.html (original)
+++ wicket/common/site/trunk/_site/meet/index.html Tue Feb 26 08:34:55 2013
@@ -92,7 +92,7 @@
 			<a href="http://www.apache.org/dyn/closer.cgi/wicket/6.6.0">Wicket 6.6</a>
 		</li>
 		<li>
-			<a href="http://www.apache.org/dyn/closer.cgi/wicket/1.5.9">Wicket 1.5</a>
+			<a href="http://www.apache.org/dyn/closer.cgi/wicket/1.5.10">Wicket 1.5</a>
 		</li>
 		<li>
 			<a href="http://www.apache.org/dyn/closer.cgi/wicket/1.4.21">Wicket 1.4</a>

Modified: wicket/common/site/trunk/_site/meet/introduction.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/meet/introduction.html?rev=1450074&r1=1450073&r2=1450074&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/meet/introduction.html (original)
+++ wicket/common/site/trunk/_site/meet/introduction.html Tue Feb 26 08:34:55 2013
@@ -92,7 +92,7 @@
 			<a href="http://www.apache.org/dyn/closer.cgi/wicket/6.6.0">Wicket 6.6</a>
 		</li>
 		<li>
-			<a href="http://www.apache.org/dyn/closer.cgi/wicket/1.5.9">Wicket 1.5</a>
+			<a href="http://www.apache.org/dyn/closer.cgi/wicket/1.5.10">Wicket 1.5</a>
 		</li>
 		<li>
 			<a href="http://www.apache.org/dyn/closer.cgi/wicket/1.4.21">Wicket 1.4</a>

Modified: wicket/common/site/trunk/_site/meet/vision.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/meet/vision.html?rev=1450074&r1=1450073&r2=1450074&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/meet/vision.html (original)
+++ wicket/common/site/trunk/_site/meet/vision.html Tue Feb 26 08:34:55 2013
@@ -92,7 +92,7 @@
 			<a href="http://www.apache.org/dyn/closer.cgi/wicket/6.6.0">Wicket 6.6</a>
 		</li>
 		<li>
-			<a href="http://www.apache.org/dyn/closer.cgi/wicket/1.5.9">Wicket 1.5</a>
+			<a href="http://www.apache.org/dyn/closer.cgi/wicket/1.5.10">Wicket 1.5</a>
 		</li>
 		<li>
 			<a href="http://www.apache.org/dyn/closer.cgi/wicket/1.4.21">Wicket 1.4</a>

Modified: wicket/common/site/trunk/_site/start/download.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/start/download.html?rev=1450074&r1=1450073&r2=1450074&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/start/download.html (original)
+++ wicket/common/site/trunk/_site/start/download.html Tue Feb 26 08:34:55 2013
@@ -92,7 +92,7 @@
 			<a href="http://www.apache.org/dyn/closer.cgi/wicket/6.6.0">Wicket 6.6</a>
 		</li>
 		<li>
-			<a href="http://www.apache.org/dyn/closer.cgi/wicket/1.5.9">Wicket 1.5</a>
+			<a href="http://www.apache.org/dyn/closer.cgi/wicket/1.5.10">Wicket 1.5</a>
 		</li>
 		<li>
 			<a href="http://www.apache.org/dyn/closer.cgi/wicket/1.4.21">Wicket 1.4</a>
@@ -179,7 +179,7 @@
 
 <li><strong>Latest 6.x release</strong>: <a href='http://archive.apache.org/dist/wicket/6.6.0'>6.6.0</a></li>
 
-<li><strong>Latest 1.5.x release</strong>: <a href='http://archive.apache.org/dist/wicket/1.5.9'>1.5.9</a></li>
+<li><strong>Latest 1.5.x release</strong>: <a href='http://archive.apache.org/dist/wicket/1.5.10'>1.5.10</a></li>
 
 <li><strong>Latest 1.4.x release</strong> (no longer maintained): <a href='http://archive.apache.org/dist/wicket/1.4.21'>1.4.21</a></li>
 
@@ -234,14 +234,16 @@
     <span class='nt'>&lt;artifactId&gt;</span>wicket-core<span class='nt'>&lt;/artifactId&gt;</span>
     <span class='nt'>&lt;version&gt;</span>6.6.0<span class='nt'>&lt;/version&gt;</span>
 <span class='nt'>&lt;/dependency&gt;</span>
-</code></pre></div>
+</code></pre>
+</div>
 <p>For the SLF4J log4j binding:</p>
 <div class='highlight'><pre><code class='xml'><span class='nt'>&lt;dependency&gt;</span>
     <span class='nt'>&lt;groupId&gt;</span>org.slf4j<span class='nt'>&lt;/groupId&gt;</span>
     <span class='nt'>&lt;artifactId&gt;</span>slf4j-log4j12<span class='nt'>&lt;/artifactId&gt;</span>
     <span class='nt'>&lt;version&gt;</span>1.6.4<span class='nt'>&lt;/version&gt;</span>
 <span class='nt'>&lt;/dependency&gt;</span>
-</code></pre></div>
+</code></pre>
+</div>
 <h2 id='snapshots_and_latest_bleedingedge_code'>SNAPSHOTs and latest bleeding-edge code</h2>
 
 <p>If you wish to build the latest code from scratch, master and branches live in Git repository: <a href='https://git-wip-us.apache.org/repos/asf/wicket.git'>https://git-wip-us.apache.org/repos/asf/wicket.git</a></p>
@@ -275,7 +277,8 @@
         <span class='nt'>&lt;layout&gt;</span>default<span class='nt'>&lt;/layout&gt;</span>
     <span class='nt'>&lt;/repository&gt;</span>
 <span class='nt'>&lt;/repositories&gt;</span>
-</code></pre></div>
+</code></pre>
+</div>
 		</div>
         <div id="clearer"></div>
 		<div id="footer"><span>

Modified: wicket/common/site/trunk/_site/start/index.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/start/index.html?rev=1450074&r1=1450073&r2=1450074&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/start/index.html (original)
+++ wicket/common/site/trunk/_site/start/index.html Tue Feb 26 08:34:55 2013
@@ -92,7 +92,7 @@
 			<a href="http://www.apache.org/dyn/closer.cgi/wicket/6.6.0">Wicket 6.6</a>
 		</li>
 		<li>
-			<a href="http://www.apache.org/dyn/closer.cgi/wicket/1.5.9">Wicket 1.5</a>
+			<a href="http://www.apache.org/dyn/closer.cgi/wicket/1.5.10">Wicket 1.5</a>
 		</li>
 		<li>
 			<a href="http://www.apache.org/dyn/closer.cgi/wicket/1.4.21">Wicket 1.4</a>

Modified: wicket/common/site/trunk/_site/start/installing.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/start/installing.html?rev=1450074&r1=1450073&r2=1450074&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/start/installing.html (original)
+++ wicket/common/site/trunk/_site/start/installing.html Tue Feb 26 08:34:55 2013
@@ -92,7 +92,7 @@
 			<a href="http://www.apache.org/dyn/closer.cgi/wicket/6.6.0">Wicket 6.6</a>
 		</li>
 		<li>
-			<a href="http://www.apache.org/dyn/closer.cgi/wicket/1.5.9">Wicket 1.5</a>
+			<a href="http://www.apache.org/dyn/closer.cgi/wicket/1.5.10">Wicket 1.5</a>
 		</li>
 		<li>
 			<a href="http://www.apache.org/dyn/closer.cgi/wicket/1.4.21">Wicket 1.4</a>

Modified: wicket/common/site/trunk/_site/start/quickstart.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/start/quickstart.html?rev=1450074&r1=1450073&r2=1450074&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/start/quickstart.html (original)
+++ wicket/common/site/trunk/_site/start/quickstart.html Tue Feb 26 08:34:55 2013
@@ -92,7 +92,7 @@
 			<a href="http://www.apache.org/dyn/closer.cgi/wicket/6.6.0">Wicket 6.6</a>
 		</li>
 		<li>
-			<a href="http://www.apache.org/dyn/closer.cgi/wicket/1.5.9">Wicket 1.5</a>
+			<a href="http://www.apache.org/dyn/closer.cgi/wicket/1.5.10">Wicket 1.5</a>
 		</li>
 		<li>
 			<a href="http://www.apache.org/dyn/closer.cgi/wicket/1.4.21">Wicket 1.4</a>
@@ -234,7 +234,7 @@
 		
 
 		
-			<option value='1.5.9'>1.5.9</option>
+			<option value='1.5.10'>1.5.10</option>