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 2014/02/15 15:23:20 UTC

svn commit: r1568637 [2/4] - in /wicket/common/site/trunk/_site/guide/guide: ./ pages/ src/docs/guide/ src/docs/guide/resources/

Modified: wicket/common/site/trunk/_site/guide/guide/pages/jsintegration_3.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/pages/jsintegration_3.html?rev=1568637&r1=1568636&r2=1568637&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/guide/pages/jsintegration_3.html (original)
+++ wicket/common/site/trunk/_site/guide/guide/pages/jsintegration_3.html Sat Feb 15 14:23:16 2014
@@ -189,7 +189,7 @@ function addJsClass() {
 <div id="footer">
     
 Copyright &copy; 2013-2014 — <a href="http://www.apache.org/" target="_blank">The Apache Software Foundation</a> 
-                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-14)</b>
+                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-15)</b>
 
     
 </div>

Modified: wicket/common/site/trunk/_site/guide/guide/pages/keepControl_1.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/pages/keepControl_1.html?rev=1568637&r1=1568636&r2=1568637&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/guide/pages/keepControl_1.html (original)
+++ wicket/common/site/trunk/_site/guide/guide/pages/keepControl_1.html Sat Feb 15 14:23:16 2014
@@ -189,7 +189,7 @@ At the end of the previous chapter we ha
 <div id="footer">
     
 Copyright &copy; 2013-2014 — <a href="http://www.apache.org/" target="_blank">The Apache Software Foundation</a> 
-                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-14)</b>
+                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-15)</b>
 
     
 </div>

Modified: wicket/common/site/trunk/_site/guide/guide/pages/keepControl_10.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/pages/keepControl_10.html?rev=1568637&r1=1568636&r2=1568637&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/guide/pages/keepControl_10.html (original)
+++ wicket/common/site/trunk/_site/guide/guide/pages/keepControl_10.html Sat Feb 15 14:23:16 2014
@@ -226,7 +226,7 @@ myBorder.add(<span class="java&#45;keywo
 <div id="footer">
     
 Copyright &copy; 2013-2014 — <a href="http://www.apache.org/" target="_blank">The Apache Software Foundation</a> 
-                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-14)</b>
+                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-15)</b>
 
     
 </div>

Modified: wicket/common/site/trunk/_site/guide/guide/pages/keepControl_11.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/pages/keepControl_11.html?rev=1568637&r1=1568636&r2=1568637&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/guide/pages/keepControl_11.html (original)
+++ wicket/common/site/trunk/_site/guide/guide/pages/keepControl_11.html Sat Feb 15 14:23:16 2014
@@ -190,7 +190,7 @@ To perform this task Wicket provides a s
 <div id="footer">
     
 Copyright &copy; 2013-2014 — <a href="http://www.apache.org/" target="_blank">The Apache Software Foundation</a> 
-                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-14)</b>
+                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-15)</b>
 
     
 </div>

Modified: wicket/common/site/trunk/_site/guide/guide/pages/keepControl_2.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/pages/keepControl_2.html?rev=1568637&r1=1568636&r2=1568637&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/guide/pages/keepControl_2.html (original)
+++ wicket/common/site/trunk/_site/guide/guide/pages/keepControl_2.html Sat Feb 15 14:23:16 2014
@@ -192,7 +192,7 @@ label.add(AttributeModifier.prepend(<spa
 <div id="footer">
     
 Copyright &copy; 2013-2014 — <a href="http://www.apache.org/" target="_blank">The Apache Software Foundation</a> 
-                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-14)</b>
+                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-15)</b>
 
     
 </div>

Modified: wicket/common/site/trunk/_site/guide/guide/pages/keepControl_3.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/pages/keepControl_3.html?rev=1568637&r1=1568636&r2=1568637&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/guide/pages/keepControl_3.html (original)
+++ wicket/common/site/trunk/_site/guide/guide/pages/keepControl_3.html Sat Feb 15 14:23:16 2014
@@ -189,7 +189,7 @@ Tag attribute <code>id</code> plays a cr
 <div id="footer">
     
 Copyright &copy; 2013-2014 — <a href="http://www.apache.org/" target="_blank">The Apache Software Foundation</a> 
-                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-14)</b>
+                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-15)</b>
 
     
 </div>

Modified: wicket/common/site/trunk/_site/guide/guide/pages/keepControl_4.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/pages/keepControl_4.html?rev=1568637&r1=1568636&r2=1568637&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/guide/pages/keepControl_4.html (original)
+++ wicket/common/site/trunk/_site/guide/guide/pages/keepControl_4.html Sat Feb 15 14:23:16 2014
@@ -196,7 +196,7 @@ informationBox.setVisible(<span class="j
 <div id="footer">
     
 Copyright &copy; 2013-2014 — <a href="http://www.apache.org/" target="_blank">The Apache Software Foundation</a> 
-                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-14)</b>
+                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-15)</b>
 
     
 </div>

Modified: wicket/common/site/trunk/_site/guide/guide/pages/keepControl_5.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/pages/keepControl_5.html?rev=1568637&r1=1568636&r2=1568637&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/guide/pages/keepControl_5.html (original)
+++ wicket/common/site/trunk/_site/guide/guide/pages/keepControl_5.html Sat Feb 15 14:23:16 2014
@@ -212,7 +212,7 @@ replace(fragment);</pre></div>
 <div id="footer">
     
 Copyright &copy; 2013-2014 — <a href="http://www.apache.org/" target="_blank">The Apache Software Foundation</a> 
-                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-14)</b>
+                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-15)</b>
 
     
 </div>

Modified: wicket/common/site/trunk/_site/guide/guide/pages/keepControl_6.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/pages/keepControl_6.html?rev=1568637&r1=1568636&r2=1568637&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/guide/pages/keepControl_6.html (original)
+++ wicket/common/site/trunk/_site/guide/guide/pages/keepControl_6.html Sat Feb 15 14:23:16 2014
@@ -209,7 +209,7 @@ The <code>&#60;wicket:head&#62;</code> t
 <div id="footer">
     
 Copyright &copy; 2013-2014 — <a href="http://www.apache.org/" target="_blank">The Apache Software Foundation</a> 
-                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-14)</b>
+                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-15)</b>
 
     
 </div>

Modified: wicket/common/site/trunk/_site/guide/guide/pages/keepControl_7.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/pages/keepControl_7.html?rev=1568637&r1=1568636&r2=1568637&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/guide/pages/keepControl_7.html (original)
+++ wicket/common/site/trunk/_site/guide/guide/pages/keepControl_7.html Sat Feb 15 14:23:16 2014
@@ -196,7 +196,7 @@ Wicket's <code>&#60;wicket:remove&#62;</
 <div id="footer">
     
 Copyright &copy; 2013-2014 — <a href="http://www.apache.org/" target="_blank">The Apache Software Foundation</a> 
-                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-14)</b>
+                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-15)</b>
 
     
 </div>

Modified: wicket/common/site/trunk/_site/guide/guide/pages/keepControl_8.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/pages/keepControl_8.html?rev=1568637&r1=1568636&r2=1568637&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/guide/pages/keepControl_8.html (original)
+++ wicket/common/site/trunk/_site/guide/guide/pages/keepControl_8.html Sat Feb 15 14:23:16 2014
@@ -205,7 +205,7 @@ add(label);</pre></div><p class="paragra
 <div id="footer">
     
 Copyright &copy; 2013-2014 — <a href="http://www.apache.org/" target="_blank">The Apache Software Foundation</a> 
-                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-14)</b>
+                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-15)</b>
 
     
 </div>

Modified: wicket/common/site/trunk/_site/guide/guide/pages/keepControl_9.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/pages/keepControl_9.html?rev=1568637&r1=1568636&r2=1568637&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/guide/pages/keepControl_9.html (original)
+++ wicket/common/site/trunk/_site/guide/guide/pages/keepControl_9.html Sat Feb 15 14:23:16 2014
@@ -199,7 +199,7 @@ Our data are rarely displayed alone with
 <div id="footer">
     
 Copyright &copy; 2013-2014 — <a href="http://www.apache.org/" target="_blank">The Apache Software Foundation</a> 
-                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-14)</b>
+                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-15)</b>
 
     
 </div>

Modified: wicket/common/site/trunk/_site/guide/guide/pages/layout_1.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/pages/layout_1.html?rev=1568637&r1=1568636&r2=1568637&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/guide/pages/layout_1.html (original)
+++ wicket/common/site/trunk/_site/guide/guide/pages/layout_1.html Sat Feb 15 14:23:16 2014
@@ -197,7 +197,7 @@ For the sake of simplicity we can consid
 <div id="footer">
     
 Copyright &copy; 2013-2014 — <a href="http://www.apache.org/" target="_blank">The Apache Software Foundation</a> 
-                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-14)</b>
+                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-15)</b>
 
     
 </div>

