You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by ad...@apache.org on 2013/11/11 23:13:16 UTC

svn commit: r1540864 [1/38] - in /wicket/common/site/trunk/_site/guide: ./ gapi/ gapi/DefaultPackage/ gapi/spring/ guide/ guide/pages/ guide/src/docs/guide/ guide/src/docs/img/ guide/src/docs/imgOrigin/ img/

Author: adelbene
Date: Mon Nov 11 22:13:12 2013
New Revision: 1540864

URL: http://svn.apache.org/r1540864
Log:
Added the chapter "how to use the example code"

Added:
    wicket/common/site/trunk/_site/guide/guide/howToSource.html   (with props)
    wicket/common/site/trunk/_site/guide/guide/src/docs/guide/howToSource.gdoc
    wicket/common/site/trunk/_site/guide/guide/src/docs/img/gitMavenPrj.png   (with props)
    wicket/common/site/trunk/_site/guide/guide/src/docs/img/gitRepo.png   (with props)
    wicket/common/site/trunk/_site/guide/guide/src/docs/imgOrigin/gitMavenPrj.png   (with props)
    wicket/common/site/trunk/_site/guide/guide/src/docs/imgOrigin/gitRepo.png   (with props)
    wicket/common/site/trunk/_site/guide/img/gitMavenPrj.png   (with props)
    wicket/common/site/trunk/_site/guide/img/gitRepo.png   (with props)
Modified:
    wicket/common/site/trunk/_site/guide/gapi/DefaultPackage/BootStrap.html
    wicket/common/site/trunk/_site/guide/gapi/DefaultPackage/UrlMappings.html
    wicket/common/site/trunk/_site/guide/gapi/deprecated-list.html
    wicket/common/site/trunk/_site/guide/gapi/help-doc.html
    wicket/common/site/trunk/_site/guide/gapi/index-all.html
    wicket/common/site/trunk/_site/guide/gapi/spring/resources.html
    wicket/common/site/trunk/_site/guide/guide/chapter1.html
    wicket/common/site/trunk/_site/guide/guide/chapter10.html
    wicket/common/site/trunk/_site/guide/guide/chapter11.html
    wicket/common/site/trunk/_site/guide/guide/chapter12.html
    wicket/common/site/trunk/_site/guide/guide/chapter13.html
    wicket/common/site/trunk/_site/guide/guide/chapter14.html
    wicket/common/site/trunk/_site/guide/guide/chapter15.html
    wicket/common/site/trunk/_site/guide/guide/chapter16.html
    wicket/common/site/trunk/_site/guide/guide/chapter17.html
    wicket/common/site/trunk/_site/guide/guide/chapter18.html
    wicket/common/site/trunk/_site/guide/guide/chapter19.html
    wicket/common/site/trunk/_site/guide/guide/chapter2.html
    wicket/common/site/trunk/_site/guide/guide/chapter20.html
    wicket/common/site/trunk/_site/guide/guide/chapter21.html
    wicket/common/site/trunk/_site/guide/guide/chapter22.html
    wicket/common/site/trunk/_site/guide/guide/chapter23.html
    wicket/common/site/trunk/_site/guide/guide/chapter24.html
    wicket/common/site/trunk/_site/guide/guide/chapter25.html
    wicket/common/site/trunk/_site/guide/guide/chapter26.html
    wicket/common/site/trunk/_site/guide/guide/chapter3.html
    wicket/common/site/trunk/_site/guide/guide/chapter4.html
    wicket/common/site/trunk/_site/guide/guide/chapter5.html
    wicket/common/site/trunk/_site/guide/guide/chapter6.html
    wicket/common/site/trunk/_site/guide/guide/chapter7.html
    wicket/common/site/trunk/_site/guide/guide/chapter8.html
    wicket/common/site/trunk/_site/guide/guide/chapter9.html
    wicket/common/site/trunk/_site/guide/guide/index.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter10_1.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter10_2.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter10_3.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter10_4.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter10_5.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter10_6.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter10_7.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter10_8.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter10_9.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter11_1.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter11_10.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter11_11.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter11_12.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter11_2.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter11_3.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter11_4.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter11_5.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter11_6.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter11_7.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter11_8.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter11_9.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter12_1.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter12_2.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter12_3.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter12_4.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter12_5.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter13_1.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter13_2.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter13_3.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter13_4.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter13_5.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter13_6.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter14_1.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter14_10.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter14_2.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter14_3.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter14_4.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter14_5.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter14_6.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter14_7.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter14_8.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter14_9.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter15_1.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter15_2.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter15_3.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter16_1.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter16_2.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter16_3.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter16_4.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter16_5.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter16_6.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter17_1.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter17_2.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter17_3.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter17_4.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter17_5.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter17_6.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter17_7.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter18_1.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter18_2.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter18_3.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter18_4.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter19_1.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter19_2.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter19_3.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter19_4.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter19_5.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter20_1.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter20_2.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter20_3.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter20_4.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter21_1.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter21_2.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter21_3.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter22_1.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter22_10.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter22_11.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter22_12.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter22_13.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter22_14.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter22_15.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter22_16.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter22_17.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter22_2.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter22_3.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter22_4.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter22_5.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter22_6.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter22_7.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter22_8.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter22_9.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter23_1.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter23_2.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter24_1.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter24_2.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter24_3.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter24_4.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter24_5.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter2_1.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter2_2.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter2_3.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter2_4.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter3_1.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter3_2.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter3_3.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter3_4.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter3_5.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter4_1.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter4_2.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter4_3.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter4_4.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter4_5.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter5_1.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter5_10.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter5_11.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter5_2.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter5_3.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter5_4.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter5_5.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter5_6.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter5_7.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter5_8.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter5_9.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter6_1.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter6_2.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter6_3.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter6_4.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter6_5.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter6_6.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter7_1.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter7_2.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter7_3.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter7_4.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter8_1.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter8_2.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter8_3.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter8_4.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter8_5.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter9_1.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter9_2.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter9_3.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter9_4.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter9_5.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter9_6.html
    wicket/common/site/trunk/_site/guide/guide/pages/chapter9_7.html
    wicket/common/site/trunk/_site/guide/guide/single.html
    wicket/common/site/trunk/_site/guide/guide/single.pdf
    wicket/common/site/trunk/_site/guide/guide/src/docs/guide/toc.yml
    wicket/common/site/trunk/_site/guide/index.html

