You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by mg...@apache.org on 2011/11/02 16:30:54 UTC

svn commit: r1196632 - in /wicket/common/site/trunk: _site/atom.xml _site/learn/examples/navomatic.html learn/examples/navomatic.md

Author: mgrigorov
Date: Wed Nov  2 15:30:54 2011
New Revision: 1196632

URL: http://svn.apache.org/viewvc?rev=1196632&view=rev
Log:
Fix navomatic example - use Border.addToBorder()


Modified:
    wicket/common/site/trunk/_site/atom.xml
    wicket/common/site/trunk/_site/learn/examples/navomatic.html
    wicket/common/site/trunk/learn/examples/navomatic.md

Modified: wicket/common/site/trunk/_site/atom.xml
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/atom.xml?rev=1196632&r1=1196631&r2=1196632&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/atom.xml (original)
+++ wicket/common/site/trunk/_site/atom.xml Wed Nov  2 15:30:54 2011
@@ -4,7 +4,7 @@
  <title>Apache Wicket</title>
  <link href="http://wicket.apache.org/atom.xml" rel="self"/>
  <link href="http://wicket.apache.org/"/>
- <updated>2011-10-24T08:44:54+02:00</updated>
+ <updated>2011-11-02T17:29:19+02:00</updated>
  <id>http://wicket.apache.org/</id>
  <author>
    <name>Apache Wicket</name>
@@ -15,7 +15,7 @@
  <entry>
    <title>Wicket 1.5.2 released</title>
    <link href="http://wicket.apache.org/2011/10/24/wicket-1.5.2-released.html"/>
-   <updated>2011-10-24T00:00:00+02:00</updated>
+   <updated>2011-10-24T00:00:00+03:00</updated>
    <id>http://wicket.apache.org/2011/10/24/wicket-1.5.2-released</id>
    <content type="html">&lt;p&gt;This is the second maintenance release of the Wicket 1.5.x series. This release brings over 25 bug fixes and 5 improvements.&lt;/p&gt;
 
@@ -41,7 +41,7 @@
  <entry>
    <title>Wicket 1.4.19 released</title>
    <link href="http://wicket.apache.org/2011/10/17/wicket-1.4.19-released.html"/>
-   <updated>2011-10-17T00:00:00+02:00</updated>
+   <updated>2011-10-17T00:00:00+03:00</updated>
    <id>http://wicket.apache.org/2011/10/17/wicket-1.4.19-released</id>
    <content type="html">&lt;p&gt;This is nineteenth release of the Wicket 1.4.x series. This is primarily a minor bugfix release on the 1.4.x (stable) branch.&lt;/p&gt;
 
@@ -67,7 +67,7 @@
  <entry>
    <title>Wicket 1.5.1 released</title>
    <link href="http://wicket.apache.org/2011/09/29/wicket-1.5.1-released.html"/>
-   <updated>2011-09-29T00:00:00+02:00</updated>
+   <updated>2011-09-29T00:00:00+03:00</updated>
    <id>http://wicket.apache.org/2011/09/29/wicket-1.5.1-released</id>
    <content type="html">&lt;p&gt;This is the first maintenance release of the Wicket 1.5.x series. This release brings over 40 bug fixes and 15 improvements.&lt;/p&gt;
 
@@ -93,7 +93,7 @@
  <entry>
    <title>Apache Wicket releases Wicket 1.5</title>
    <link href="http://wicket.apache.org/2011/09/07/wicket-1.5-released.html"/>
-   <updated>2011-09-07T00:00:00+02:00</updated>
+   <updated>2011-09-07T00:00:00+03:00</updated>
    <id>http://wicket.apache.org/2011/09/07/wicket-1.5-released</id>
    <content type="html">&lt;p&gt;The Apache Wicket team is proud to announce the immediate availability of the newest release of their component oriented open source Java web framework. Apache Wicket 1.5 has been in development for the last two years and brings many improvements over previous versions.&lt;/p&gt;
 
@@ -216,7 +216,7 @@
  <entry>
    <title>Wicket 1.5-RC7 released</title>
    <link href="http://wicket.apache.org/2011/08/28/1.5-RC7-released.html"/>
-   <updated>2011-08-28T00:00:00+02:00</updated>
+   <updated>2011-08-28T00:00:00+03:00</updated>
    <id>http://wicket.apache.org/2011/08/28/1.5-RC7-released</id>
    <content type="html">&lt;p&gt;The Wicket Team is proud to introduce the seventh Release Candidate in Wicket 1.5 series. See the changelog for the list of bug fixes and improvements done between 1.5-RC5.1 and 1.5-RC7&lt;/p&gt;
 
@@ -248,7 +248,7 @@
  <entry>
    <title>CVE-2011-2712 - Apache Wicket XSS vulnerability</title>
    <link href="http://wicket.apache.org/2011/08/23/cve-2011-2712.html"/>
-   <updated>2011-08-23T00:00:00+02:00</updated>
+   <updated>2011-08-23T00:00:00+03:00</updated>
    <id>http://wicket.apache.org/2011/08/23/cve-2011-2712</id>
    <content type="html">&lt;p&gt;Vendor: The Apache Software Foundation&lt;/p&gt;
 
@@ -275,7 +275,7 @@
  <entry>
    <title>Wicket 1.4.18 released</title>
    <link href="http://wicket.apache.org/2011/08/09/wicket-1.4.18-released.html"/>