Modified: wicket/common/site/trunk/_site/guide/guide/pages/layout_2.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/pages/layout_2.html?rev=1568637&r1=1568636&r2=1568637&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/guide/pages/layout_2.html (original)
+++ wicket/common/site/trunk/_site/guide/guide/pages/layout_2.html Sat Feb 15 14:23:16 2014
@@ -215,7 +215,7 @@ add(myPanel);</pre></div><p class="parag
 <div id="footer">
     
 Copyright &copy; 2013-2014 — <a href="http://www.apache.org/" target="_blank">The Apache Software Foundation</a> 
-                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-14)</b>
+                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-15)</b>
 
     
 </div>

Modified: wicket/common/site/trunk/_site/guide/guide/pages/layout_3.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/pages/layout_3.html?rev=1568637&r1=1568636&r2=1568637&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/guide/pages/layout_3.html (original)
+++ wicket/common/site/trunk/_site/guide/guide/pages/layout_3.html Sat Feb 15 14:23:16 2014
@@ -274,7 +274,7 @@ The page class contains the code to phys
 <div id="footer">
     
 Copyright &copy; 2013-2014 — <a href="http://www.apache.org/" target="_blank">The Apache Software Foundation</a> 
-                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-14)</b>
+                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-15)</b>
 
     
 </div>

Modified: wicket/common/site/trunk/_site/guide/guide/pages/layout_4.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/pages/layout_4.html?rev=1568637&r1=1568636&r2=1568637&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/guide/pages/layout_4.html (original)
+++ wicket/common/site/trunk/_site/guide/guide/pages/layout_4.html Sat Feb 15 14:23:16 2014
@@ -250,7 +250,7 @@ An example of a parent page using the ta
 <div id="footer">
     
 Copyright &copy; 2013-2014 — <a href="http://www.apache.org/" target="_blank">The Apache Software Foundation</a> 
-                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-14)</b>
+                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-15)</b>
 
     
 </div>

Modified: wicket/common/site/trunk/_site/guide/guide/pages/layout_5.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/pages/layout_5.html?rev=1568637&r1=1568636&r2=1568637&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/guide/pages/layout_5.html (original)
+++ wicket/common/site/trunk/_site/guide/guide/pages/layout_5.html Sat Feb 15 14:23:16 2014
@@ -190,7 +190,7 @@ Wicket applies inheritance also to HTML 
 <div id="footer">
     
 Copyright &copy; 2013-2014 — <a href="http://www.apache.org/" target="_blank">The Apache Software Foundation</a> 
-                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-14)</b>
+                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-15)</b>
 
     
 </div>

Modified: wicket/common/site/trunk/_site/guide/guide/pages/maven_1.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/pages/maven_1.html?rev=1568637&r1=1568636&r2=1568637&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/guide/pages/maven_1.html (original)
+++ wicket/common/site/trunk/_site/guide/guide/pages/maven_1.html Sat Feb 15 14:23:16 2014
@@ -208,7 +208,7 @@ function addJsClass() {
 <div id="footer">
     
 Copyright &copy; 2013-2014 — <a href="http://www.apache.org/" target="_blank">The Apache Software Foundation</a> 
-                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-14)</b>
+                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-15)</b>
 
     
 </div>

Modified: wicket/common/site/trunk/_site/guide/guide/pages/maven_2.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/pages/maven_2.html?rev=1568637&r1=1568636&r2=1568637&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/guide/pages/maven_2.html (original)
+++ wicket/common/site/trunk/_site/guide/guide/pages/maven_2.html Sat Feb 15 14:23:16 2014
@@ -252,7 +252,7 @@ QWickie is released under ASF 2.0 licens
 <div id="footer">
     
 Copyright &copy; 2013-2014 — <a href="http://www.apache.org/" target="_blank">The Apache Software Foundation</a> 
-                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-14)</b>
+                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-15)</b>
 
     
 </div>

Modified: wicket/common/site/trunk/_site/guide/guide/pages/modelsforms_1.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/pages/modelsforms_1.html?rev=1568637&r1=1568636&r2=1568637&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/guide/pages/modelsforms_1.html (original)
+++ wicket/common/site/trunk/_site/guide/guide/pages/modelsforms_1.html Sat Feb 15 14:23:16 2014
@@ -204,7 +204,7 @@ By default class Component escapes HTML 
 <div id="footer">
     
 Copyright &copy; 2013-2014 — <a href="http://www.apache.org/" target="_blank">The Apache Software Foundation</a> 
-                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-14)</b>
+                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-15)</b>
 
     
 </div>

Modified: wicket/common/site/trunk/_site/guide/guide/pages/modelsforms_2.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/pages/modelsforms_2.html?rev=1568637&r1=1568636&r2=1568637&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/guide/pages/modelsforms_2.html (original)
+++ wicket/common/site/trunk/_site/guide/guide/pages/modelsforms_2.html Sat Feb 15 14:23:16 2014
@@ -218,7 +218,7 @@ Model is referred to as static model bec
 <div id="footer">
     
 Copyright &copy; 2013-2014 — <a href="http://www.apache.org/" target="_blank">The Apache Software Foundation</a> 
-                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-14)</b>
+                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-15)</b>
 
     
 </div>

Modified: wicket/common/site/trunk/_site/guide/guide/pages/modelsforms_3.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/pages/modelsforms_3.html?rev=1568637&r1=1568636&r2=1568637&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/guide/pages/modelsforms_3.html (original)
+++ wicket/common/site/trunk/_site/guide/guide/pages/modelsforms_3.html Sat Feb 15 14:23:16 2014
@@ -261,7 +261,7 @@ spouse.add(name = <span class="java&#45;
 <div id="footer">
     
 Copyright &copy; 2013-2014 — <a href="http://www.apache.org/" target="_blank">The Apache Software Foundation</a> 
-                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-14)</b>
+                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-15)</b>
 
     
 </div>

Modified: wicket/common/site/trunk/_site/guide/guide/pages/modelsforms_4.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/pages/modelsforms_4.html?rev=1568637&r1=1568636&r2=1568637&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/guide/pages/modelsforms_4.html (original)
+++ wicket/common/site/trunk/_site/guide/guide/pages/modelsforms_4.html Sat Feb 15 14:23:16 2014
@@ -205,7 +205,7 @@ form.add(<span class="java&#45;keyword">
 <div id="footer">
     
 Copyright &copy; 2013-2014 — <a href="http://www.apache.org/" target="_blank">The Apache Software Foundation</a> 
-                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-14)</b>
+                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-15)</b>
 
     
 </div>

Modified: wicket/common/site/trunk/_site/guide/guide/pages/modelsforms_5.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/pages/modelsforms_5.html?rev=1568637&r1=1568636&r2=1568637&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/guide/pages/modelsforms_5.html (original)
+++ wicket/common/site/trunk/_site/guide/guide/pages/modelsforms_5.html Sat Feb 15 14:23:16 2014
@@ -245,7 +245,7 @@ personsList = <span class="java&#45;keyw
 <div id="footer">
     
 Copyright &copy; 2013-2014 — <a href="http://www.apache.org/" target="_blank">The Apache Software Foundation</a> 
-                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-14)</b>
+                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-15)</b>
 
     
 </div>

Modified: wicket/common/site/trunk/_site/guide/guide/pages/modelsforms_6.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/pages/modelsforms_6.html?rev=1568637&r1=1568636&r2=1568637&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/guide/pages/modelsforms_6.html (original)
+++ wicket/common/site/trunk/_site/guide/guide/pages/modelsforms_6.html Sat Feb 15 14:23:16 2014
@@ -217,7 +217,7 @@ Since the model of this example holds a 
 <div id="footer">
     
 Copyright &copy; 2013-2014 — <a href="http://www.apache.org/" target="_blank">The Apache Software Foundation</a> 
-                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-14)</b>
+                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-15)</b>
 
     
 </div>

Modified: wicket/common/site/trunk/_site/guide/guide/pages/modelsforms_7.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/pages/modelsforms_7.html?rev=1568637&r1=1568636&r2=1568637&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/guide/pages/modelsforms_7.html (original)
+++ wicket/common/site/trunk/_site/guide/guide/pages/modelsforms_7.html Sat Feb 15 14:23:16 2014
@@ -202,7 +202,7 @@ function addJsClass() {
 <div id="footer">
     
 Copyright &copy; 2013-2014 — <a href="http://www.apache.org/" target="_blank">The Apache Software Foundation</a> 
-                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-14)</b>
+                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-15)</b>
 
     
 </div>

Modified: wicket/common/site/trunk/_site/guide/guide/pages/modelsforms_8.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/pages/modelsforms_8.html?rev=1568637&r1=1568636&r2=1568637&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/guide/pages/modelsforms_8.html (original)
+++ wicket/common/site/trunk/_site/guide/guide/pages/modelsforms_8.html Sat Feb 15 14:23:16 2014
@@ -200,7 +200,7 @@ function addJsClass() {
 <div id="footer">
     
 Copyright &copy; 2013-2014 — <a href="http://www.apache.org/" target="_blank">The Apache Software Foundation</a> 
-                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-14)</b>
+                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-15)</b>
 
     
 </div>