Modified: wicket/common/site/trunk/_site/guide/gapi/DefaultPackage/BootStrap.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/gapi/DefaultPackage/BootStrap.html?rev=1540864&r1=1540863&r2=1540864&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/gapi/DefaultPackage/BootStrap.html (original)
+++ wicket/common/site/trunk/_site/guide/gapi/DefaultPackage/BootStrap.html Mon Nov 11 22:13:12 2013
@@ -6,9 +6,9 @@
 
 <html>
 <head>
-<!-- Generated by groovydoc (2.0.8) on Wed Nov 06 16:42:11 CET 2013 -->
+<!-- Generated by groovydoc (2.0.8) on Mon Nov 11 22:42:13 CET 2013 -->
 <title>BootStrap (Groovy Documentation)</title>
-<meta name="date" content="2013-11-06">
+<meta name="date" content="2013-11-11">
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
 <link href="../groovy.ico" type="image/x-icon" rel="shortcut icon">
 <link href="../groovy.ico" type="image/x-icon" rel="icon">

Modified: wicket/common/site/trunk/_site/guide/gapi/DefaultPackage/UrlMappings.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/gapi/DefaultPackage/UrlMappings.html?rev=1540864&r1=1540863&r2=1540864&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/gapi/DefaultPackage/UrlMappings.html (original)
+++ wicket/common/site/trunk/_site/guide/gapi/DefaultPackage/UrlMappings.html Mon Nov 11 22:13:12 2013
@@ -6,9 +6,9 @@
 
 <html>
 <head>
-<!-- Generated by groovydoc (2.0.8) on Wed Nov 06 16:42:11 CET 2013 -->
+<!-- Generated by groovydoc (2.0.8) on Mon Nov 11 22:42:13 CET 2013 -->
 <title>UrlMappings (Groovy Documentation)</title>
-<meta name="date" content="2013-11-06">
+<meta name="date" content="2013-11-11">
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
 <link href="../groovy.ico" type="image/x-icon" rel="shortcut icon">
 <link href="../groovy.ico" type="image/x-icon" rel="icon">

Modified: wicket/common/site/trunk/_site/guide/gapi/deprecated-list.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/gapi/deprecated-list.html?rev=1540864&r1=1540863&r2=1540864&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/gapi/deprecated-list.html (original)
+++ wicket/common/site/trunk/_site/guide/gapi/deprecated-list.html Mon Nov 11 22:13:12 2013
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
 <!-- Generated by groovydoc (2.0.8) on  -->
 <title>Deprecated API (wicket-userguide)</title>
-<meta name="date" content="2013-11-06">
+<meta name="date" content="2013-11-11">
 <link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
 <link href="groovy.ico" type="image/x-icon" rel="shortcut icon">
 <link href="groovy.ico" type="image/x-icon" rel="icon">

Modified: wicket/common/site/trunk/_site/guide/gapi/help-doc.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/gapi/help-doc.html?rev=1540864&r1=1540863&r2=1540864&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/gapi/help-doc.html (original)
+++ wicket/common/site/trunk/_site/guide/gapi/help-doc.html Mon Nov 11 22:13:12 2013
@@ -7,7 +7,7 @@
 <title>API Help (wicket-userguide)</title>
 <link href="groovy.ico" type="image/x-icon" rel="shortcut icon">
 <link href="groovy.ico" type="image/x-icon" rel="icon">
-<meta name="date" content="2013-11-06">
+<meta name="date" content="2013-11-11">
 <link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
 
 <script type="text/javascript">

Modified: wicket/common/site/trunk/_site/guide/gapi/index-all.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/gapi/index-all.html?rev=1540864&r1=1540863&r2=1540864&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/gapi/index-all.html (original)
+++ wicket/common/site/trunk/_site/guide/gapi/index-all.html Mon Nov 11 22:13:12 2013
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
 <!-- Generated by groovydoc (2.0.8) on  -->
 <title>Index (wicket-userguide)</title>
