Hi Andrea,

On Sat, Dec 28, 2013 at 9:46 PM, <adelb...@apache.org> wrote:

> Author: adelbene
> Date: Sat Dec 28 19:46:29 2013
> New Revision: 1553899
>
> URL: http://svn.apache.org/r1553899
> Log:
> Minor corrections as suggested bz readers.
>

What is 'bz' ?


>
> Modified:
>     wicket/common/site/trunk/_site/guide/guide/chapter26.html
>     wicket/common/site/trunk/_site/guide/guide/chapter4.html
>     wicket/common/site/trunk/_site/guide/guide/pages/chapter4_3.html
>     wicket/common/site/trunk/_site/guide/guide/single.html
>     wicket/common/site/trunk/_site/guide/guide/single.pdf
>
> wicket/common/site/trunk/_site/guide/guide/src/docs/guide/chapter4/chapter4_3.gdoc
>
> Modified: wicket/common/site/trunk/_site/guide/guide/chapter26.html
> URL:
> http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/chapter26.html?rev=1553899&r1=1553898&r2=1553899&view=diff
>
> ==============================================================================
> --- wicket/common/site/trunk/_site/guide/guide/chapter26.html (original)
> +++ wicket/common/site/trunk/_site/guide/guide/chapter26.html Sat Dec 28
> 19:46:29 2013
> @@ -158,7 +158,7 @@ function addJsClass() {
>  You can contribute to this guide by following these steps:
>  <ul class="star">
>  <li>The guide uses Grails GDoc to generate the final HTML/PDF so you
> should consult with its <a href="http://grails.org/WikiSyntax";
> target="blank">syntax</a>.</li>
> -<li>Checkout Apache Wicket's <a href="
> https://svn.apache.org/repos/asf/wicket/common/site/trunk/_site/";
> target="blank">site</a></li>
> +<li>Checkout Apache Wicket's <a
> href="../ref/Httpssvnapacheorgreposasfwicketcommonsitetrunksite/site.html"
> class="https://svn.apache.org/repos/asf/wicket/common/site/trunk/_site/
> ">site</a></li>
>

while the 'href' change looks like improvement the added 'class' attribute
looks strange
but since it is autogenerated I'm not sure it can be improved


>  </ul><p class="paragraph"/><div class="code"><pre>svn checkout
> https://svn.apache.org/repos/asf/wicket/common/site/trunk/_site/
> </pre></div>
>  <ul class="star">
>  <li>Edit the  <em class="italic">.gdoc</em>  files in  <em
> class="italic">_site/guide/guide/src/docs/guide</em>  folder</li>
> @@ -176,7 +176,7 @@ You can contribute to this guide by foll
>  <li>To preview your changes open  <em
> class="italic">_site/guide/index.html</em>  in a browser</li>
>  <li>Create a patch with</li>
>  </ul><p class="paragraph"/><div class="code"><pre>svn diff &#62;
> my.patch</pre></div>
> -and attach it to a ticket in Apache Wicket's <a href="
> https://issues.apache.org/jira/browse/WICKET"; target="blank">JIRA</a><p
> class="paragraph"/><strong class="bold">Thank you!</strong>
> +and attach it to a ticket in Apache Wicket's <a
> href="../ref/Httpsissuesapacheorgjirabrowse WICKET/JIRA.html" class="
> https://issues.apache.org/jira/browse/WICKET";>JIRA</a><p
> class="paragraph"/><strong class="bold">Thank you!</strong>
>
>
>                  <div style="clear:both;margin-top:15px;"></div>
>
> Modified: wicket/common/site/trunk/_site/guide/guide/chapter4.html
> URL:
> http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/chapter4.html?rev=1553899&r1=1553898&r2=1553899&view=diff
>
> ==============================================================================
> --- wicket/common/site/trunk/_site/guide/guide/chapter4.html (original)
> +++ wicket/common/site/trunk/_site/guide/guide/chapter4.html Sat Dec 28
> 19:46:29 2013
> @@ -264,12 +264,14 @@ Let's go back to our layout example. In
>  &#60;div id=<span class="java&#45;quote">"header"</span> wicket:id=<span
> class="java&#45;quote">"headerPanel"</span>&#62;header&#60;/div&#62;
>  &#60;div id=<span class="java&#45;quote">"body"</span>&#62;
>         &#60;div id=<span class="java&#45;quote">"menu"</span>
> wicket:id=<span
> class="java&#45;quote">"menuPanel"</span>&#62;menu&#60;/div&#62;
> -       &#60;div id=<span class="java&#45;quote">"content"</span>
> wicket:id=<span
> class="java&#45;quote">"content"</span>&#62;content&#60;/div&#62;
> +       &#60;div id=<span class="java&#45;quote">"content"</span>
> wicket:id=<span
> class="java&#45;quote">"contentComponent"</span>&#62;content&#60;/div&#62;
>  &#60;/div&#62;
>  &#60;div id=<span class="java&#45;quote">"footer"</span> wicket:id=<span
> class="java&#45;quote">"footerPanel"</span>&#62;footer&#60;/div&#62;
>  &#60;/body&#62;
>  &#60;/html&#62;</pre></div><p class="paragraph"/>The HTML code for this
> page implements the generic left-menu layout of our site. You can note the
> 4 <code>&#60;div&#62;</code> tags used as containers for the corresponding
> areas.
> -The page class contains the code to physically assemble the page and
> panels:<p class="paragraph"/><div class="code"><pre><span
> class="java&#45;keyword">package</span> helloWorld.layoutTenda;<p
> class="paragraph"/><span class="java&#45;keyword">import</span>
> org.apache.wicket.markup.html.WebPage;<p class="paragraph"/><span
> class="java&#45;keyword">public</span> class JugTemplate <span
> class="java&#45;keyword">extends</span> WebPage &#123;
> +The page class contains the code to physically assemble the page and
> panels:<p class="paragraph"/><div class="code"><pre><span
> class="java&#45;keyword">package</span> helloWorld.layoutTenda;<p
> class="paragraph"/><span class="java&#45;keyword">import</span>
> org.apache.wicket.markup.html.WebPage;
> +<span class="java&#45;keyword">import</span> org.apache.wicket.Component;
> +<span class="java&#45;keyword">import</span>
> org.apache.wicket.markup.html.basic.Label;<p class="paragraph"/><span
> class="java&#45;keyword">public</span> class JugTemplate <span
> class="java&#45;keyword">extends</span> WebPage &#123;
>         <span class="java&#45;keyword">public</span> <span
> class="java&#45;keyword">static</span> <span
> class="java&#45;keyword">final</span> <span
> class="java&#45;object">String</span> CONTENT_ID = <span
> class="java&#45;quote">"contentComponent"</span>;<p class="paragraph"/>
>  <span class="java&#45;keyword">private</span> Component headerPanel;
>         <span class="java&#45;keyword">private</span> Component menuPanel;
>         <span class="java&#45;keyword">private</span> Component
> footerPanel;<p class="paragraph"/>              <span
> class="java&#45;keyword">public</span> JugTemplate()&#123;
> @@ -279,7 +281,7 @@ The page class contains the code to phys
>                 add(<span class="java&#45;keyword">new</span>
> Label(CONTENT_ID, <span class="java&#45;quote">"Put your content
> here"</span>));
>         &#125;<p class="paragraph"/>             //getters <span
> class="java&#45;keyword">for</span> layout areas
>         //&#8230;
> -&#125;</pre></div><p class="paragraph"/>Done! Our template page is ready
> to be used. Now all the pages of our site will be subclasses of this parent
> page and they will inherit the layout and the HTML markup. They will only
> substitute the <code>Label</code> inserted as content area with their
> custom content.<p class="paragraph"/><h3>Final example</h3><p
> class="paragraph"/>As final example we will build the login page for our
> site. We will call it <code>SimpleLoginPage</code>. First, we need a panel
> containing the login form. This will be the content area of our page. We
> will call it <code>LoginFormPanel</code> and the markup is the following:<p
> class="paragraph"/><div class="code"><pre>&#60;html&#62;
> +&#125;</pre></div><p class="paragraph"/>Done! Our template page is ready
> to be used. Now all the pages of our site will be subclasses of this parent
> page and they will inherit the layout and the HTML markup. They will only
> substitute the <code>Label</code> inserted as content area with their
> custom content.<p class="paragraph"/><h3>Final example</h3><p
> class="paragraph"/>As final example we will build the login page for our
> site. We will call it <code>SimpleLoginPage</code>. First, we need a panel
> containing the login form. This will be the content area of our page. We
> will call it <code>LoginPanel</code> and the markup is the following:<p
> class="paragraph"/><div class="code"><pre>&#60;html&#62;
>  &#60;head&#62;
>  &#60;/head&#62;
>  &#60;body&#62;
> @@ -298,7 +300,7 @@ The page class contains the code to phys
>      &#60;/div&#62;
>     &#60;/wicket:panel&#62;
>  &#60;/body&#62;
> -&#60;/html&#62;</pre></div><p class="paragraph"/>The class for this panel
> just extends <code>Panel</code> class so we won't see the relative code.
> The form of this panel is for illustrative purpose only. We will see how to
> work with Wicket forms in chapters <a href="../guide/single.html#chapter10"
> class="guide">10</a> and <a href="../guide/single.html#chapter11"
> class="guide">11</a>. Since this is a login page we don't want it to
> display the left menu area. That's not a big deal as <code>Component</code>
> class exposes a method called <code>setVisible</code> which sets whether
> the component and its children should be displayed.<p
> class="paragraph"/>The resulting Java code for the login page is the
> following:<p class="paragraph"/><div class="code"><pre><span
> class="java&#45;keyword">package</span> helloWorld.layoutTenda;
> +&#60;/html&#62;</pre></div><p class="paragraph"/>The class for this panel
> just extends <code>Panel</code> class so we won't see the relative code.
> The form of this panel is for illustrative purpose only. We will see how to
> work with Wicket forms in chapters <a href="../guide/single.html#chapter10"
> class="guide">11</a> and <a href="../guide/single.html#chapter11"
> class="guide">12</a>. Since this is a login page we don't want it to
> display the left menu area. That's not a big deal as <code>Component</code>
> class exposes a method called <code>setVisible</code> which sets whether
> the component and its children should be displayed.<p
> class="paragraph"/>The resulting Java code for the login page is the
> following:<p class="paragraph"/><div class="code"><pre><span
> class="java&#45;keyword">package</span> helloWorld.layoutTenda;
>  <span class="java&#45;keyword">import</span> helloWorld.LoginPanel;
>  <span class="java&#45;keyword">import</span>
> org.apache.wicket.event.Broadcast;
>  <span class="java&#45;keyword">import</span>
> org.apache.wicket.event.IEventSink;<p class="paragraph"/><span
> class="java&#45;keyword">public</span> class SimpleLoginPage <span
> class="java&#45;keyword">extends</span> JugTemplate &#123;
>
> Modified: wicket/common/site/trunk/_site/guide/guide/pages/chapter4_3.html
> URL:
> http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/pages/chapter4_3.html?rev=1553899&r1=1553898&r2=1553899&view=diff
>
> ==============================================================================
> --- wicket/common/site/trunk/_site/guide/guide/pages/chapter4_3.html
> (original)
> +++ wicket/common/site/trunk/_site/guide/guide/pages/chapter4_3.html Sat
> Dec 28 19:46:29 2013
> @@ -197,12 +197,14 @@ Let's go back to our layout example. In
>  &#60;div id=<span class="java&#45;quote">"header"</span> wicket:id=<span
> class="java&#45;quote">"headerPanel"</span>&#62;header&#60;/div&#62;
>  &#60;div id=<span class="java&#45;quote">"body"</span>&#62;
>         &#60;div id=<span class="java&#45;quote">"menu"</span>
> wicket:id=<span
> class="java&#45;quote">"menuPanel"</span>&#62;menu&#60;/div&#62;
> -       &#60;div id=<span class="java&#45;quote">"content"</span>
> wicket:id=<span
> class="java&#45;quote">"content"</span>&#62;content&#60;/div&#62;
> +       &#60;div id=<span class="java&#45;quote">"content"</span>
> wicket:id=<span
> class="java&#45;quote">"contentComponent"</span>&#62;content&#60;/div&#62;
>  &#60;/div&#62;
>  &#60;div id=<span class="java&#45;quote">"footer"</span> wicket:id=<span
> class="java&#45;quote">"footerPanel"</span>&#62;footer&#60;/div&#62;
>  &#60;/body&#62;
>  &#60;/html&#62;</pre></div><p class="paragraph"/>The HTML code for this
> page implements the generic left-menu layout of our site. You can note the
> 4 <code>&#60;div&#62;</code> tags used as containers for the corresponding
> areas.
> -The page class contains the code to physically assemble the page and
> panels:<p class="paragraph"/><div class="code"><pre><span
> class="java&#45;keyword">package</span> helloWorld.layoutTenda;<p
> class="paragraph"/><span class="java&#45;keyword">import</span>
> org.apache.wicket.markup.html.WebPage;<p class="paragraph"/><span
> class="java&#45;keyword">public</span> class JugTemplate <span
> class="java&#45;keyword">extends</span> WebPage &#123;
> +The page class contains the code to physically assemble the page and
> panels:<p class="paragraph"/><div class="code"><pre><span
> class="java&#45;keyword">package</span> helloWorld.layoutTenda;<p
> class="paragraph"/><span class="java&#45;keyword">import</span>
> org.apache.wicket.markup.html.WebPage;
> +<span class="java&#45;keyword">import</span> org.apache.wicket.Component;
> +<span class="java&#45;keyword">import</span>
> org.apache.wicket.markup.html.basic.Label;<p class="paragraph"/><span
> class="java&#45;keyword">public</span> class JugTemplate <span
> class="java&#45;keyword">extends</span> WebPage &#123;
>         <span class="java&#45;keyword">public</span> <span
> class="java&#45;keyword">static</span> <span
> class="java&#45;keyword">final</span> <span
> class="java&#45;object">String</span> CONTENT_ID = <span
> class="java&#45;quote">"contentComponent"</span>;<p class="paragraph"/>
>  <span class="java&#45;keyword">private</span> Component headerPanel;
>         <span class="java&#45;keyword">private</span> Component menuPanel;
>         <span class="java&#45;keyword">private</span> Component
> footerPanel;<p class="paragraph"/>              <span
> class="java&#45;keyword">public</span> JugTemplate()&#123;
> @@ -212,7 +214,7 @@ The page class contains the code to phys
>                 add(<span class="java&#45;keyword">new</span>
> Label(CONTENT_ID, <span class="java&#45;quote">"Put your content
> here"</span>));
>         &#125;<p class="paragraph"/>             //getters <span
> class="java&#45;keyword">for</span> layout areas
>         //&#8230;
> -&#125;</pre></div><p class="paragraph"/>Done! Our template page is ready
> to be used. Now all the pages of our site will be subclasses of this parent
> page and they will inherit the layout and the HTML markup. They will only
> substitute the <code>Label</code> inserted as content area with their
> custom content.<p class="paragraph"/><h3>Final example</h3><p
> class="paragraph"/>As final example we will build the login page for our
> site. We will call it <code>SimpleLoginPage</code>. First, we need a panel
> containing the login form. This will be the content area of our page. We
> will call it <code>LoginFormPanel</code> and the markup is the following:<p
> class="paragraph"/><div class="code"><pre>&#60;html&#62;
> +&#125;</pre></div><p class="paragraph"/>Done! Our template page is ready
> to be used. Now all the pages of our site will be subclasses of this parent
> page and they will inherit the layout and the HTML markup. They will only
> substitute the <code>Label</code> inserted as content area with their
> custom content.<p class="paragraph"/><h3>Final example</h3><p
> class="paragraph"/>As final example we will build the login page for our
> site. We will call it <code>SimpleLoginPage</code>. First, we need a panel
> containing the login form. This will be the content area of our page. We
> will call it <code>LoginPanel</code> and the markup is the following:<p
> class="paragraph"/><div class="code"><pre>&#60;html&#62;
>  &#60;head&#62;
>  &#60;/head&#62;
>  &#60;body&#62;
> @@ -231,7 +233,7 @@ The page class contains the code to phys
>      &#60;/div&#62;
>     &#60;/wicket:panel&#62;
>  &#60;/body&#62;
> -&#60;/html&#62;</pre></div><p class="paragraph"/>The class for this panel
> just extends <code>Panel</code> class so we won't see the relative code.
> The form of this panel is for illustrative purpose only. We will see how to
> work with Wicket forms in chapters <a href="../guide/single.html#chapter10"
> class="guide">10</a> and <a href="../guide/single.html#chapter11"
> class="guide">11</a>. Since this is a login page we don't want it to
> display the left menu area. That's not a big deal as <code>Component</code>
> class exposes a method called <code>setVisible</code> which sets whether
> the component and its children should be displayed.<p
> class="paragraph"/>The resulting Java code for the login page is the
> following:<p class="paragraph"/><div class="code"><pre><span
> class="java&#45;keyword">package</span> helloWorld.layoutTenda;
> +&#60;/html&#62;</pre></div><p class="paragraph"/>The class for this panel
> just extends <code>Panel</code> class so we won't see the relative code.
> The form of this panel is for illustrative purpose only. We will see how to
> work with Wicket forms in chapters <a href="../guide/single.html#chapter10"
> class="guide">11</a> and <a href="../guide/single.html#chapter11"
> class="guide">12</a>. Since this is a login page we don't want it to
> display the left menu area. That's not a big deal as <code>Component</code>
> class exposes a method called <code>setVisible</code> which sets whether
> the component and its children should be displayed.<p
> class="paragraph"/>The resulting Java code for the login page is the
> following:<p class="paragraph"/><div class="code"><pre><span
> class="java&#45;keyword">package</span> helloWorld.layoutTenda;
>  <span class="java&#45;keyword">import</span> helloWorld.LoginPanel;
>  <span class="java&#45;keyword">import</span>
> org.apache.wicket.event.Broadcast;
>  <span class="java&#45;keyword">import</span>
> org.apache.wicket.event.IEventSink;<p class="paragraph"/><span
> class="java&#45;keyword">public</span> class SimpleLoginPage <span
> class="java&#45;keyword">extends</span> JugTemplate &#123;
>
> Modified: wicket/common/site/trunk/_site/guide/guide/single.html
> URL:
> http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/single.html?rev=1553899&r1=1553898&r2=1553899&view=diff
>
> ==============================================================================
> --- wicket/common/site/trunk/_site/guide/guide/single.html (original)
> +++ wicket/common/site/trunk/_site/guide/guide/single.html Sat Dec 28
> 19:46:29 2013
> @@ -724,12 +724,14 @@ Let's go back to our layout example. In
>  &#60;div id=<span class="java&#45;quote">"header"</span> wicket:id=<span
> class="java&#45;quote">"headerPanel"</span>&#62;header&#60;/div&#62;
>  &#60;div id=<span class="java&#45;quote">"body"</span>&#62;
>         &#60;div id=<span class="java&#45;quote">"menu"</span>
> wicket:id=<span
> class="java&#45;quote">"menuPanel"</span>&#62;menu&#60;/div&#62;
> -       &#60;div id=<span class="java&#45;quote">"content"</span>
> wicket:id=<span
> class="java&#45;quote">"content"</span>&#62;content&#60;/div&#62;
> +       &#60;div id=<span class="java&#45;quote">"content"</span>
> wicket:id=<span
> class="java&#45;quote">"contentComponent"</span>&#62;content&#60;/div&#62;
>  &#60;/div&#62;
>  &#60;div id=<span class="java&#45;quote">"footer"</span> wicket:id=<span
> class="java&#45;quote">"footerPanel"</span>&#62;footer&#60;/div&#62;
>  &#60;/body&#62;
>  &#60;/html&#62;</pre></div><p class="paragraph"/>The HTML code for this
> page implements the generic left-menu layout of our site. You can note the
> 4 <code>&#60;div&#62;</code> tags used as containers for the corresponding
> areas.
> -The page class contains the code to physically assemble the page and
> panels:<p class="paragraph"/><div class="code"><pre><span
> class="java&#45;keyword">package</span> helloWorld.layoutTenda;<p
> class="paragraph"/><span class="java&#45;keyword">import</span>
> org.apache.wicket.markup.html.WebPage;<p class="paragraph"/><span
> class="java&#45;keyword">public</span> class JugTemplate <span
> class="java&#45;keyword">extends</span> WebPage &#123;
> +The page class contains the code to physically assemble the page and
> panels:<p class="paragraph"/><div class="code"><pre><span
> class="java&#45;keyword">package</span> helloWorld.layoutTenda;<p
> class="paragraph"/><span class="java&#45;keyword">import</span>
> org.apache.wicket.markup.html.WebPage;
> +<span class="java&#45;keyword">import</span> org.apache.wicket.Component;
> +<span class="java&#45;keyword">import</span>
> org.apache.wicket.markup.html.basic.Label;<p class="paragraph"/><span
> class="java&#45;keyword">public</span> class JugTemplate <span
> class="java&#45;keyword">extends</span> WebPage &#123;
>         <span class="java&#45;keyword">public</span> <span
> class="java&#45;keyword">static</span> <span
> class="java&#45;keyword">final</span> <span
> class="java&#45;object">String</span> CONTENT_ID = <span
> class="java&#45;quote">"contentComponent"</span>;<p class="paragraph"/>
>  <span class="java&#45;keyword">private</span> Component headerPanel;
>         <span class="java&#45;keyword">private</span> Component menuPanel;
>         <span class="java&#45;keyword">private</span> Component
> footerPanel;<p class="paragraph"/>              <span
> class="java&#45;keyword">public</span> JugTemplate()&#123;
> @@ -739,7 +741,7 @@ The page class contains the code to phys
>                 add(<span class="java&#45;keyword">new</span>
> Label(CONTENT_ID, <span class="java&#45;quote">"Put your content
> here"</span>));
>         &#125;<p class="paragraph"/>             //getters <span
> class="java&#45;keyword">for</span> layout areas
>         //&#8230;
> -&#125;</pre></div><p class="paragraph"/>Done! Our template page is ready
> to be used. Now all the pages of our site will be subclasses of this parent
> page and they will inherit the layout and the HTML markup. They will only
> substitute the <code>Label</code> inserted as content area with their
> custom content.<p class="paragraph"/><h3>Final example</h3><p
> class="paragraph"/>As final example we will build the login page for our
> site. We will call it <code>SimpleLoginPage</code>. First, we need a panel
> containing the login form. This will be the content area of our page. We
> will call it <code>LoginFormPanel</code> and the markup is the following:<p
> class="paragraph"/><div class="code"><pre>&#60;html&#62;
> +&#125;</pre></div><p class="paragraph"/>Done! Our template page is ready
> to be used. Now all the pages of our site will be subclasses of this parent
> page and they will inherit the layout and the HTML markup. They will only
> substitute the <code>Label</code> inserted as content area with their
> custom content.<p class="paragraph"/><h3>Final example</h3><p
> class="paragraph"/>As final example we will build the login page for our
> site. We will call it <code>SimpleLoginPage</code>. First, we need a panel
> containing the login form. This will be the content area of our page. We
> will call it <code>LoginPanel</code> and the markup is the following:<p
> class="paragraph"/><div class="code"><pre>&#60;html&#62;
>  &#60;head&#62;
>  &#60;/head&#62;
>  &#60;body&#62;
> @@ -758,7 +760,7 @@ The page class contains the code to phys
>      &#60;/div&#62;
>     &#60;/wicket:panel&#62;
>  &#60;/body&#62;
> -&#60;/html&#62;</pre></div><p class="paragraph"/>The class for this panel
> just extends <code>Panel</code> class so we won't see the relative code.
> The form of this panel is for illustrative purpose only. We will see how to
> work with Wicket forms in chapters <a href="../guide/single.html#chapter10"
> class="guide">10</a> and <a href="../guide/single.html#chapter11"
> class="guide">11</a>. Since this is a login page we don't want it to
> display the left menu area. That's not a big deal as <code>Component</code>
> class exposes a method called <code>setVisible</code> which sets whether
> the component and its children should be displayed.<p
> class="paragraph"/>The resulting Java code for the login page is the
> following:<p class="paragraph"/><div class="code"><pre><span
> class="java&#45;keyword">package</span> helloWorld.layoutTenda;
> +&#60;/html&#62;</pre></div><p class="paragraph"/>The class for this panel
> just extends <code>Panel</code> class so we won't see the relative code.
> The form of this panel is for illustrative purpose only. We will see how to
> work with Wicket forms in chapters <a href="../guide/single.html#chapter10"
> class="guide">11</a> and <a href="../guide/single.html#chapter11"
> class="guide">12</a>. Since this is a login page we don't want it to
> display the left menu area. That's not a big deal as <code>Component</code>
> class exposes a method called <code>setVisible</code> which sets whether
> the component and its children should be displayed.<p
> class="paragraph"/>The resulting Java code for the login page is the
> following:<p class="paragraph"/><div class="code"><pre><span
> class="java&#45;keyword">package</span> helloWorld.layoutTenda;
>  <span class="java&#45;keyword">import</span> helloWorld.LoginPanel;
>  <span class="java&#45;keyword">import</span>
> org.apache.wicket.event.Broadcast;
>  <span class="java&#45;keyword">import</span>
> org.apache.wicket.event.IEventSink;<p class="paragraph"/><span
> class="java&#45;keyword">public</span> class SimpleLoginPage <span
> class="java&#45;keyword">extends</span> JugTemplate &#123;
> @@ -4408,7 +4410,7 @@ Quite a few teams have already got stuck
>  You can contribute to this guide by following these steps:
>  <ul class="star">
>  <li>The guide uses Grails GDoc to generate the final HTML/PDF so you
> should consult with its <a href="http://grails.org/WikiSyntax";
> target="blank">syntax</a>.</li>
> -<li>Checkout Apache Wicket's <a href="
> https://svn.apache.org/repos/asf/wicket/common/site/trunk/_site/";
> target="blank">site</a></li>
> +<li>Checkout Apache Wicket's <a
> href="../ref/Httpssvnapacheorgreposasfwicketcommonsitetrunksite/site.html"
> class="https://svn.apache.org/repos/asf/wicket/common/site/trunk/_site/
> ">site</a></li>
>  </ul><p class="paragraph"/><div class="code"><pre>svn checkout
> https://svn.apache.org/repos/asf/wicket/common/site/trunk/_site/
> </pre></div>
>  <ul class="star">
>  <li>Edit the  <em class="italic">.gdoc</em>  files in  <em
> class="italic">_site/guide/guide/src/docs/guide</em>  folder</li>
> @@ -4426,7 +4428,7 @@ You can contribute to this guide by foll
>  <li>To preview your changes open  <em
> class="italic">_site/guide/index.html</em>  in a browser</li>
>  <li>Create a patch with</li>
>  </ul><p class="paragraph"/><div class="code"><pre>svn diff &#62;
> my.patch</pre></div>
> -and attach it to a ticket in Apache Wicket's <a href="
> https://issues.apache.org/jira/browse/WICKET"; target="blank">JIRA</a><p
> class="paragraph"/><strong class="bold">Thank you!</strong>
> +and attach it to a ticket in Apache Wicket's <a
> href="../ref/Httpsissuesapacheorgjirabrowse WICKET/JIRA.html" class="
> https://issues.apache.org/jira/browse/WICKET";>JIRA</a><p
> class="paragraph"/><strong class="bold">Thank you!</strong>
>
>                      </div>
>                  </td>
>
> Modified: wicket/common/site/trunk/_site/guide/guide/single.pdf
> URL:
> http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/single.pdf?rev=1553899&r1=1553898&r2=1553899&view=diff
>
> ==============================================================================
> Binary files - no diff available.
>
> Modified:
> wicket/common/site/trunk/_site/guide/guide/src/docs/guide/chapter4/chapter4_3.gdoc
> URL:
> http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/src/docs/guide/chapter4/chapter4_3.gdoc?rev=1553899&r1=1553898&r2=1553899&view=diff
>
> ==============================================================================
> ---
> wicket/common/site/trunk/_site/guide/guide/src/docs/guide/chapter4/chapter4_3.gdoc
> (original)
> +++
> wicket/common/site/trunk/_site/guide/guide/src/docs/guide/chapter4/chapter4_3.gdoc
> Sat Dec 28 19:46:29 2013
> @@ -72,7 +72,7 @@ Now we can build a generic template page
>  <div id="header" wicket:id="headerPanel">header</div>
>  <div id="body">
>         <div id="menu" wicket:id="menuPanel">menu</div>
> -       <div id="content" wicket:id="content">content</div>
> +       <div id="content" wicket:id="contentComponent">content</div>
>  </div>
>  <div id="footer" wicket:id="footerPanel">footer</div>
>  </body>
> @@ -86,6 +86,8 @@ The page class contains the code to phys
>  package helloWorld.layoutTenda;
>
>  import org.apache.wicket.markup.html.WebPage;
> +import org.apache.wicket.Component;
> +import org.apache.wicket.markup.html.basic.Label;
>
>  public class JugTemplate extends WebPage {
>         public static final String CONTENT_ID = "contentComponent";
> @@ -110,7 +112,7 @@ Done! Our template page is ready to be u
>
>  h3. Final example
>
> -As final example we will build the login page for our site. We will call
> it @SimpleLoginPage@. First, we need a panel containing the login form.
> This will be the content area of our page. We will call it 
> @LoginFormPanel@and the markup is the following:
> +As final example we will build the login page for our site. We will call
> it @SimpleLoginPage@. First, we need a panel containing the login form.
> This will be the content area of our page. We will call it @LoginPanel@and 
> the markup is the following:
>
>  {code:html}
>  <html>
> @@ -135,7 +137,7 @@ As final example we will build the login
>  </html>
>  {code}
>
> -The class for this panel just extends @Panel@ class so we won't see the
> relative code. The form of this panel is for illustrative purpose only. We
> will see how to work with Wicket forms in chapters [10|guide:chapter10] and
> [11|guide:chapter11]. Since this is a login page we don't want it to
> display the left menu area. That's not a big deal as @Component@ class
> exposes a method called @setVisible@ which sets whether the component and
> its children should be displayed.
> +The class for this panel just extends @Panel@ class so we won't see the
> relative code. The form of this panel is for illustrative purpose only. We
> will see how to work with Wicket forms in chapters [11|guide:chapter10] and
> [12|guide:chapter11]. Since this is a login page we don't want it to
> display the left menu area. That's not a big deal as @Component@ class
> exposes a method called @setVisible@ which sets whether the component and
> its children should be displayed.
>
>  The resulting Java code for the login page is the following:
>
>
>
>

Reply via email to