Modified: wicket/common/site/trunk/_site/guide/guide/pages/modelsforms_9.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/pages/modelsforms_9.html?rev=1568637&r1=1568636&r2=1568637&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/guide/pages/modelsforms_9.html (original)
+++ wicket/common/site/trunk/_site/guide/guide/pages/modelsforms_9.html Sat Feb 15 14:23:16 2014
@@ -190,7 +190,7 @@ We have also introduced Wicket forms as 
 <div id="footer">
     
 Copyright &copy; 2013-2014 — <a href="http://www.apache.org/" target="_blank">The Apache Software Foundation</a> 
-                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-14)</b>
+                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-15)</b>
 
     
 </div>

Modified: wicket/common/site/trunk/_site/guide/guide/pages/nativewebsockets_1.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/pages/nativewebsockets_1.html?rev=1568637&r1=1568636&r2=1568637&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/guide/pages/nativewebsockets_1.html (original)
+++ wicket/common/site/trunk/_site/guide/guide/pages/nativewebsockets_1.html Sat Feb 15 14:23:16 2014
@@ -192,7 +192,7 @@ The server can push plain text and binar
 <div id="footer">
     
 Copyright &copy; 2013-2014 — <a href="http://www.apache.org/" target="_blank">The Apache Software Foundation</a> 
-                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-14)</b>
+                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-15)</b>
 
     
 </div>

Modified: wicket/common/site/trunk/_site/guide/guide/pages/nativewebsockets_2.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/pages/nativewebsockets_2.html?rev=1568637&r1=1568636&r2=1568637&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/guide/pages/nativewebsockets_2.html (original)
+++ wicket/common/site/trunk/_site/guide/guide/pages/nativewebsockets_2.html Sat Feb 15 14:23:16 2014
@@ -256,7 +256,7 @@ IWebSocketConnection connection = webSoc
 <div id="footer">
     
 Copyright &copy; 2013-2014 — <a href="http://www.apache.org/" target="_blank">The Apache Software Foundation</a> 
-                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-14)</b>
+                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-15)</b>
 
     
 </div>

Modified: wicket/common/site/trunk/_site/guide/guide/pages/nativewebsockets_3.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/pages/nativewebsockets_3.html?rev=1568637&r1=1568636&r2=1568637&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/guide/pages/nativewebsockets_3.html (original)
+++ wicket/common/site/trunk/_site/guide/guide/pages/nativewebsockets_3.html Sat Feb 15 14:23:16 2014
@@ -199,7 +199,7 @@ Once a page that contributes <code>(Base
 <div id="footer">
     
 Copyright &copy; 2013-2014 — <a href="http://www.apache.org/" target="_blank">The Apache Software Foundation</a> 
-                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-14)</b>
+                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-15)</b>
 
     
 </div>

Modified: wicket/common/site/trunk/_site/guide/guide/pages/nativewebsockets_4.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/pages/nativewebsockets_4.html?rev=1568637&r1=1568636&r2=1568637&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/guide/pages/nativewebsockets_4.html (original)
+++ wicket/common/site/trunk/_site/guide/guide/pages/nativewebsockets_4.html Sat Feb 15 14:23:16 2014
@@ -191,7 +191,7 @@ Check <a href="https://github.com/apache
 <div id="footer">
     
 Copyright &copy; 2013-2014 — <a href="http://www.apache.org/" target="_blank">The Apache Software Foundation</a> 
-                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-14)</b>
+                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-15)</b>
 
     
 </div>

Modified: wicket/common/site/trunk/_site/guide/guide/pages/nativewebsockets_5.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/pages/nativewebsockets_5.html?rev=1568637&r1=1568636&r2=1568637&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/guide/pages/nativewebsockets_5.html (original)
+++ wicket/common/site/trunk/_site/guide/guide/pages/nativewebsockets_5.html Sat Feb 15 14:23:16 2014
@@ -190,7 +190,7 @@ Wicket-Atmosphere experimental module pr
 <div id="footer">
     
 Copyright &copy; 2013-2014 — <a href="http://www.apache.org/" target="_blank">The Apache Software Foundation</a> 
-                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-14)</b>
+                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-15)</b>
 
     
 </div>

Modified: wicket/common/site/trunk/_site/guide/guide/pages/nativewebsockets_6.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/pages/nativewebsockets_6.html?rev=1568637&r1=1568636&r2=1568637&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/guide/pages/nativewebsockets_6.html (original)
+++ wicket/common/site/trunk/_site/guide/guide/pages/nativewebsockets_6.html Sat Feb 15 14:23:16 2014
@@ -191,7 +191,7 @@ function addJsClass() {
 <div id="footer">
     
 Copyright &copy; 2013-2014 — <a href="http://www.apache.org/" target="_blank">The Apache Software Foundation</a> 
-                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-14)</b>
+                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-15)</b>
 
     
 </div>

Modified: wicket/common/site/trunk/_site/guide/guide/pages/repeaters_1.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/pages/repeaters_1.html?rev=1568637&r1=1568636&r2=1568637&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/guide/pages/repeaters_1.html (original)
+++ wicket/common/site/trunk/_site/guide/guide/pages/repeaters_1.html Sat Feb 15 14:23:16 2014
@@ -200,7 +200,7 @@ listItems.add(<span class="java&#45;keyw
 <div id="footer">
     
 Copyright &copy; 2013-2014 — <a href="http://www.apache.org/" target="_blank">The Apache Software Foundation</a> 
-                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-14)</b>
+                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-15)</b>
 
     
 </div>

Modified: wicket/common/site/trunk/_site/guide/guide/pages/repeaters_2.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/pages/repeaters_2.html?rev=1568637&r1=1568636&r2=1568637&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/guide/pages/repeaters_2.html (original)
+++ wicket/common/site/trunk/_site/guide/guide/pages/repeaters_2.html Sat Feb 15 14:23:16 2014
@@ -208,7 +208,7 @@ function addJsClass() {
 <div id="footer">
     
 Copyright &copy; 2013-2014 — <a href="http://www.apache.org/" target="_blank">The Apache Software Foundation</a> 
-                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-14)</b>
+                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-15)</b>
 
     
 </div>

Modified: wicket/common/site/trunk/_site/guide/guide/pages/repeaters_3.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/pages/repeaters_3.html?rev=1568637&r1=1568636&r2=1568637&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/guide/pages/repeaters_3.html (original)
+++ wicket/common/site/trunk/_site/guide/guide/pages/repeaters_3.html Sat Feb 15 14:23:16 2014
@@ -212,7 +212,7 @@ function addJsClass() {
 <div id="footer">
     
 Copyright &copy; 2013-2014 — <a href="http://www.apache.org/" target="_blank">The Apache Software Foundation</a> 
-                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-14)</b>
+                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-15)</b>
 
     
 </div>

Modified: wicket/common/site/trunk/_site/guide/guide/pages/repeaters_4.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/pages/repeaters_4.html?rev=1568637&r1=1568636&r2=1568637&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/guide/pages/repeaters_4.html (original)
+++ wicket/common/site/trunk/_site/guide/guide/pages/repeaters_4.html Sat Feb 15 14:23:16 2014
@@ -242,7 +242,7 @@ Wicket provides also component PageableL
 <div id="footer">
     
 Copyright &copy; 2013-2014 — <a href="http://www.apache.org/" target="_blank">The Apache Software Foundation</a> 
-                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-14)</b>
+                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-15)</b>
 
     
 </div>

Modified: wicket/common/site/trunk/_site/guide/guide/pages/repeaters_5.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/pages/repeaters_5.html?rev=1568637&r1=1568636&r2=1568637&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/guide/pages/repeaters_5.html (original)
+++ wicket/common/site/trunk/_site/guide/guide/pages/repeaters_5.html Sat Feb 15 14:23:16 2014
@@ -189,7 +189,7 @@ function addJsClass() {
 <div id="footer">
     
 Copyright &copy; 2013-2014 — <a href="http://www.apache.org/" target="_blank">The Apache Software Foundation</a> 
-                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-14)</b>
+                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-15)</b>
 
     
 </div>

Modified: wicket/common/site/trunk/_site/guide/guide/pages/requestProcessing_1.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/pages/requestProcessing_1.html?rev=1568637&r1=1568636&r2=1568637&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/guide/pages/requestProcessing_1.html (original)
+++ wicket/common/site/trunk/_site/guide/guide/pages/requestProcessing_1.html Sat Feb 15 14:23:16 2014
@@ -189,7 +189,7 @@ function addJsClass() {
 <div id="footer">
     
 Copyright &copy; 2013-2014 — <a href="http://www.apache.org/" target="_blank">The Apache Software Foundation</a> 
-                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-14)</b>
+                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-15)</b>
 
     
 </div>