-   <updated>2011-08-09T00:00:00+02:00</updated>
+   <updated>2011-08-09T00:00:00+03:00</updated>
    <id>http://wicket.apache.org/2011/08/09/wicket-1.4.18-released</id>
    <content type="html">&lt;p&gt;This is eightteenth release of the Wicket 1.4.x series. This is primarily a minor bugfix release on the 1.4.x (stable) branch.&lt;/p&gt;
 
@@ -301,7 +301,7 @@
  <entry>
    <title>Wicket 1.5-RC5.1 released</title>
    <link href="http://wicket.apache.org/2011/06/25/wicket-1.5-RC5.1-released.html"/>
-   <updated>2011-06-25T00:00:00+02:00</updated>
+   <updated>2011-06-25T00:00:00+03:00</updated>
    <id>http://wicket.apache.org/2011/06/25/wicket-1.5-RC5.1-released</id>
    <content type="html">&lt;p&gt;The Wicket Team is proud to introduce the fourth Release Candidate in Wicket 1.5 series. See the changelog for the list of bug fixes and improvements done between 1.5-RC4.2 and 1.5-RC5.1&lt;/p&gt;
 
@@ -331,7 +331,7 @@
  <entry>
    <title>Apache Wicket Cookbook Giveaway Contest</title>
    <link href="http://wicket.apache.org/2011/05/17/wicket-cookbook-contest.html"/>
-   <updated>2011-05-17T00:00:00+02:00</updated>
+   <updated>2011-05-17T00:00:00+03:00</updated>
    <id>http://wicket.apache.org/2011/05/17/wicket-cookbook-contest</id>
    <content type="html">&lt;img title='Apache Wicket Cookbook' src='http://wicket.apache.org/learn/books/awc.png' height='111' alt='' style='float: left; margin-left: 10px; margin-right: 10px;' width='90' /&gt;
 &lt;p&gt;Packt Publishing has generously allowed me to give away a free copy of the ebook version of &lt;a href='http://link.packtpub.com/AzN8N9'&gt;&lt;strong&gt;Apache Wicket Cookbook&lt;/strong&gt;&lt;/a&gt; (http://link.packtpub.com/AzN8N9), and a &lt;strong&gt;free one year subscription&lt;/strong&gt; to PacktLib. For details see the &lt;a href='http://wicketinaction.com/2011/05/apache_wicket_cookbook_giveaway_contest'&gt;contest announcement&lt;/a&gt;.&lt;/p&gt;
@@ -342,7 +342,7 @@
  <entry>
    <title>Wicket 1.5-RC4.2 released</title>
    <link href="http://wicket.apache.org/2011/05/11/wicket-1.5-RC4.2-released.html"/>
-   <updated>2011-05-11T00:00:00+02:00</updated>
+   <updated>2011-05-11T00:00:00+03:00</updated>
    <id>http://wicket.apache.org/2011/05/11/wicket-1.5-RC4.2-released</id>
    <content type="html">&lt;p&gt;The Wicket Team is proud to introduce the fourth Release Candidate in Wicket 1.5 series. See the changelog for the list of bug fixes and improvements done between 1.5-RC3 and 1.5-RC4.2&lt;/p&gt;
 

Modified: wicket/common/site/trunk/_site/learn/examples/navomatic.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/learn/examples/navomatic.html?rev=1196632&r1=1196631&r2=1196632&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/learn/examples/navomatic.html (original)
+++ wicket/common/site/trunk/_site/learn/examples/navomatic.html Wed Nov  2 15:30:54 2011
@@ -279,8 +279,8 @@
     <span class='kd'>public</span> <span class='nf'>NavomaticBorder</span><span class='o'>(</span><span class='kd'>final</span> <span class='n'>String</span> <span class='n'>componentName</span><span class='o'>)</span> <span class='o'>{</span>
         <span class='kd'>super</span><span class='o'>(</span><span class='n'>componentName</span><span class='o'>);</span>
 
-        <span class='n'>add</span><span class='o'>(</span><span class='k'>new</span> <span class='n'>BoxBorder</span><span class='o'>(</span><span class='s'>&quot;navigationBorder&quot;</span><span class='o'>));</span>
-        <span class='n'>add</span><span class='o'>(</span><span class='k'>new</span> <span class='n'>BoxBorder</span><span class='o'>(</span><span class='s'>&quot;bodyBorder&quot;</span><span class='o'>));</span>
+        <span class='n'>addToBorder</span><span class='o'>(</span><span class='k'>new</span> <span class='n'>BoxBorder</span><span class='o'>(</span><span class='s'>&quot;navigationBorder&quot;</span><span class='o'>));</span>
+        <span class='n'>addToBorder</span><span class='o'>(</span><span class='k'>new</span> <span class='n'>BoxBorder</span><span class='o'>(</span><span class='s'>&quot;bodyBorder&quot;</span><span class='o'>));</span>
     <span class='o'>}</span>
 <span class='o'>}</span>
 </code></pre>

Modified: wicket/common/site/trunk/learn/examples/navomatic.md
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/learn/examples/navomatic.md?rev=1196632&r1=1196631&r2=1196632&view=diff
==============================================================================
--- wicket/common/site/trunk/learn/examples/navomatic.md (original)
+++ wicket/common/site/trunk/learn/examples/navomatic.md Wed Nov  2 15:30:54 2011
@@ -184,8 +184,8 @@ public class NavomaticBorder extends Bor
     public NavomaticBorder(final String componentName) {
         super(componentName);
 
-        add(new BoxBorder("navigationBorder"));
-        add(new BoxBorder("bodyBorder"));
+        addToBorder(new BoxBorder("navigationBorder"));
+        addToBorder(new BoxBorder("bodyBorder"));
     }
 }
 {% endhighlight %}