-<meta name="date" content="2013-11-06">
+<meta name="date" content="2013-11-11">
 <link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
 <link href="groovy.ico" type="image/x-icon" rel="shortcut icon">
 <link href="groovy.ico" type="image/x-icon" rel="icon">

Modified: wicket/common/site/trunk/_site/guide/gapi/spring/resources.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/gapi/spring/resources.html?rev=1540864&r1=1540863&r2=1540864&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/gapi/spring/resources.html (original)
+++ wicket/common/site/trunk/_site/guide/gapi/spring/resources.html Mon Nov 11 22:13:12 2013
@@ -6,9 +6,9 @@
 
 <html>
 <head>
-<!-- Generated by groovydoc (2.0.8) on Wed Nov 06 16:42:11 CET 2013 -->
+<!-- Generated by groovydoc (2.0.8) on Mon Nov 11 22:42:13 CET 2013 -->
 <title>resources (Groovy Documentation)</title>
-<meta name="date" content="2013-11-06">
+<meta name="date" content="2013-11-11">
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
 <link href="../groovy.ico" type="image/x-icon" rel="shortcut icon">
 <link href="../groovy.ico" type="image/x-icon" rel="icon">

Modified: wicket/common/site/trunk/_site/guide/guide/chapter1.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/chapter1.html?rev=1540864&r1=1540863&r2=1540864&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/guide/chapter1.html (original)
+++ wicket/common/site/trunk/_site/guide/guide/chapter1.html Mon Nov 11 22:13:12 2013
@@ -27,79 +27,82 @@ function addJsClass() {
                     <div class="toc-item" style="margin-left:0"><a href="../guide/chapter1.html"><strong>1</strong><span>Introduction</span></a>
                     </div>
                     
-                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter2.html"><strong>2</strong><span>Why should I learn Wicket?</span></a>
+                    <div class="toc-item" style="margin-left:0"><a href="../guide/howToSource.html"><strong>2</strong><span>How to use the example code</span></a>
                     </div>
                     
-                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter3.html"><strong>3</strong><span>Wicket says &ldquo;Hello world!&rdquo;</span></a>
+                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter2.html"><strong>3</strong><span>Why should I learn Wicket?</span></a>
                     </div>
                     
-                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter4.html"><strong>4</strong><span>Wicket as page layout manager</span></a>
+                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter3.html"><strong>4</strong><span>Wicket says &ldquo;Hello world!&rdquo;</span></a>
                     </div>
                     
-                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter5.html"><strong>5</strong><span>Keeping control over HTML</span></a>
+                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter4.html"><strong>5</strong><span>Wicket as page layout manager</span></a>
                     </div>
                     
-                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter6.html"><strong>6</strong><span>Components lifecycle</span></a>
+                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter5.html"><strong>6</strong><span>Keeping control over HTML</span></a>
                     </div>
                     
-                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter7.html"><strong>7</strong><span>Page versioning and caching</span></a>
+                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter6.html"><strong>7</strong><span>Components lifecycle</span></a>
                     </div>
                     
-                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter8.html"><strong>8</strong><span>Under the hood of the request processing</span></a>
+                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter7.html"><strong>8</strong><span>Page versioning and caching</span></a>
                     </div>
                     
-                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter9.html"><strong>9</strong><span>Wicket Links and URL generation</span></a>
+                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter8.html"><strong>9</strong><span>Under the hood of the request processing</span></a>
                     </div>
                     
-                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter10.html"><strong>10</strong><span>Wicket models and forms</span></a>
+                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter9.html"><strong>10</strong><span>Wicket Links and URL generation</span></a>
                     </div>
                     
-                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter11.html"><strong>11</strong><span>Wicket forms in detail</span></a>
+                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter10.html"><strong>11</strong><span>Wicket models and forms</span></a>
                     </div>
                     
-                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter12.html"><strong>12</strong><span>Displaying multiple items with repeaters</span></a>
+                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter11.html"><strong>12</strong><span>Wicket forms in detail</span></a>
                     </div>
                     
-                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter13.html"><strong>13</strong><span>Internationalization with Wicket</span></a>
+                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter12.html"><strong>13</strong><span>Displaying multiple items with repeaters</span></a>
                     </div>
                     
-                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter14.html"><strong>14</strong><span>Resource management with Wicket</span></a>
+                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter13.html"><strong>14</strong><span>Internationalization with Wicket</span></a>
                     </div>
                     
-                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter15.html"><strong>15</strong><span>An example of integration with JavaScript</span></a>
+                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter14.html"><strong>15</strong><span>Resource management with Wicket</span></a>
                     </div>
                     
-                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter16.html"><strong>16</strong><span>Wicket advanced topics</span></a>
+                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter15.html"><strong>16</strong><span>An example of integration with JavaScript</span></a>
                     </div>
                     
-                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter17.html"><strong>17</strong><span>Working with AJAX</span></a>
+                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter16.html"><strong>17</strong><span>Wicket advanced topics</span></a>
                     </div>
                     
-                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter18.html"><strong>18</strong><span>Integration with enterprise containers</span></a>
+                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter17.html"><strong>18</strong><span>Working with AJAX</span></a>
                     </div>
                     
-                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter19.html"><strong>19</strong><span>Security with Wicket</span></a>
+                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter18.html"><strong>19</strong><span>Integration with enterprise containers</span></a>
                     </div>
                     
-                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter20.html"><strong>20</strong><span>Test Driven Development with Wicket</span></a>
+                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter19.html"><strong>20</strong><span>Security with Wicket</span></a>
                     </div>
                     
-                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter21.html"><strong>21</strong><span>Test Driven Development with Wicket and Spring</span></a>
+                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter20.html"><strong>21</strong><span>Test Driven Development with Wicket</span></a>
                     </div>
                     
-                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter22.html"><strong>22</strong><span>Wicket Best Practices</span></a>
+                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter21.html"><strong>22</strong><span>Test Driven Development with Wicket and Spring</span></a>
                     </div>
                     
-                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter23.html"><strong>23</strong><span>Working with Maven (Appendix)</span></a>
+                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter22.html"><strong>23</strong><span>Wicket Best Practices</span></a>
                     </div>
                     
-                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter24.html"><strong>24</strong><span>Project WicketStuff (Appendix)</span></a>
+                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter23.html"><strong>24</strong><span>Working with Maven (Appendix)</span></a>
                     </div>
                     
-                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter25.html"><strong>25</strong><span>Lost In Redirection With Apache Wicket (Appendix)</span></a>
+                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter24.html"><strong>25</strong><span>Project WicketStuff (Appendix)</span></a>
                     </div>
                     
-                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter26.html"><strong>26</strong><span>Contributing to this guide (Appendix)</span></a>
+                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter25.html"><strong>26</strong><span>Lost In Redirection With Apache Wicket (Appendix)</span></a>
+                    </div>
+                    
+                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter26.html"><strong>27</strong><span>Contributing to this guide (Appendix)</span></a>
                     </div>
                     
                 </div>
@@ -133,7 +136,7 @@ function addJsClass() {
                 <span id='toggle-col1' class="toggle">(<a href="#" onclick="localToggle(); return false;">Quick Reference</a>)</span>
 
                 
-                    <div class="toc-item next-right"><a href="../guide/chapter2.html"><strong>2</strong><span>Why should I learn Wicket?</span> >></a></div>
+                    <div class="toc-item next-right"><a href="../guide/howToSource.html"><strong>2</strong><span>How to use the example code</span> >></a></div>
                 
 
 
@@ -159,7 +162,7 @@ The various Wicket-related topics are gr
 
                 <div style="clear:both;margin-top:15px;"></div>
                 
-                    <div class="toc-item next-right"><a href="../guide/chapter2.html"><strong>2</strong><span>Why should I learn Wicket?</span> >></a></div>
+                    <div class="toc-item next-right"><a href="../guide/howToSource.html"><strong>2</strong><span>How to use the example code</span> >></a></div>
                 
                 <div style="clear:both"></div>
             </div>

Modified: wicket/common/site/trunk/_site/guide/guide/chapter10.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/chapter10.html?rev=1540864&r1=1540863&r2=1540864&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/guide/chapter10.html (original)
+++ wicket/common/site/trunk/_site/guide/guide/chapter10.html Mon Nov 11 22:13:12 2013
@@ -2,7 +2,7 @@
                       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
 <head>
-    <title>10 Wicket models and forms 6.x</title>
+    <title>11 Wicket models and forms 6.x</title>
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
     <link rel="stylesheet" href="../css/main.css" type="text/css" media="screen, print" title="Style" charset="utf-8"/>
     <link rel="stylesheet" href="../css/pdf.css" type="text/css" media="print" title="PDF" charset="utf-8"/>
@@ -27,79 +27,82 @@ function addJsClass() {
                     <div class="toc-item" style="margin-left:0"><a href="../guide/chapter1.html"><strong>1</strong><span>Introduction</span></a>
                     </div>
                     
-                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter2.html"><strong>2</strong><span>Why should I learn Wicket?</span></a>
+                    <div class="toc-item" style="margin-left:0"><a href="../guide/howToSource.html"><strong>2</strong><span>How to use the example code</span></a>
                     </div>
                     
-                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter3.html"><strong>3</strong><span>Wicket says &ldquo;Hello world!&rdquo;</span></a>
+                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter2.html"><strong>3</strong><span>Why should I learn Wicket?</span></a>
                     </div>
                     
-                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter4.html"><strong>4</strong><span>Wicket as page layout manager</span></a>
+                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter3.html"><strong>4</strong><span>Wicket says &ldquo;Hello world!&rdquo;</span></a>
                     </div>
                     
-                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter5.html"><strong>5</strong><span>Keeping control over HTML</span></a>
+                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter4.html"><strong>5</strong><span>Wicket as page layout manager</span></a>
                     </div>
                     
-                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter6.html"><strong>6</strong><span>Components lifecycle</span></a>
+                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter5.html"><strong>6</strong><span>Keeping control over HTML</span></a>
                     </div>
                     
-                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter7.html"><strong>7</strong><span>Page versioning and caching</span></a>
+                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter6.html"><strong>7</strong><span>Components lifecycle</span></a>
                     </div>
                     
-                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter8.html"><strong>8</strong><span>Under the hood of the request processing</span></a>
+                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter7.html"><strong>8</strong><span>Page versioning and caching</span></a>
                     </div>
                     
-                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter9.html"><strong>9</strong><span>Wicket Links and URL generation</span></a>
+                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter8.html"><strong>9</strong><span>Under the hood of the request processing</span></a>
                     </div>
                     
-                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter10.html"><strong>10</strong><span>Wicket models and forms</span></a>
+                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter9.html"><strong>10</strong><span>Wicket Links and URL generation</span></a>
                     </div>
                     
-                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter11.html"><strong>11</strong><span>Wicket forms in detail</span></a>
+                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter10.html"><strong>11</strong><span>Wicket models and forms</span></a>
                     </div>
                     
-                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter12.html"><strong>12</strong><span>Displaying multiple items with repeaters</span></a>
+                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter11.html"><strong>12</strong><span>Wicket forms in detail</span></a>
                     </div>
                     
-                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter13.html"><strong>13</strong><span>Internationalization with Wicket</span></a>
+                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter12.html"><strong>13</strong><span>Displaying multiple items with repeaters</span></a>
                     </div>
                     
-                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter14.html"><strong>14</strong><span>Resource management with Wicket</span></a>
+                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter13.html"><strong>14</strong><span>Internationalization with Wicket</span></a>
                     </div>
                     
-                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter15.html"><strong>15</strong><span>An example of integration with JavaScript</span></a>
+                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter14.html"><strong>15</strong><span>Resource management with Wicket</span></a>
                     </div>
                     
-                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter16.html"><strong>16</strong><span>Wicket advanced topics</span></a>
+                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter15.html"><strong>16</strong><span>An example of integration with JavaScript</span></a>
                     </div>
                     
-                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter17.html"><strong>17</strong><span>Working with AJAX</span></a>
+                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter16.html"><strong>17</strong><span>Wicket advanced topics</span></a>
                     </div>
                     
-                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter18.html"><strong>18</strong><span>Integration with enterprise containers</span></a>
+                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter17.html"><strong>18</strong><span>Working with AJAX</span></a>
                     </div>
                     
-                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter19.html"><strong>19</strong><span>Security with Wicket</span></a>
+                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter18.html"><strong>19</strong><span>Integration with enterprise containers</span></a>
                     </div>
                     
-                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter20.html"><strong>20</strong><span>Test Driven Development with Wicket</span></a>
+                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter19.html"><strong>20</strong><span>Security with Wicket</span></a>
                     </div>
                     
-                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter21.html"><strong>21</strong><span>Test Driven Development with Wicket and Spring</span></a>
+                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter20.html"><strong>21</strong><span>Test Driven Development with Wicket</span></a>
                     </div>
                     
-                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter22.html"><strong>22</strong><span>Wicket Best Practices</span></a>
+                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter21.html"><strong>22</strong><span>Test Driven Development with Wicket and Spring</span></a>
                     </div>
                     
-                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter23.html"><strong>23</strong><span>Working with Maven (Appendix)</span></a>
+                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter22.html"><strong>23</strong><span>Wicket Best Practices</span></a>
                     </div>
                     
-                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter24.html"><strong>24</strong><span>Project WicketStuff (Appendix)</span></a>
+                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter23.html"><strong>24</strong><span>Working with Maven (Appendix)</span></a>
                     </div>
                     
-                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter25.html"><strong>25</strong><span>Lost In Redirection With Apache Wicket (Appendix)</span></a>
+                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter24.html"><strong>25</strong><span>Project WicketStuff (Appendix)</span></a>
                     </div>
                     
-                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter26.html"><strong>26</strong><span>Contributing to this guide (Appendix)</span></a>
+                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter25.html"><strong>26</strong><span>Lost In Redirection With Apache Wicket (Appendix)</span></a>
+                    </div>
+                    
+                    <div class="toc-item" style="margin-left:0"><a href="../guide/chapter26.html"><strong>27</strong><span>Contributing to this guide (Appendix)</span></a>
                     </div>
                     
                 </div>
@@ -129,18 +132,18 @@ function addJsClass() {
             <div id="main" class="corner-all">
 
                 
-                    <div class="toc-item prev-left"><a href="../guide/chapter9.html">&lt;&lt; <strong>9</strong><span>Wicket Links and URL generation</span></a></div>
+                    <div class="toc-item prev-left"><a href="../guide/chapter9.html">&lt;&lt; <strong>10</strong><span>Wicket Links and URL generation</span></a></div>
                 
 
                 <span id='toggle-col1' class="toggle">(<a href="#" onclick="localToggle(); return false;">Quick Reference</a>)</span>
 
                 
-                    <div class="toc-item next-right"><a href="../guide/chapter11.html"><strong>11</strong><span>Wicket forms in detail</span> >></a></div>
+                    <div class="toc-item next-right"><a href="../guide/chapter11.html"><strong>12</strong><span>Wicket forms in detail</span> >></a></div>
                 
 
 
                 <div class="project">
-                    <h1>10 Wicket models and forms - Reference Documentation</h1>
+                    <h1>11 Wicket models and forms - Reference Documentation</h1>
 
                     <p><strong>Authors:</strong> Andrea Del Bene, Carsten Hufe, Christian Kroemer, Daniel Bartl, Paul Borș</p>
 
@@ -153,31 +156,31 @@ function addJsClass() {
                 <div id="table-of-content">
                     <h2>Table of Contents</h2>
                     
-                    <div class="toc-item" style="margin-left:0px"><a href="#chapter10_1"><strong>10.1</strong><span>What is a model?</span></a>
+                    <div class="toc-item" style="margin-left:0px"><a href="#chapter10_1"><strong>11.1</strong><span>What is a model?</span></a>
                     </div>
                     
-                    <div class="toc-item" style="margin-left:0px"><a href="#chapter10_2"><strong>10.2</strong><span>Models and JavaBeans</span></a>
+                    <div class="toc-item" style="margin-left:0px"><a href="#chapter10_2"><strong>11.2</strong><span>Models and JavaBeans</span></a>
                     </div>
                     
-                    <div class="toc-item" style="margin-left:0px"><a href="#chapter10_3"><strong>10.3</strong><span>Wicket forms</span></a>
+                    <div class="toc-item" style="margin-left:0px"><a href="#chapter10_3"><strong>11.3</strong><span>Wicket forms</span></a>
                     </div>
                     
-                    <div class="toc-item" style="margin-left:0px"><a href="#chapter10_4"><strong>10.4</strong><span>Component DropDownChoice</span></a>
+                    <div class="toc-item" style="margin-left:0px"><a href="#chapter10_4"><strong>11.4</strong><span>Component DropDownChoice</span></a>
                     </div>
                     
-                    <div class="toc-item" style="margin-left:0px"><a href="#chapter10_5"><strong>10.5</strong><span>Model chaining</span></a>
+                    <div class="toc-item" style="margin-left:0px"><a href="#chapter10_5"><strong>11.5</strong><span>Model chaining</span></a>
                     </div>
                     
-                    <div class="toc-item" style="margin-left:0px"><a href="#chapter10_6"><strong>10.6</strong><span>Detachable models</span></a>
+                    <div class="toc-item" style="margin-left:0px"><a href="#chapter10_6"><strong>11.6</strong><span>Detachable models</span></a>
                     </div>
                     
-                    <div class="toc-item" style="margin-left:0px"><a href="#chapter10_7"><strong>10.7</strong><span>Using more than one model in a component</span></a>
+                    <div class="toc-item" style="margin-left:0px"><a href="#chapter10_7"><strong>11.7</strong><span>Using more than one model in a component</span></a>
                     </div>
                     
-                    <div class="toc-item" style="margin-left:0px"><a href="#chapter10_8"><strong>10.8</strong><span>Use models!</span></a>
+                    <div class="toc-item" style="margin-left:0px"><a href="#chapter10_8"><strong>11.8</strong><span>Use models!</span></a>
                     </div>
                     
-                    <div class="toc-item" style="margin-left:0px"><a href="#chapter10_9"><strong>10.9</strong><span>Summary</span></a>
+                    <div class="toc-item" style="margin-left:0px"><a href="#chapter10_9"><strong>11.9</strong><span>Summary</span></a>
                     </div>
                     
                 </div>
@@ -185,11 +188,11 @@ function addJsClass() {
 
                 
 
-<h1 id="chapter10">10 Wicket models and forms</h1>
+<h1 id="chapter10">11 Wicket models and forms</h1>
 In Wicket the concept of “model” is probably the most important topic of the entire framework and it is strictly related to the usage of its components. In addition, models are also an important element for  internationalization, as we will see in paragraph 12.6. However, despite their fundamental role, in Wicket models are not difficult to understand but the best way to learn how they work is to use them with forms. That's why we haven't talked about models so far, and why this chapter discusses these two topics together.
 
 
-<h2 id="chapter10_1">10.1 What is a model?</h2>
+<h2 id="chapter10_1">11.1 What is a model?</h2>
 <p class="paragraph"/>Model is essentially a <a href="http://en.wikipedia.org/wiki/Facade_pattern" target="blank">facade</a> interface which allows components to access and modify their data without knowing any detail about how they are managed or persisted. Every component has at most one related model, while a model can be shared among different components. In Wicket a model is any implementation of the interface org.apache.wicket.model.IModel:<p class="paragraph"/><img border="0" class="center" src="../img/uml-imodel.png"></img><p class="paragraph"/>The IModel interface defines just the methods needed to get and set a data object (getObject() and setObject()), decoupling components from concrete details about the persistence strategy adopted for data. In addition, the level of indirection introduced by models allows access data object only when it is really needed (for example during the rendering phase) and not earlier when it may not be ready to be used.<p class="paragraph"/>An
 y component can get/set its model as well as its data object using the 4 public shortcut methods listed in the class diagram above. The two methods onModelChanged() and onModelChanging() are triggered by Wicket each time a model is modified: the first one is called after the model has been changed, the second one just before the change occurs. In the examples seen so far we have worked with Label component using its constructor which takes as input two string parameters, the component id and the text to display:<p class="paragraph"/><div class="code"><pre>add(<span class="java&#45;keyword">new</span> Label(<span class="java&#45;quote">"helloMessage"</span>, <span class="java&#45;quote">"Hello WicketWorld!"</span>));</pre></div><p class="paragraph"/>This constructor internally builds a model which wraps the second string parameter. That's why we didn't mention label model in the previous examples. Here is the code of this constructor:<p class="paragraph"/><div class="code"><pre><span
  class="java&#45;keyword">public</span> Label(<span class="java&#45;keyword">final</span> <span class="java&#45;object">String</span> id, <span class="java&#45;object">String</span> label) &#123;
 	<span class="java&#45;keyword">this</span>(id, <span class="java&#45;keyword">new</span> Model&#60;<span class="java&#45;object">String</span>&#62;(label));
 &#125;</pre></div><p class="paragraph"/>Class org.apache.wicket.model.Model is a basic implementation of IModel. It can wrap any object that implements the interface java.io.Serializable. The reason of this constraint over data object is that this model is stored in the web session, and we know from chapter 6 that data are stored into session using serialization.<p class="paragraph"/><blockquote class="note">
@@ -208,7 +211,7 @@ By default class Component escapes HTML 
 </blockquote>
 
 
-<h2 id="chapter10_2">10.2 Models and JavaBeans</h2>
+<h2 id="chapter10_2">11.2 Models and JavaBeans</h2>
 <p class="paragraph"/>One of the main goals of Wicket is to use JavaBeans and POJO as data model, overcoming the impedance mismatch between web technologies and OO paradigm. In order to make this task as easy as possible, Wicket offers two special model classes: org.apache.wicket.model.PropertyModel and org.apache.wicket.model.CompoundPropertyModel. We will see how to use them in the next two examples, using the following JavaBean as the data object:<p class="paragraph"/><div class="code"><pre><span class="java&#45;keyword">public</span> class Person <span class="java&#45;keyword">implements</span> Serializable &#123;<p class="paragraph"/>	<span class="java&#45;keyword">private</span> <span class="java&#45;object">String</span> name;
 	<span class="java&#45;keyword">private</span> <span class="java&#45;object">String</span> surname;
 	<span class="java&#45;keyword">private</span> <span class="java&#45;object">String</span> address;
@@ -241,7 +244,7 @@ Model is referred to as static model bec
 </blockquote>
 
 
-<h2 id="chapter10_3">10.3 Wicket forms</h2>
+<h2 id="chapter10_3">11.3 Wicket forms</h2>
 <p class="paragraph"/>Web applications use HTML forms to collect user input and send it to the server. Wicket provides org.apache.wicket.markup.html.form.Form class to handle web forms. This component must be bound to &#60;form&#62; tag. The following snippet shows how to create a very basic Wicket form in a page:<p class="paragraph"/>Html:<p class="paragraph"/><div class="code"><pre>&#60;form wicket:id=<span class="java&#45;quote">"form"</span>&#62;
     &#60;input type=<span class="java&#45;quote">"submit"</span> value=<span class="java&#45;quote">"submit"</span>/&#62;
 &#60;/form&#62;</pre></div><p class="paragraph"/>
@@ -317,7 +320,7 @@ spouse.add(name = <span class="java&#45;
 </blockquote>
 
 
-<h2 id="chapter10_4">10.4 Component DropDownChoice</h2>
+<h2 id="chapter10_4">11.4 Component DropDownChoice</h2>
 <p class="paragraph"/>Class org.apache.wicket.markup.html.form.DropDownChoice is the form component needed to display a list of possible options as a drop-down list where users can select one of the proposed options. This component must be used with &#60;select&#62; tag:<p class="paragraph"/>Html:<p class="paragraph"/><div class="code"><pre>&#60;form wicket:id=<span class="java&#45;quote">"form"</span>&#62;
 	Select a fruit: &#60;select wicket:id=<span class="java&#45;quote">"fruits"</span>&#62;&#60;/select&#62;
 &#60;div&#62;&#60;input type=<span class="java&#45;quote">"submit"</span> value=<span class="java&#45;quote">"submit"</span>/&#62;&#60;/div&#62;
@@ -337,7 +340,7 @@ ChoiceRenderer personRenderer = <span cl
 form.add(<span class="java&#45;keyword">new</span> DropDownChoice&#60;<span class="java&#45;object">String</span>&#62;(<span class="java&#45;quote">"persons"</span>, <span class="java&#45;keyword">new</span> Model&#60;Person&#62;(), persons, personRenderer));</pre></div><p class="paragraph"/>The choice renderer can be assigned to the DropDownChoice using one of its constructor that accepts this type of parameter (like we did in the example above) or after its creation invoking setChoiceRenderer method.
 
 
-<h2 id="chapter10_5">10.5 Model chaining</h2>
+<h2 id="chapter10_5">11.5 Model chaining</h2>
 <p class="paragraph"/>Models that implement the interface org.apache.wicket.model.IChainingModel can be used to build a chain of models. These kinds of models are able to recognize whether their model object is itself an implementation of IModel and if so, they will call getObject on the wrapped model and the returned value will be the actual model object. In this way we can combine the action of an arbitrary number of models, making exactly a chain of models. Chaining models allows to combine different data persistence strategies, similarly to what we do with chains of <a href="http://java.sun.com/developer/technicalArticles/Streams/ProgIOStreams" target="blank">I/O streams.</a> To see model chaining in action we will build a page that implements the List/Detail View pattern, where we have a drop-down list of Person objects and a form to display and edit the data of the current selected Person.<p class="paragraph"/>The example page will look like this:<p class="paragraph"/><img bor
 der="0" class="center" src="../img/model-chaining.png"></img><p class="paragraph"/>What we want to do in this example is to chain the model of the DropDownChoice (which contains the selected Person) with the model of the Form. In this way the Form will work with the selected Person as backing object. The DropDownChoice component can be configured to automatically update its model each time we change the selected item on the client side. All we have to do is to override method wantOn SelectionChangedNotifications to make it return true. In practice, when this method returns true, DropDownChoice will submit its value every time JavaScript event onChange occurs, and its model will be consequently updated. To leverage this functionality, DropDownChoice doesn't need to be inside a form.<p class="paragraph"/>The following is the resulting markup of the example page:<p class="paragraph"/><div class="code"><pre>&#8230;
 &#60;body&#62;
 	List of persons &#60;select wicket:id=<span class="java&#45;quote">"persons"</span>&#62;&#60;/select&#62; &#60;br/&#62;
@@ -397,7 +400,7 @@ personsList = <span class="java&#45;keyw
 	&#125;</pre></div><p class="paragraph"/>The two models work together as a pipeline where the output of method getObject of Model is the model object of CompoundPropertyModel. As we have seen, model chaining allows us to combine the actions of two or more models without creating new custom implementations.
 
 
-<h2 id="chapter10_6">10.6 Detachable models</h2>
+<h2 id="chapter10_6">11.6 Detachable models</h2>
 <p class="paragraph"/>In chapter 6 we have seen how Wicket uses serialization to store page instances. When an object is serialized, all its referenced objects are recursively serialized. For a page this means that all its children components, their related models as well as the model objects inside them will be serialized. 
 For model objects this could be a serious issue for (at least) two main reasons:
 <ol>
@@ -429,7 +432,7 @@ Since the model of this example holds a 
 </blockquote>
 
 
-<h2 id="chapter10_7">10.7 Using more than one model in a component</h2>
+<h2 id="chapter10_7">11.7 Using more than one model in a component</h2>
 <p class="paragraph"/>Sometimes our custom components may need to use more than a single model to work properly. In such a case we must manually detach the additional models used by our components. In order to do this we can overwrite the Component's onDetach method that is called at the end of the current request. The following is the generic code of a component that uses two models:<p class="paragraph"/><div class="code"><pre>/&#42;&#42;
  &#42; 
  &#42; fooModel is used as main model <span class="java&#45;keyword">while</span> beeModel must be manually detached
@@ -446,7 +449,7 @@ Since the model of this example holds a 
 &#125;</pre></div><p class="paragraph"/>When we overwrite onDetach we must call the super class implementation of this method, usually as last line in our custom implementation.
 
 
-<h2 id="chapter10_8">10.8 Use models!</h2>
+<h2 id="chapter10_8">11.8 Use models!</h2>
 <p class="paragraph"/>Like many people new to Wicket, you may need a little time to fully understand the power and the advantages of using models. Taking your first steps with Wicket you may be tempted to pass row objects to your components instead of using models:<p class="paragraph"/><div class="code"><pre>/&#42;&#42;
  &#42; 
  &#42; NOT TO DO: passing row objects to components instead of using models!
@@ -461,16 +464,16 @@ Since the model of this example holds a 
 &#125;</pre></div><p class="paragraph"/>That's a bad practice and you must avoid it. Using models we do not only decouple our components from the data source, but we can also relay on them (if they are dynamic) to work with the most up-to-date version of our model object. If we decide to bypass models we lose all these advantages and we force model objects to be serialized.
 
 
-<h2 id="chapter10_9">10.9 Summary</h2>
+<h2 id="chapter10_9">11.9 Summary</h2>
 <p class="paragraph"/>Models are at the core of Wicket and they are the basic ingredient needed to taste the real power of the framework. In this chapter we have seen how to use models to bring data to our components without littering their code with technical details about their persistence strategy.
 We have also introduced Wicket forms as complementary topic. With forms and models we are able to bring our applications to life allowing them to interact with users. But what we have seen in this chapter about Wicket forms is just the tip of the iceberg. That's why the next chapter is entirely dedicated to them.
 
 
                 <div style="clear:both;margin-top:15px;"></div>
                 
-                    <div class="toc-item prev-left"><a href="../guide/chapter9.html">&lt;&lt; <strong>9</strong><span>Wicket Links and URL generation</span></a></div>
+                    <div class="toc-item prev-left"><a href="../guide/chapter9.html">&lt;&lt; <strong>10</strong><span>Wicket Links and URL generation</span></a></div>
                 
-                    <div class="toc-item next-right"><a href="../guide/chapter11.html"><strong>11</strong><span>Wicket forms in detail</span> >></a></div>
+                    <div class="toc-item next-right"><a href="../guide/chapter11.html"><strong>12</strong><span>Wicket forms in detail</span> >></a></div>
                 
                 <div style="clear:both"></div>
             </div>