Modified: wicket/common/site/trunk/_site/guide/guide/pages/requestProcessing_2.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/pages/requestProcessing_2.html?rev=1568637&r1=1568636&r2=1568637&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/guide/pages/requestProcessing_2.html (original)
+++ wicket/common/site/trunk/_site/guide/guide/pages/requestProcessing_2.html Sat Feb 15 14:23:16 2014
@@ -189,7 +189,7 @@ function addJsClass() {
 <div id="footer">
     
 Copyright &copy; 2013-2014 — <a href="http://www.apache.org/" target="_blank">The Apache Software Foundation</a> 
-                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-14)</b>
+                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-15)</b>
 
     
 </div>

Modified: wicket/common/site/trunk/_site/guide/guide/pages/requestProcessing_3.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/pages/requestProcessing_3.html?rev=1568637&r1=1568636&r2=1568637&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/guide/pages/requestProcessing_3.html (original)
+++ wicket/common/site/trunk/_site/guide/guide/pages/requestProcessing_3.html Sat Feb 15 14:23:16 2014
@@ -222,7 +222,7 @@ This paragraph will provide just the bas
 <div id="footer">
     
 Copyright &copy; 2013-2014 — <a href="http://www.apache.org/" target="_blank">The Apache Software Foundation</a> 
-                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-14)</b>
+                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-15)</b>
 
     
 </div>

Modified: wicket/common/site/trunk/_site/guide/guide/pages/requestProcessing_4.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/pages/requestProcessing_4.html?rev=1568637&r1=1568636&r2=1568637&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/guide/pages/requestProcessing_4.html (original)
+++ wicket/common/site/trunk/_site/guide/guide/pages/requestProcessing_4.html Sat Feb 15 14:23:16 2014
@@ -235,7 +235,7 @@ Remember that invalidateNow() will immed
 <div id="footer">
     
 Copyright &copy; 2013-2014 — <a href="http://www.apache.org/" target="_blank">The Apache Software Foundation</a> 
-                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-14)</b>
+                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-15)</b>
 
     
 </div>

Modified: wicket/common/site/trunk/_site/guide/guide/pages/requestProcessing_5.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/pages/requestProcessing_5.html?rev=1568637&r1=1568636&r2=1568637&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/guide/pages/requestProcessing_5.html (original)
+++ wicket/common/site/trunk/_site/guide/guide/pages/requestProcessing_5.html Sat Feb 15 14:23:16 2014
@@ -189,7 +189,7 @@ function addJsClass() {
 <div id="footer">
     
 Copyright &copy; 2013-2014 — <a href="http://www.apache.org/" target="_blank">The Apache Software Foundation</a> 
-                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-14)</b>
+                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-15)</b>
 
     
 </div>

Modified: wicket/common/site/trunk/_site/guide/guide/pages/resources_1.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/pages/resources_1.html?rev=1568637&r1=1568636&r2=1568637&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/guide/pages/resources_1.html (original)
+++ wicket/common/site/trunk/_site/guide/guide/pages/resources_1.html Sat Feb 15 14:23:16 2014
@@ -189,7 +189,7 @@ function addJsClass() {
 <div id="footer">
     
 Copyright &copy; 2013-2014 — <a href="http://www.apache.org/" target="_blank">The Apache Software Foundation</a> 
-                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-14)</b>
+                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-15)</b>
 
     
 </div>

Modified: wicket/common/site/trunk/_site/guide/guide/pages/resources_10.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/pages/resources_10.html?rev=1568637&r1=1568636&r2=1568637&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/guide/pages/resources_10.html (original)
+++ wicket/common/site/trunk/_site/guide/guide/pages/resources_10.html Sat Feb 15 14:23:16 2014
@@ -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>15.10 Customizing resource loading 6.x</title>
+    <title>15.10 Shared resources 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"/>
@@ -146,7 +146,7 @@ function addJsClass() {
 
 
                 <div class="project">
-                    <h1>15.10 Customizing resource loading - Reference Documentation</h1>
+                    <h1>15.10 Shared resources - Reference Documentation</h1>
 
                     <p><strong>Authors:</strong> Andrea Del Bene, Carsten Hufe, Christian Kroemer, Daniel Bartl, Paul Borș</p>
 
@@ -159,21 +159,17 @@ function addJsClass() {
 
                 
 
-<h2 id="resources_10">15.10 Customizing resource loading</h2>
-<p class="paragraph"/>Wicket loads application's resources delegating this task to a resource locator represented by interface <code>org.apache.wicket.core.util.resource.locator.IResourceStreamLocator</code>. To retrieve or modify the current resource locator we can use the getter and setter methods defined by setting interface <code>IResourceSettings</code>:<p class="paragraph"/><div class="code"><pre>//init application's method
+<h2 id="resources_10">15.10 Shared resources</h2>
+<p class="paragraph"/>Resources can be added to a global registry in order to share them at application-level. Shared resources are identified by an application-scoped key and they can be easily retrieved at a later time using reference class <code>SharedResourceReference</code>. The global registry can be accessed with <code>Application</code>'s method <code>getSharedResources</code>. In the following excerpt of code (taken again from project <code>CustomResourceMounting</code>) we register an instance of our custom RSS feeds producer as application-shared resource:<p class="paragraph"/><div class="code"><pre>//init application's method
   @Override
-  <span class="java&#45;keyword">public</span> void init()&#123;   
-    //get the resource locator 
-    getResourceSettings().getResourceStreamLocator();
-    //set the resource locator    
-    getResourceSettings().setResourceStreamLocator(myLocator);
-  &#125;</pre></div><p class="paragraph"/>The default locator used by Wicket is class <code>ResourceStreamLocator</code> which in turn tries to load a requested resource using a set of implementations of interface <code>IResourceFinder</code>. This interface defines method <code>find(Class class, String pathname)</code> which tries to resolve a resource corresponding to the given class and path.<p class="paragraph"/>The default implementation of <code>IResourceFinder</code> used by Wicket is <code>ClassPathResourceFinder</code> which searches for resources into the application class path. This is the implementation we have used so far in our examples. However some developers may prefer storing markup files and other resources in a separate folder rather than placing them side by side with Java classes.<p class="paragraph"/>To customize resource loading we can add further resource finders to our application in order to extend the resource-lookup algorithm to different locations. Wick
 et already comes with two other implementations of IResourceFinder designed to search for resources into a specific folder on the file system. The first is class <code>Path</code> and it's defined in package <code>org.apache.wicket.util.file</code>. The constructor of this class takes in input an arbitrary folder that can be expressed as a string path or as an instance of Wicket utility class <code>Folder</code> (in package <code>org.apache.wicket.util.file</code>). The second implementation of interface <code>IResourceFinder</code> is class <code>WebApplicationPath</code> which looks into a folder placed inside webapp's root path (but not inside folder WEB-INF).<p class="paragraph"/>Project CustomFolder4MarkupExample uses <code>WebApplicationPath</code> to load the markup file and the resource bundle for its home page from a custom folder. The folder is called markupFolder and it is placed in the root path of the webapp. The following picture illustrates the file structure of the p
 roject:<p class="paragraph"/><img border="0" class="center" src="../img/package-structure-custom-folder.png"></img><p class="paragraph"/>As we can see in the picture above, we must preserve the package structure also in the custom folder used as resource container. The code used inside application class to configure  WebApplicationPath is the following:<p class="paragraph"/><div class="code"><pre>@Override
-<span class="java&#45;keyword">public</span> void init()
-&#123;
-	getResourceSettings().getResourceFinders().add(
-			<span class="java&#45;keyword">new</span> WebApplicationPath(getServletContext(), <span class="java&#45;quote">"markupFolder"</span>));
-&#125;</pre></div><p class="paragraph"/>Method getResourceFinders() defined by setting interface IResourceSettings returns the list of  resource finders defined in our application. The constructor of WebApplicationPath takes in input also an instance of standard interface javax.servlet.ServletContext which can be retrieved with WebApplication's method getServletContext().<p class="paragraph"/><blockquote class="note">
-By default, if resource files can not be found inside application classpath, Wicket will search for them inside “resources” folder. You may have noted this folder in the previous picture. It is placed next to the folder “java” containing our source files:<p class="paragraph"/><img border="0" class="center" src="../img/package-structure-resource-folder.png"></img><p class="paragraph"/>This folder can be used to store resource files without writing any configuration code.
+  <span class="java&#45;keyword">public</span> void init()&#123;
+    RSSProducerResource rssResource = <span class="java&#45;keyword">new</span> RSSProducerResource();
+    // &#8230;
+    getSharedResources().add(<span class="java&#45;quote">"globalRSSProducer"</span>, rssResource);    
+  &#125;</pre></div><p class="paragraph"/>Now to use an application-shared resource we can simply retrieve it using class <code>SharedResourceReference</code> and providing the key previously used to register the resource:<p class="paragraph"/><div class="code"><pre>add(<span class="java&#45;keyword">new</span> ResourceLink(<span class="java&#45;quote">"globalRssLink"</span>, <span class="java&#45;keyword">new</span> SharedResourceReference(<span class="java&#45;quote">"globalRSSProducer"</span>)));</pre></div><p class="paragraph"/>The URL generated for application shared resources follows the same pattern seen for package resources:<p class="paragraph"/><code>./wicket/resource/org.apache.wicket.Application/globalRSSProducer</code><p class="paragraph"/>The last segment of the URL is the key of the resource while the previous segment contains the scope of the resource. For application-scoped resources the scope is always the fully qualified name of class <code>Application</code>. Thi
 s should not be surprising since global resources are visible at application level (i.e. the scope is the application).<p class="paragraph"/><blockquote class="note">
+Package resources are also application-shared resources but they don't need to be explicitly registered.
+</blockquote><p class="paragraph"/><blockquote class="note">
+Remember that we can get the URL of a resource reference using method <code>urlFor(ResourceReference resourceRef, PageParameters params )</code> available with both class <code>RequestCycle</code> and class <code>Component</code>.
 </blockquote>
 
 
@@ -203,7 +199,7 @@ By default, if resource files can not be
 <div id="footer">
     
 Copyright &copy; 2013-2014 — <a href="http://www.apache.org/" target="_blank">The Apache Software Foundation</a> 
-                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-14)</b>
+                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-15)</b>
 
     
 </div>

Modified: wicket/common/site/trunk/_site/guide/guide/pages/resources_11.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/pages/resources_11.html?rev=1568637&r1=1568636&r2=1568637&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/guide/pages/resources_11.html (original)
+++ wicket/common/site/trunk/_site/guide/guide/pages/resources_11.html Sat Feb 15 14:23:16 2014
@@ -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>15.11 Summary 6.x</title>
+    <title>15.11 Customizing resource loading 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"/>
@@ -146,7 +146,7 @@ function addJsClass() {
 
 
                 <div class="project">
-                    <h1>15.11 Summary - Reference Documentation</h1>
+                    <h1>15.11 Customizing resource loading - Reference Documentation</h1>
 
                     <p><strong>Authors:</strong> Andrea Del Bene, Carsten Hufe, Christian Kroemer, Daniel Bartl, Paul Borș</p>
 
@@ -159,9 +159,22 @@ function addJsClass() {
 
                 
 
-<h2 id="resources_11">15.11 Summary</h2>
-In this chapter we have learnt how to manage resources with the built-in mechanism provided by Wicket. With this mechanism we handle resources from Java code and Wicket will automatically take care of generating a valid URL for them. We have also seen how resources can be bundled as package resources with a component that depends on them to make it self-contained.<p class="paragraph"/>Then, in the second part of the chapter, we have built a custom resource and we have learnt how to mount it to an arbitrary URL and how to make it globally available as shared resource.<p class="paragraph"/>Finally, in the last part of the paragraph we took a peek at the mechanism provided by the framework to customize the locations where the resource-lookup algorithm searches for resources. 
-
+<h2 id="resources_11">15.11 Customizing resource loading</h2>
+<p class="paragraph"/>Wicket loads application's resources delegating this task to a resource locator represented by interface <code>org.apache.wicket.core.util.resource.locator.IResourceStreamLocator</code>. To retrieve or modify the current resource locator we can use the getter and setter methods defined by setting interface <code>IResourceSettings</code>:<p class="paragraph"/><div class="code"><pre>//init application's method
+  @Override
+  <span class="java&#45;keyword">public</span> void init()&#123;   
+    //get the resource locator 
+    getResourceSettings().getResourceStreamLocator();
+    //set the resource locator    
+    getResourceSettings().setResourceStreamLocator(myLocator);
+  &#125;</pre></div><p class="paragraph"/>The default locator used by Wicket is class <code>ResourceStreamLocator</code> which in turn tries to load a requested resource using a set of implementations of interface <code>IResourceFinder</code>. This interface defines method <code>find(Class class, String pathname)</code> which tries to resolve a resource corresponding to the given class and path.<p class="paragraph"/>The default implementation of <code>IResourceFinder</code> used by Wicket is <code>ClassPathResourceFinder</code> which searches for resources into the application class path. This is the implementation we have used so far in our examples. However some developers may prefer storing markup files and other resources in a separate folder rather than placing them side by side with Java classes.<p class="paragraph"/>To customize resource loading we can add further resource finders to our application in order to extend the resource-lookup algorithm to different locations. Wick
 et already comes with two other implementations of IResourceFinder designed to search for resources into a specific folder on the file system. The first is class <code>Path</code> and it's defined in package <code>org.apache.wicket.util.file</code>. The constructor of this class takes in input an arbitrary folder that can be expressed as a string path or as an instance of Wicket utility class <code>Folder</code> (in package <code>org.apache.wicket.util.file</code>). The second implementation of interface <code>IResourceFinder</code> is class <code>WebApplicationPath</code> which looks into a folder placed inside webapp's root path (but not inside folder WEB-INF).<p class="paragraph"/>Project CustomFolder4MarkupExample uses <code>WebApplicationPath</code> to load the markup file and the resource bundle for its home page from a custom folder. The folder is called markupFolder and it is placed in the root path of the webapp. The following picture illustrates the file structure of the p
 roject:<p class="paragraph"/><img border="0" class="center" src="../img/package-structure-custom-folder.png"></img><p class="paragraph"/>As we can see in the picture above, we must preserve the package structure also in the custom folder used as resource container. The code used inside application class to configure  WebApplicationPath is the following:<p class="paragraph"/><div class="code"><pre>@Override
+<span class="java&#45;keyword">public</span> void init()
+&#123;
+	getResourceSettings().getResourceFinders().add(
+			<span class="java&#45;keyword">new</span> WebApplicationPath(getServletContext(), <span class="java&#45;quote">"markupFolder"</span>));
+&#125;</pre></div><p class="paragraph"/>Method getResourceFinders() defined by setting interface IResourceSettings returns the list of  resource finders defined in our application. The constructor of WebApplicationPath takes in input also an instance of standard interface javax.servlet.ServletContext which can be retrieved with WebApplication's method getServletContext().<p class="paragraph"/><blockquote class="note">
+By default, if resource files can not be found inside application classpath, Wicket will search for them inside “resources” folder. You may have noted this folder in the previous picture. It is placed next to the folder “java” containing our source files:<p class="paragraph"/><img border="0" class="center" src="../img/package-structure-resource-folder.png"></img><p class="paragraph"/>This folder can be used to store resource files without writing any configuration code.
+</blockquote>
 
 
                 <div style="clear:both;margin-top:15px;"></div>
@@ -190,7 +203,7 @@ In this chapter we have learnt how to ma
 <div id="footer">
     
 Copyright &copy; 2013-2014 — <a href="http://www.apache.org/" target="_blank">The Apache Software Foundation</a> 
-                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-14)</b>
+                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-15)</b>
 
     
 </div>

Modified: wicket/common/site/trunk/_site/guide/guide/pages/resources_2.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/pages/resources_2.html?rev=1568637&r1=1568636&r2=1568637&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/guide/pages/resources_2.html (original)
+++ wicket/common/site/trunk/_site/guide/guide/pages/resources_2.html Sat Feb 15 14:23:16 2014
@@ -189,7 +189,7 @@ function addJsClass() {
 <div id="footer">
     
 Copyright &copy; 2013-2014 — <a href="http://www.apache.org/" target="_blank">The Apache Software Foundation</a> 
-                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-14)</b>
+                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-15)</b>
 
     
 </div>

Modified: wicket/common/site/trunk/_site/guide/guide/pages/resources_3.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/pages/resources_3.html?rev=1568637&r1=1568636&r2=1568637&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/guide/pages/resources_3.html (original)
+++ wicket/common/site/trunk/_site/guide/guide/pages/resources_3.html Sat Feb 15 14:23:16 2014
@@ -210,7 +210,7 @@ Package resources can be localized follo
 <div id="footer">
     
 Copyright &copy; 2013-2014 — <a href="http://www.apache.org/" target="_blank">The Apache Software Foundation</a> 
-                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-14)</b>
+                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-15)</b>
 
     
 </div>

Modified: wicket/common/site/trunk/_site/guide/guide/pages/resources_4.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/pages/resources_4.html?rev=1568637&r1=1568636&r2=1568637&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/guide/pages/resources_4.html (original)
+++ wicket/common/site/trunk/_site/guide/guide/pages/resources_4.html Sat Feb 15 14:23:16 2014
@@ -205,7 +205,7 @@ function addJsClass() {
 <div id="footer">
     
 Copyright &copy; 2013-2014 — <a href="http://www.apache.org/" target="_blank">The Apache Software Foundation</a> 
-                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-14)</b>
+                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-15)</b>
 
     
 </div>

Modified: wicket/common/site/trunk/_site/guide/guide/pages/resources_5.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/pages/resources_5.html?rev=1568637&r1=1568636&r2=1568637&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/guide/pages/resources_5.html (original)
+++ wicket/common/site/trunk/_site/guide/guide/pages/resources_5.html Sat Feb 15 14:23:16 2014
@@ -197,7 +197,7 @@ function addJsClass() {
 <div id="footer">
     
 Copyright &copy; 2013-2014 — <a href="http://www.apache.org/" target="_blank">The Apache Software Foundation</a> 
-                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-14)</b>
+                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-15)</b>
 
     
 </div>

Modified: wicket/common/site/trunk/_site/guide/guide/pages/resources_6.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/pages/resources_6.html?rev=1568637&r1=1568636&r2=1568637&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/guide/pages/resources_6.html (original)
+++ wicket/common/site/trunk/_site/guide/guide/pages/resources_6.html Sat Feb 15 14:23:16 2014
@@ -200,7 +200,7 @@ A specific resource reference can not be
 <div id="footer">
     
 Copyright &copy; 2013-2014 — <a href="http://www.apache.org/" target="_blank">The Apache Software Foundation</a> 
-                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-14)</b>
+                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-15)</b>
 
     
 </div>

Modified: wicket/common/site/trunk/_site/guide/guide/pages/resources_7.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/pages/resources_7.html?rev=1568637&r1=1568636&r2=1568637&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/guide/pages/resources_7.html (original)
+++ wicket/common/site/trunk/_site/guide/guide/pages/resources_7.html Sat Feb 15 14:23:16 2014
@@ -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>15.7 Custom resources 6.x</title>
+    <title>15.7 Put JavaScript inside page body 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"/>
@@ -146,7 +146,7 @@ function addJsClass() {
 
 
                 <div class="project">
-                    <h1>15.7 Custom resources - Reference Documentation</h1>
+                    <h1>15.7 Put JavaScript inside page body - Reference Documentation</h1>
 
                     <p><strong>Authors:</strong> Andrea Del Bene, Carsten Hufe, Christian Kroemer, Daniel Bartl, Paul Borș</p>
 
@@ -159,29 +159,46 @@ function addJsClass() {
 
                 
 
-<h2 id="resources_7">15.7 Custom resources</h2>
-<p class="paragraph"/>In Wicket the best way to add dynamic functionalities to our application (such as csv export, a pdf generated on the fly, etc...) is implementing a custom resource. In this paragraph as example of custom resource we will build a basic RSS feeds generator which can be used to publish feeds on our site (project CustomResourceMounting). Instead of generating a RSS feed by hand we will use Rome framework and its utility classes.<p class="paragraph"/>As hinted above in paragraph 13.1, class <code>AbstractResource</code> can be used as base class to implement new resources. This class defines abstract method <code>newResourceResponse</code> which is invoked when the resource is requested. The following is the code of our RSS feeds generator:<p class="paragraph"/><div class="code"><pre><span class="java&#45;keyword">public</span> class RSSProducerResource <span class="java&#45;keyword">extends</span> AbstractResource &#123;<p class="paragraph"/>  @Override
-  <span class="java&#45;keyword">protected</span> ResourceResponse newResourceResponse(Attributes attributes) &#123;
-    ResourceResponse resourceResponse = <span class="java&#45;keyword">new</span> ResourceResponse();
-    resourceResponse.setContentType(<span class="java&#45;quote">"text/xml"</span>);
-    resourceResponse.setTextEncoding(<span class="java&#45;quote">"utf&#45;8"</span>);<p class="paragraph"/>    resourceResponse.setWriteCallback(<span class="java&#45;keyword">new</span> WriteCallback()
+<h2 id="resources_7">15.7 Put JavaScript inside page body</h2>
+Some web developers prefer to put their &#60;script&#62; tags at the end of page body instead of inside the &#60;header&#62; tags:<p class="paragraph"/><div class="code"><pre>&#60;html&#62;<p class="paragraph"/>&#60;header&#62;
+//no &#60;script&#62; tag here&#8230;
+&#60;/header&#62;<p class="paragraph"/>&#60;body&#62;
+&#8230;
+&#60;script&#62;
+//one or more &#60;script&#62; tags at the end of the body
+&#60;/script&#62; 
+&#60;/body&#62;
+&#60;/html&#62;</pre></div><p class="paragraph"/>
+In Wicket we can achieve this result providing a custom <code>IHeaderResponseDecorator</code> to a our application and using Wicket tag &#60;wicket:container/&#62; to indicate where we want to render our scripts inside the page. Interface <code>IHeaderResponseDecorator</code> defines method <code>IHeaderResponse decorate(IHeaderResponse response)</code> which allows to decorate or add funtionalities to Wicket <code>IHeaderResponse</code>. Our custom <code>IHeaderResponseDecorator</code> can be registered in the application with method <code>setHeaderResponseDecorator</code>. Anytime Wicket creates an instance of <code>IHeaderResponse</code>, it will call the registered <code>IHeaderResponseDecorator</code> to decorate the header response.<p class="paragraph"/>In the example project <code>ScriptInsideBody</code> we can find a custom <code>IHeaderResponseDecorator</code> that renders CSS into the usual &#60;head&#62; tag and put JavaScricpt header items into a specific container (tag 
 &#60;wicket:container/&#62;)
+Wicket already comes with class <code>JavaScriptFilteredIntoFooterHeaderResponse</code> which wraps a <code>IHeaderResponse</code> and renders in a given container all the instances of <code>JavaScriptHeaderItem</code>.
+The following code is taken from the Application class of the project:<p class="paragraph"/><div class="code"><pre>//&#8230;
+    @Override
+    <span class="java&#45;keyword">public</span> void init()
     &#123;
-      @Override
-      <span class="java&#45;keyword">public</span> void writeData(Attributes attributes) <span class="java&#45;keyword">throws</span> IOException
-      &#123;
-        OutputStream outputStream = attributes.getResponse().getOutputStream();
-        Writer writer = <span class="java&#45;keyword">new</span> OutputStreamWriter(outputStream);
-        SyndFeedOutput output = <span class="java&#45;keyword">new</span> SyndFeedOutput();
-            <span class="java&#45;keyword">try</span> &#123;
-          output.output(getFeed(), writer);
-        &#125; <span class="java&#45;keyword">catch</span> (FeedException e) &#123;
-          <span class="java&#45;keyword">throw</span> <span class="java&#45;keyword">new</span> WicketRuntimeException(<span class="java&#45;quote">"Problems writing feed to response..."</span>);
-        &#125;
-      &#125;      
-    &#125;);<p class="paragraph"/>    <span class="java&#45;keyword">return</span> resourceResponse;
-  &#125;
-  // method getFeed()&#8230;
-&#125;</pre></div><p class="paragraph"/>Method <code>newResourceResponse</code> returns an instance of <code>ResourceResponse</code> representing the response generated by the custom resource. Since RSS feeds are based on XML, in the code above we have set the type of the response to text/xml and the text encoding to utf-8.<p class="paragraph"/>To specify the content that will be returned by our resource we must also provide an implementation of inner class <code>WriteCallback</code> which is responsible for writing content data to response's output stream. In our project we used class SyndFeedOutput from Rome framework to write our feed to response. Method <code>getFeed()</code> is just an utility method that generates a sample RSS feed (which is an instance of interface <code>com.sun.syndication.feed.synd.SyndFeed</code>).<p class="paragraph"/>Now that we have our custom resource in place, we can use it in the home page of the project. The easiest way to make a resource available 
 to users is to expose it with link component <code>ResourceLink</code>:<p class="paragraph"/><div class="code"><pre>add(<span class="java&#45;keyword">new</span> ResourceLink(<span class="java&#45;quote">"rssLink"</span>, <span class="java&#45;keyword">new</span> RSSProducerResource()));</pre></div><p class="paragraph"/>In the next paragraphs we will see how to register a resource at application-level and how to mount it to an arbitrary URL.
+       setHeaderResponseDecorator(<span class="java&#45;keyword">new</span> JavaScriptToBucketResponseDecorator(<span class="java&#45;quote">"footer&#45;container"</span>));
+    &#125;<p class="paragraph"/>     /&#42;&#42;
+     &#42; Decorates an original IHeaderResponse and renders all javascript items
+     &#42; (JavaScriptHeaderItem), to a specific container in the page.
+     &#42;/
+    <span class="java&#45;keyword">static</span> class JavaScriptToBucketResponseDecorator <span class="java&#45;keyword">implements</span> IHeaderResponseDecorator 
+    &#123;<p class="paragraph"/>        <span class="java&#45;keyword">private</span> <span class="java&#45;object">String</span> bucketName;<p class="paragraph"/>        <span class="java&#45;keyword">public</span> JavaScriptToBucketResponseDecorator(<span class="java&#45;object">String</span> bucketName) &#123;
+            <span class="java&#45;keyword">this</span>.bucketName = bucketName;
+        &#125;<p class="paragraph"/>        @Override
+        <span class="java&#45;keyword">public</span> IHeaderResponse decorate(IHeaderResponse response) &#123;
+            <span class="java&#45;keyword">return</span> <span class="java&#45;keyword">new</span> JavaScriptFilteredIntoFooterHeaderResponse(response, bucketName);
+        &#125;<p class="paragraph"/>    &#125;</pre></div><p class="paragraph"/>As you can see in the code above the "bucket" that will contain JavaScript tags is called <code>"footer-container"</code>. To make a use of it the developer have to add a special component called <code>HeaderResponseContainer</code> in his page:<p class="paragraph"/><div class="code"><pre>add(<span class="java&#45;keyword">new</span> HeaderResponseContainer(<span class="java&#45;quote">"someId"</span>, <span class="java&#45;quote">"filterName"</span>));</pre></div><p class="paragraph"/>Please note that <code>HeaderResponseContainer</code>'s needs also a name for the corresponding header response's filter. The markup of our page will look like this:<p class="paragraph"/><div class="code"><pre>&#60;html&#62;<p class="paragraph"/>&#60;header&#62;
+//no &#60;script&#62; tag here&#8230;
+&#60;/header&#62;<p class="paragraph"/>&#60;body&#62;
+&#60;!&#45;&#45; here we will have our JavaScript tags &#45;&#45;&#62;
+&#60;wicket:container wicket:id=<span class="java&#45;quote">"someId"</span>/&#62; 
+&#60;/body&#62;
+&#60;/html&#62;</pre></div><p class="paragraph"/>The code of the home page is the following:<p class="paragraph"/><div class="code"><pre><span class="java&#45;keyword">public</span> HomePage(<span class="java&#45;keyword">final</span> PageParameters parameters) &#123;
+        <span class="java&#45;keyword">super</span>(parameters);<p class="paragraph"/>        add(<span class="java&#45;keyword">new</span> HeaderResponseContainer(<span class="java&#45;quote">"footer&#45;container"</span>, <span class="java&#45;quote">"footer&#45;container"</span>));
+    &#125;<p class="paragraph"/>    @Override
+    <span class="java&#45;keyword">public</span> void renderHead(IHeaderResponse response) &#123;
+        response.render(JavaScriptHeaderItem.forReference(<span class="java&#45;keyword">new</span> PackageResourceReference(getClass(),
+                <span class="java&#45;quote">"javasciptLibrary.js"</span>)));<p class="paragraph"/>        response.render(OnEventHeaderItem.forScript(<span class="java&#45;quote">"'logo'"</span>, <span class="java&#45;quote">"click"</span>, <span class="java&#45;quote">"alert('Clicked me!')"</span>));
+    &#125;</pre></div><p class="paragraph"/>Looking at the code above you can note that our page adds two script to the header section: the first is an instance of <code>JavaScriptHeaderItem</code> and will be rendered in the <code>HeaderResponseContainer</code> while the second will follow the usual behavior and will be rendered inside &#60;head&#62; tag.<p class="paragraph"/><p class="paragraph"/>
 
 
                 <div style="clear:both;margin-top:15px;"></div>
@@ -210,7 +227,7 @@ function addJsClass() {
 <div id="footer">
     
 Copyright &copy; 2013-2014 — <a href="http://www.apache.org/" target="_blank">The Apache Software Foundation</a> 
-                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-14)</b>
+                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-15)</b>
 
     
 </div>

Modified: wicket/common/site/trunk/_site/guide/guide/pages/resources_8.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/pages/resources_8.html?rev=1568637&r1=1568636&r2=1568637&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/guide/pages/resources_8.html (original)
+++ wicket/common/site/trunk/_site/guide/guide/pages/resources_8.html Sat Feb 15 14:23:16 2014
@@ -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>15.8 Mounting resources 6.x</title>
+    <title>15.8 Custom resources 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"/>
@@ -146,7 +146,7 @@ function addJsClass() {
 
 
                 <div class="project">
-                    <h1>15.8 Mounting resources - Reference Documentation</h1>
+                    <h1>15.8 Custom resources - Reference Documentation</h1>
 
                     <p><strong>Authors:</strong> Andrea Del Bene, Carsten Hufe, Christian Kroemer, Daniel Bartl, Paul Borș</p>
 
@@ -159,30 +159,29 @@ function addJsClass() {
 
                 
 
-<h2 id="resources_8">15.8 Mounting resources</h2>
-<p class="paragraph"/>Just like pages also resources can be mounted to a specific path. Class <code>WebApplication</code> provides method <code>mountResource</code> which is almost identical to <code>mountPage</code> seen in paragraph 8.6.1:<p class="paragraph"/><div class="code"><pre>@Override
-<span class="java&#45;keyword">public</span> void init() &#123;
-  <span class="java&#45;keyword">super</span>.init();
-  //resource mounted to path /foo/bar
-  ResourceReference resourceReference = <span class="java&#45;keyword">new</span> ResourceReference(<span class="java&#45;quote">"rssProducer"</span>)&#123;
-     RSSReaderResource rssResource = <span class="java&#45;keyword">new</span> RSSReaderResource();
-     @Override
-     <span class="java&#45;keyword">public</span> IResource getResource() &#123;
-	<span class="java&#45;keyword">return</span> rssResource;
-  &#125;&#125;;
-  mountResource(<span class="java&#45;quote">"/foo/bar"</span>, resourceReference);
-&#125;</pre></div><p class="paragraph"/>With the configuration above (taken from project <code>CustomResourceMounting</code>) every request to /foo/bar will be served by the custom resource built in the previous paragraph.<p class="paragraph"/>Parameter placeholders are supported as well:<p class="paragraph"/><div class="code"><pre>@Override
-<span class="java&#45;keyword">public</span> void init() &#123;
-  <span class="java&#45;keyword">super</span>.init();
-  //resource mounted to path /foo with a required indexed parameter
-  ResourceReference resourceReference = <span class="java&#45;keyword">new</span> ResourceReference(<span class="java&#45;quote">"rssProducer"</span>)&#123;
-     RSSReaderResource rssResource = <span class="java&#45;keyword">new</span> RSSReaderResource();
-     @Override
-     <span class="java&#45;keyword">public</span> IResource getResource() &#123;
-	<span class="java&#45;keyword">return</span> rssResource;
-  &#125;&#125;;
-  mountResource(<span class="java&#45;quote">"/bar/$&#123;baz&#125;"</span>, resourceReference);
-&#125;</pre></div>
+<h2 id="resources_8">15.8 Custom resources</h2>
+<p class="paragraph"/>In Wicket the best way to add dynamic functionalities to our application (such as csv export, a pdf generated on the fly, etc...) is implementing a custom resource. In this paragraph as example of custom resource we will build a basic RSS feeds generator which can be used to publish feeds on our site (project CustomResourceMounting). Instead of generating a RSS feed by hand we will use Rome framework and its utility classes.<p class="paragraph"/>As hinted above in paragraph 13.1, class <code>AbstractResource</code> can be used as base class to implement new resources. This class defines abstract method <code>newResourceResponse</code> which is invoked when the resource is requested. The following is the code of our RSS feeds generator:<p class="paragraph"/><div class="code"><pre><span class="java&#45;keyword">public</span> class RSSProducerResource <span class="java&#45;keyword">extends</span> AbstractResource &#123;<p class="paragraph"/>  @Override
+  <span class="java&#45;keyword">protected</span> ResourceResponse newResourceResponse(Attributes attributes) &#123;
+    ResourceResponse resourceResponse = <span class="java&#45;keyword">new</span> ResourceResponse();
+    resourceResponse.setContentType(<span class="java&#45;quote">"text/xml"</span>);
+    resourceResponse.setTextEncoding(<span class="java&#45;quote">"utf&#45;8"</span>);<p class="paragraph"/>    resourceResponse.setWriteCallback(<span class="java&#45;keyword">new</span> WriteCallback()
+    &#123;
+      @Override
+      <span class="java&#45;keyword">public</span> void writeData(Attributes attributes) <span class="java&#45;keyword">throws</span> IOException
+      &#123;
+        OutputStream outputStream = attributes.getResponse().getOutputStream();
+        Writer writer = <span class="java&#45;keyword">new</span> OutputStreamWriter(outputStream);
+        SyndFeedOutput output = <span class="java&#45;keyword">new</span> SyndFeedOutput();
+            <span class="java&#45;keyword">try</span> &#123;
+          output.output(getFeed(), writer);
+        &#125; <span class="java&#45;keyword">catch</span> (FeedException e) &#123;
+          <span class="java&#45;keyword">throw</span> <span class="java&#45;keyword">new</span> WicketRuntimeException(<span class="java&#45;quote">"Problems writing feed to response..."</span>);
+        &#125;
+      &#125;      
+    &#125;);<p class="paragraph"/>    <span class="java&#45;keyword">return</span> resourceResponse;
+  &#125;
+  // method getFeed()&#8230;
+&#125;</pre></div><p class="paragraph"/>Method <code>newResourceResponse</code> returns an instance of <code>ResourceResponse</code> representing the response generated by the custom resource. Since RSS feeds are based on XML, in the code above we have set the type of the response to text/xml and the text encoding to utf-8.<p class="paragraph"/>To specify the content that will be returned by our resource we must also provide an implementation of inner class <code>WriteCallback</code> which is responsible for writing content data to response's output stream. In our project we used class SyndFeedOutput from Rome framework to write our feed to response. Method <code>getFeed()</code> is just an utility method that generates a sample RSS feed (which is an instance of interface <code>com.sun.syndication.feed.synd.SyndFeed</code>).<p class="paragraph"/>Now that we have our custom resource in place, we can use it in the home page of the project. The easiest way to make a resource available 
 to users is to expose it with link component <code>ResourceLink</code>:<p class="paragraph"/><div class="code"><pre>add(<span class="java&#45;keyword">new</span> ResourceLink(<span class="java&#45;quote">"rssLink"</span>, <span class="java&#45;keyword">new</span> RSSProducerResource()));</pre></div><p class="paragraph"/>In the next paragraphs we will see how to register a resource at application-level and how to mount it to an arbitrary URL.
 
 
                 <div style="clear:both;margin-top:15px;"></div>
@@ -211,7 +210,7 @@ function addJsClass() {
 <div id="footer">
     
 Copyright &copy; 2013-2014 — <a href="http://www.apache.org/" target="_blank">The Apache Software Foundation</a> 
-                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-14)</b>
+                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-15)</b>
 
     
 </div>

Modified: wicket/common/site/trunk/_site/guide/guide/pages/resources_9.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/pages/resources_9.html?rev=1568637&r1=1568636&r2=1568637&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/guide/pages/resources_9.html (original)
+++ wicket/common/site/trunk/_site/guide/guide/pages/resources_9.html Sat Feb 15 14:23:16 2014
@@ -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>15.9 Shared resources 6.x</title>
+    <title>15.9 Mounting resources 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"/>
@@ -146,7 +146,7 @@ function addJsClass() {
 
 
                 <div class="project">
-                    <h1>15.9 Shared resources - Reference Documentation</h1>
+                    <h1>15.9 Mounting resources - Reference Documentation</h1>
 
                     <p><strong>Authors:</strong> Andrea Del Bene, Carsten Hufe, Christian Kroemer, Daniel Bartl, Paul Borș</p>
 
@@ -159,18 +159,30 @@ function addJsClass() {
 
                 
 
-<h2 id="resources_9">15.9 Shared resources</h2>
-<p class="paragraph"/>Resources can be added to a global registry in order to share them at application-level. Shared resources are identified by an application-scoped key and they can be easily retrieved at a later time using reference class <code>SharedResourceReference</code>. The global registry can be accessed with <code>Application</code>'s method <code>getSharedResources</code>. In the following excerpt of code (taken again from project <code>CustomResourceMounting</code>) we register an instance of our custom RSS feeds producer as application-shared resource:<p class="paragraph"/><div class="code"><pre>//init application's method
-  @Override
-  <span class="java&#45;keyword">public</span> void init()&#123;
-    RSSProducerResource rssResource = <span class="java&#45;keyword">new</span> RSSProducerResource();
-    // &#8230;
-    getSharedResources().add(<span class="java&#45;quote">"globalRSSProducer"</span>, rssResource);    
-  &#125;</pre></div><p class="paragraph"/>Now to use an application-shared resource we can simply retrieve it using class <code>SharedResourceReference</code> and providing the key previously used to register the resource:<p class="paragraph"/><div class="code"><pre>add(<span class="java&#45;keyword">new</span> ResourceLink(<span class="java&#45;quote">"globalRssLink"</span>, <span class="java&#45;keyword">new</span> SharedResourceReference(<span class="java&#45;quote">"globalRSSProducer"</span>)));</pre></div><p class="paragraph"/>The URL generated for application shared resources follows the same pattern seen for package resources:<p class="paragraph"/><code>./wicket/resource/org.apache.wicket.Application/globalRSSProducer</code><p class="paragraph"/>The last segment of the URL is the key of the resource while the previous segment contains the scope of the resource. For application-scoped resources the scope is always the fully qualified name of class <code>Application</code>. Thi
 s should not be surprising since global resources are visible at application level (i.e. the scope is the application).<p class="paragraph"/><blockquote class="note">
-Package resources are also application-shared resources but they don't need to be explicitly registered.
-</blockquote><p class="paragraph"/><blockquote class="note">
-Remember that we can get the URL of a resource reference using method <code>urlFor(ResourceReference resourceRef, PageParameters params )</code> available with both class <code>RequestCycle</code> and class <code>Component</code>.
-</blockquote>
+<h2 id="resources_9">15.9 Mounting resources</h2>
+<p class="paragraph"/>Just like pages also resources can be mounted to a specific path. Class <code>WebApplication</code> provides method <code>mountResource</code> which is almost identical to <code>mountPage</code> seen in paragraph 8.6.1:<p class="paragraph"/><div class="code"><pre>@Override
+<span class="java&#45;keyword">public</span> void init() &#123;
+  <span class="java&#45;keyword">super</span>.init();
+  //resource mounted to path /foo/bar
+  ResourceReference resourceReference = <span class="java&#45;keyword">new</span> ResourceReference(<span class="java&#45;quote">"rssProducer"</span>)&#123;
+     RSSReaderResource rssResource = <span class="java&#45;keyword">new</span> RSSReaderResource();
+     @Override
+     <span class="java&#45;keyword">public</span> IResource getResource() &#123;
+	<span class="java&#45;keyword">return</span> rssResource;
+  &#125;&#125;;
+  mountResource(<span class="java&#45;quote">"/foo/bar"</span>, resourceReference);
+&#125;</pre></div><p class="paragraph"/>With the configuration above (taken from project <code>CustomResourceMounting</code>) every request to /foo/bar will be served by the custom resource built in the previous paragraph.<p class="paragraph"/>Parameter placeholders are supported as well:<p class="paragraph"/><div class="code"><pre>@Override
+<span class="java&#45;keyword">public</span> void init() &#123;
+  <span class="java&#45;keyword">super</span>.init();
+  //resource mounted to path /foo with a required indexed parameter
+  ResourceReference resourceReference = <span class="java&#45;keyword">new</span> ResourceReference(<span class="java&#45;quote">"rssProducer"</span>)&#123;
+     RSSReaderResource rssResource = <span class="java&#45;keyword">new</span> RSSReaderResource();
+     @Override
+     <span class="java&#45;keyword">public</span> IResource getResource() &#123;
+	<span class="java&#45;keyword">return</span> rssResource;
+  &#125;&#125;;
+  mountResource(<span class="java&#45;quote">"/bar/$&#123;baz&#125;"</span>, resourceReference);
+&#125;</pre></div>
 
 
                 <div style="clear:both;margin-top:15px;"></div>
@@ -199,7 +211,7 @@ Remember that we can get the URL of a re
 <div id="footer">
     
 Copyright &copy; 2013-2014 — <a href="http://www.apache.org/" target="_blank">The Apache Software Foundation</a> 
-                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-14)</b>
+                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-15)</b>
 
     
 </div>

Modified: wicket/common/site/trunk/_site/guide/guide/pages/security_1.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/pages/security_1.html?rev=1568637&r1=1568636&r2=1568637&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/guide/pages/security_1.html (original)
+++ wicket/common/site/trunk/_site/guide/guide/pages/security_1.html Sat Feb 15 14:23:16 2014
@@ -264,7 +264,7 @@ Since both <code>restartResponseAtSignIn
 <div id="footer">
     
 Copyright &copy; 2013-2014 — <a href="http://www.apache.org/" target="_blank">The Apache Software Foundation</a> 
-                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-14)</b>
+                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-15)</b>
 
     
 </div>

Modified: wicket/common/site/trunk/_site/guide/guide/pages/security_2.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/pages/security_2.html?rev=1568637&r1=1568636&r2=1568637&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/guide/pages/security_2.html (original)
+++ wicket/common/site/trunk/_site/guide/guide/pages/security_2.html Sat Feb 15 14:23:16 2014
@@ -300,7 +300,7 @@ Application class <code>AuthenticatedWeb
 <div id="footer">
     
 Copyright &copy; 2013-2014 — <a href="http://www.apache.org/" target="_blank">The Apache Software Foundation</a> 
-                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-14)</b>
+                      — <b style="color:#E8590A !important;">(Generated on: 2014-02-15)</b>
 
     
 </div>