You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by ad...@apache.org on 2013/10/21 21:49:54 UTC
svn commit: r1534349 [3/5] -
/wicket/common/site/trunk/_site/guide/guide/pages/
Modified: wicket/common/site/trunk/_site/guide/guide/pages/chapter19_2.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/pages/chapter19_2.html?rev=1534349&r1=1534348&r2=1534349&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/guide/pages/chapter19_2.html (original)
+++ wicket/common/site/trunk/_site/guide/guide/pages/chapter19_2.html Mon Oct 21 19:49:52 2013
@@ -113,10 +113,10 @@ function addJsClass() {
<div id="header">
<div class="images clearfix">
- <span id="logo"><a href="/" target="_blank"><img height="80px" src="http://comsysto.github.io/wicket-userguide/img/apache-wicket.png"/></a></span>
+ <span id="logo"><a href="/" target="_blank"><img height="80px" src="http://wicket.apache.org/guide/img/apache-wicket.png"/></a></span>
- <span id="sponsor"><a href="http://www.comsysto.com/" target="_blank"><img height="60px" src="http://comsysto.github.io/wicket-userguide/img/comsysto-logo.png"/></a></span>
+ <span id="sponsor"><a href="http://www.apache.org/" target="_blank"><img height="60px" src="http://www.apache.org/images/asf_logo.gif"/></a></span>
</div>
<p>Free Online Guide for Apache Wicket framework</p>
@@ -181,7 +181,8 @@ function addJsClass() {
<span class="java-keyword">public</span> void init()
{
<span class="java-keyword">super</span>.init();
- getSecuritySettings().setAuthorizationStrategy(myAuthorizationStrategy);
+ getSecuritySettings().
+ setAuthorizationStrategy(myAuthorizationStrategy);
}
//...</pre></div><p class="paragraph"/>If we want to combine the action of two or more authorization strategies we can chain them with strategy CompoundAuthorizationStrategy which implements composite patter for authorization strategies.<p class="paragraph"/>Most of the times we won't need to implement an IAuthorizationStrategy from scratch as Wicket already comes with a set of built-in strategies. In the next paragraphs we will see some of these strategies that can be used to implement an effective and flexible security policy.<p class="paragraph"/><h3>SimplePageAuthorizationStrategy</h3><p class="paragraph"/>Abstract class SimplePageAuthorizationStrategy (in package org.apache.wicket. authorization.strategies.page) is a strategy that checks user authorizations calling abstract method isAuthorized only for those pages that are subclasses of a given supertype. If isAuthorized returns false, the user is redirected to the sign in page specified as second constructor parameter:<p class
="paragraph"/><div class="code"><pre>SimplePageAuthorizationStrategy authorizationStrategy = <span class="java-keyword">new</span> SimplePageAuthorizationStrategy(
PageClassToCheck.class, SignInPage.class)
@@ -243,7 +244,8 @@ Application class AuthenticatedWebApplic
}</pre></div><p class="paragraph"/>The code that instantiates MetaDataRoleAuthorizationStrategy and set it as application's strategy is inside application class method init.<p class="paragraph"/>Any subclass of AbstractRoleAuthorizationStrategyWicket needs an implementation of interface IRoleCheckingStrategy to be instantiated. For this purpose in the code above we used the application class itself because its base class AuthenticatedWebApplication already implements interface IRoleCheckingStrategy. By default AuthenticatedWebApplication checks for authorizations using the roles returned by the current AbstractAuthenticated WebSession. As final step inside init we grant the access to page AdminOnlyPage to ADMIN role calling method authorize.<p class="paragraph"/>The code from session class has three interesting methods. The first is authenticate which considers as valid credentials every pair of username and password having the same value. The second notable method is getRoles
which returns role SIGNED_IN if user is authenticated and it adds role ADMIN if username is equal to superuser. Finally, we have method signOut which has been overridden in order to clean the username field used internally to generate roles.<p class="paragraph"/>Now if we run the project and we try to access to AdminOnlyPage from the home page without having the ADMIN role, we will be redirected to the default access-denied page used by Wicket:<p class="paragraph"/><img border="0" class="center" src="../img/authorization-access-denied.png"></img><p class="paragraph"/>The access-denied page can be customized using method setAccessDeniedPage(Class<? extends Page>) of setting interface IApplicationSettings:<p class="paragraph"/><div class="code"><pre>//Application class code…
@Override
<span class="java-keyword">public</span> void init(){
- getApplicationSettings().setAccessDeniedPage(MyCustomAccessDeniedPage.class);
+ getApplicationSettings().setAccessDeniedPage(
+ MyCustomAccessDeniedPage.class);
}</pre></div><p class="paragraph"/>Just like custom âPage expiredâ page (see chapter 6.2.5), also custom âAccess deniedâ page must be bookmarkable.<p class="paragraph"/><h4>Using roles with annotations</h4><p class="paragraph"/>Strategy AnnotationsRoleAuthorizationStrategy relies on two built-in annotations to handle role-based authorizations. These annotations are AuthorizeInstantiation and Authorize Action. As their names suggest the first annotation specifies which roles are allowed to instantiate the annotated component while the second must be used to indicate which roles are allowed to perform a specific action on the annotated component.<p class="paragraph"/>In the following example we use annotations to make a page accessible only to signed-in users and to enable it only if user has the ADMIN role:<p class="paragraph"/><div class="code"><pre>@AuthorizeInstantiation(<span class="java-quote">"SIGNED_IN"</span>)
@AuthorizeAction(action = <span class="java-quote">"ENABLE"</span>, roles = {<span class="java-quote">"ADMIN"</span>})
<span class="java-keyword">public</span> class MyPage <span class="java-keyword">extends</span> WebPage {
@@ -265,6 +267,7 @@ Application class AuthenticatedWebApplic
}</pre></div><p class="paragraph"/>In addition to interface IRoleCheckingStrategy, class AuthenticatedWebApplication implements also IUnauthorizedComponentInstantiationListener and registers itself as listener for unauthorized instantiations.<p class="paragraph"/>By default AuthenticatedWebApplication redirects users to sign-in page if they are not signed-in and they try to instantiate a restricted component. Otherwise, if users are already signed in but they are not allowed to instantiate a given component, an UnauthorizedInstantiationException will be thrown.<p class="paragraph"/><h3>Strategy RoleAuthorizationStrategy</h3><p class="paragraph"/>Class RoleAuthorizationStrategy is a compound strategy that combines both MetaData RoleAuthorizationStrategy and AnnotationsRoleAuthorizationStrategy.<p class="paragraph"/>This is the strategy used internally by AuthenticatedWebApplication.
+
<div style="clear:both;margin-top:15px;"></div>
<div class="toc-item prev-left"><a href="../../guide/chapter18.html"><< <strong>18</strong><span>Integration with enterprise containers</span></a></div>
@@ -290,17 +293,7 @@ Application class AuthenticatedWebApplic
<div id="footer">
-Copyright © 2013 â <a href="http://www.comsysto.com" target="_blank">comSysto GmbH</a>
-<script>
- (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
- (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
- m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
- })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
-
- ga('create', 'UA-43124634-1', 'comsysto.com');
- ga('send', 'pageview');
-
-</script>
+Copyright © 2013 â <a href="http://www.apache.org/" target="_blank">The Apache Software Foundation</a>
</div>
Modified: wicket/common/site/trunk/_site/guide/guide/pages/chapter19_3.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/pages/chapter19_3.html?rev=1534349&r1=1534348&r2=1534349&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/guide/pages/chapter19_3.html (original)
+++ wicket/common/site/trunk/_site/guide/guide/pages/chapter19_3.html Mon Oct 21 19:49:52 2013
@@ -113,10 +113,10 @@ function addJsClass() {
<div id="header">
<div class="images clearfix">
- <span id="logo"><a href="/" target="_blank"><img height="80px" src="http://comsysto.github.io/wicket-userguide/img/apache-wicket.png"/></a></span>
+ <span id="logo"><a href="/" target="_blank"><img height="80px" src="http://wicket.apache.org/guide/img/apache-wicket.png"/></a></span>
- <span id="sponsor"><a href="http://www.comsysto.com/" target="_blank"><img height="60px" src="http://comsysto.github.io/wicket-userguide/img/comsysto-logo.png"/></a></span>
+ <span id="sponsor"><a href="http://www.apache.org/" target="_blank"><img height="60px" src="http://www.apache.org/images/asf_logo.gif"/></a></span>
</div>
<p>Free Online Guide for Apache Wicket framework</p>
@@ -205,17 +205,7 @@ function addJsClass() {
<div id="footer">
-Copyright © 2013 â <a href="http://www.comsysto.com" target="_blank">comSysto GmbH</a>
-<script>
- (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
- (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
- m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
- })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
-
- ga('create', 'UA-43124634-1', 'comsysto.com');
- ga('send', 'pageview');
-
-</script>
+Copyright © 2013 â <a href="http://www.apache.org/" target="_blank">The Apache Software Foundation</a>
</div>
Modified: wicket/common/site/trunk/_site/guide/guide/pages/chapter19_4.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/pages/chapter19_4.html?rev=1534349&r1=1534348&r2=1534349&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/guide/pages/chapter19_4.html (original)
+++ wicket/common/site/trunk/_site/guide/guide/pages/chapter19_4.html Mon Oct 21 19:49:52 2013
@@ -113,10 +113,10 @@ function addJsClass() {
<div id="header">
<div class="images clearfix">
- <span id="logo"><a href="/" target="_blank"><img height="80px" src="http://comsysto.github.io/wicket-userguide/img/apache-wicket.png"/></a></span>
+ <span id="logo"><a href="/" target="_blank"><img height="80px" src="http://wicket.apache.org/guide/img/apache-wicket.png"/></a></span>
- <span id="sponsor"><a href="http://www.comsysto.com/" target="_blank"><img height="60px" src="http://comsysto.github.io/wicket-userguide/img/comsysto-logo.png"/></a></span>
+ <span id="sponsor"><a href="http://www.apache.org/" target="_blank"><img height="60px" src="http://www.apache.org/images/asf_logo.gif"/></a></span>
</div>
<p>Free Online Guide for Apache Wicket framework</p>
@@ -165,7 +165,7 @@ function addJsClass() {
<span class="java-keyword">public</span> void init()
{
IPackageResourceGuard packageResourceGuard = application.getResourceSettings()
- .getPackageResourceGuard();
+ .getPackageResourceGuard();
<span class="java-keyword">if</span> (packageResourceGuard <span class="java-keyword">instanceof</span> SecurePackageResourceGuard)
{
SecurePackageResourceGuard guard = (SecurePackageResourceGuard) packageResourceGuard;
@@ -175,6 +175,7 @@ function addJsClass() {
}</pre></div>
+
<div style="clear:both;margin-top:15px;"></div>
<div class="toc-item prev-left"><a href="../../guide/chapter18.html"><< <strong>18</strong><span>Integration with enterprise containers</span></a></div>
@@ -200,17 +201,7 @@ function addJsClass() {
<div id="footer">
-Copyright © 2013 â <a href="http://www.comsysto.com" target="_blank">comSysto GmbH</a>
-<script>
- (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
- (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
- m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
- })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
-
- ga('create', 'UA-43124634-1', 'comsysto.com');
- ga('send', 'pageview');
-
-</script>
+Copyright © 2013 â <a href="http://www.apache.org/" target="_blank">The Apache Software Foundation</a>
</div>
Modified: wicket/common/site/trunk/_site/guide/guide/pages/chapter19_5.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/pages/chapter19_5.html?rev=1534349&r1=1534348&r2=1534349&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/guide/pages/chapter19_5.html (original)
+++ wicket/common/site/trunk/_site/guide/guide/pages/chapter19_5.html Mon Oct 21 19:49:52 2013
@@ -113,10 +113,10 @@ function addJsClass() {
<div id="header">
<div class="images clearfix">
- <span id="logo"><a href="/" target="_blank"><img height="80px" src="http://comsysto.github.io/wicket-userguide/img/apache-wicket.png"/></a></span>
+ <span id="logo"><a href="/" target="_blank"><img height="80px" src="http://wicket.apache.org/guide/img/apache-wicket.png"/></a></span>
- <span id="sponsor"><a href="http://www.comsysto.com/" target="_blank"><img height="60px" src="http://comsysto.github.io/wicket-userguide/img/comsysto-logo.png"/></a></span>
+ <span id="sponsor"><a href="http://www.apache.org/" target="_blank"><img height="60px" src="http://www.apache.org/images/asf_logo.gif"/></a></span>
</div>
<p>Free Online Guide for Apache Wicket framework</p>
@@ -182,17 +182,7 @@ function addJsClass() {
<div id="footer">
-Copyright © 2013 â <a href="http://www.comsysto.com" target="_blank">comSysto GmbH</a>
-<script>
- (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
- (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
- m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
- })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
-
- ga('create', 'UA-43124634-1', 'comsysto.com');
- ga('send', 'pageview');
-
-</script>
+Copyright © 2013 â <a href="http://www.apache.org/" target="_blank">The Apache Software Foundation</a>
</div>
Modified: wicket/common/site/trunk/_site/guide/guide/pages/chapter20_1.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/pages/chapter20_1.html?rev=1534349&r1=1534348&r2=1534349&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/guide/pages/chapter20_1.html (original)
+++ wicket/common/site/trunk/_site/guide/guide/pages/chapter20_1.html Mon Oct 21 19:49:52 2013
@@ -113,10 +113,10 @@ function addJsClass() {
<div id="header">
<div class="images clearfix">
- <span id="logo"><a href="/" target="_blank"><img height="80px" src="http://comsysto.github.io/wicket-userguide/img/apache-wicket.png"/></a></span>
+ <span id="logo"><a href="/" target="_blank"><img height="80px" src="http://wicket.apache.org/guide/img/apache-wicket.png"/></a></span>
- <span id="sponsor"><a href="http://www.comsysto.com/" target="_blank"><img height="60px" src="http://comsysto.github.io/wicket-userguide/img/comsysto-logo.png"/></a></span>
+ <span id="sponsor"><a href="http://www.apache.org/" target="_blank"><img height="60px" src="http://www.apache.org/images/asf_logo.gif"/></a></span>
</div>
<p>Free Online Guide for Apache Wicket framework</p>
@@ -211,7 +211,7 @@ tester.clickLink(<span class="java-q
}
//...</pre></div><p class="paragraph"/>If test requires a page we can use startComponentInPage(Component) which automatically generates a page for our component.<p class="paragraph"/><h3>Testing the response</h3><p class="paragraph"/>WicketTester allows us to access to the last response generated during testing with method getLastResponse. The returned value is an instance of class MockHttpServletResponse that provides helper methods to extract informations from mocked request.<p class="paragraph"/>In the test case from project CustomResourceMounting we extract the text contained in the last response with method getDocument and we check if it is equal to the RSS feed used for the test:<p class="paragraph"/><div class="code"><pre>//…
@Test
-<span class="java-keyword">public</span> void testMountedResourceResponse() <span class="java-keyword">throws</span> IOException, FeedException{ tester.startResource(<span class="java-keyword">new</span> RSSProducerResource());
+<span class="java-keyword">public</span> void testMountedResourceResponse() <span class="java-keyword">throws</span> IOException, FeedException{tester.startResource(<span class="java-keyword">new</span> RSSProducerResource());
<span class="java-object">String</span> responseTxt = tester.getLastResponse().getDocument();
//write the RSS feed used in the test into a ByteArrayOutputStream
ByteArrayOutputStream outputStream = <span class="java-keyword">new</span> ByteArrayOutputStream();
@@ -240,7 +240,8 @@ assertFalse(tester.isComponentOnAjaxResp
label.add(<span class="java-keyword">new</span> AjaxEventBehavior(<span class="java-quote">"click"</span>) {<p class="paragraph"/> @Override
<span class="java-keyword">protected</span> void onEvent(AjaxRequestTarget target) {
//change label's data object
- getComponent().setDefaultModelObject(OTHER_VALUE);
+ getComponent().setDefaultModelObject(
+ OTHER_VALUE);
target.add(getComponent());
}
}).setOutputMarkupId(<span class="java-keyword">true</span>);
@@ -257,8 +258,8 @@ assertFalse(tester.isComponentOnAjaxResp
//test <span class="java-keyword">if</span> label has changed as expected
tester.assertLabel(<span class="java-quote">"label"</span>, HomePage.OTHER_VALUE);
}</pre></div><p class="paragraph"/><h3>Testing AJAX behaviors</h3><p class="paragraph"/>To test a generic AJAX behavior we can simulate a request to it using WicketTester's method executeBehavior(AbstractAjaxBehavior behavior):<p class="paragraph"/><div class="code"><pre>//…
-AjaxFormComponentUpdatingBehavior ajaxBehavior = <span class="java-keyword">new</span> AjaxFormComponentUpdatingBehavior
- (<span class="java-quote">"change"</span>){
+AjaxFormComponentUpdatingBehavior ajaxBehavior =
+ <span class="java-keyword">new</span> AjaxFormComponentUpdatingBehavior(<span class="java-quote">"change"</span>){
@Override
<span class="java-keyword">protected</span> void onUpdate(AjaxRequestTarget target) {
//...
@@ -285,6 +286,7 @@ After a test method has been executed, w
</blockquote>
+
<div style="clear:both;margin-top:15px;"></div>
<div class="toc-item prev-left"><a href="../../guide/chapter19.html"><< <strong>19</strong><span>Security with Wicket</span></a></div>
@@ -310,17 +312,7 @@ After a test method has been executed, w
<div id="footer">
-Copyright © 2013 â <a href="http://www.comsysto.com" target="_blank">comSysto GmbH</a>
-<script>
- (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
- (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
- m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
- })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
-
- ga('create', 'UA-43124634-1', 'comsysto.com');
- ga('send', 'pageview');
-
-</script>
+Copyright © 2013 â <a href="http://www.apache.org/" target="_blank">The Apache Software Foundation</a>
</div>
Modified: wicket/common/site/trunk/_site/guide/guide/pages/chapter20_2.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/pages/chapter20_2.html?rev=1534349&r1=1534348&r2=1534349&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/guide/pages/chapter20_2.html (original)
+++ wicket/common/site/trunk/_site/guide/guide/pages/chapter20_2.html Mon Oct 21 19:49:52 2013
@@ -113,10 +113,10 @@ function addJsClass() {
<div id="header">
<div class="images clearfix">
- <span id="logo"><a href="/" target="_blank"><img height="80px" src="http://comsysto.github.io/wicket-userguide/img/apache-wicket.png"/></a></span>
+ <span id="logo"><a href="/" target="_blank"><img height="80px" src="http://wicket.apache.org/guide/img/apache-wicket.png"/></a></span>
- <span id="sponsor"><a href="http://www.comsysto.com/" target="_blank"><img height="60px" src="http://comsysto.github.io/wicket-userguide/img/comsysto-logo.png"/></a></span>
+ <span id="sponsor"><a href="http://www.apache.org/" target="_blank"><img height="60px" src="http://www.apache.org/images/asf_logo.gif"/></a></span>
</div>
<p>Free Online Guide for Apache Wicket framework</p>
@@ -232,17 +232,7 @@ formTester.submit(<span class="java-
<div id="footer">
-Copyright © 2013 â <a href="http://www.comsysto.com" target="_blank">comSysto GmbH</a>
-<script>
- (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
- (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
- m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
- })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
-
- ga('create', 'UA-43124634-1', 'comsysto.com');
- ga('send', 'pageview');
-
-</script>
+Copyright © 2013 â <a href="http://www.apache.org/" target="_blank">The Apache Software Foundation</a>
</div>
Modified: wicket/common/site/trunk/_site/guide/guide/pages/chapter20_3.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/pages/chapter20_3.html?rev=1534349&r1=1534348&r2=1534349&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/guide/pages/chapter20_3.html (original)
+++ wicket/common/site/trunk/_site/guide/guide/pages/chapter20_3.html Mon Oct 21 19:49:52 2013
@@ -113,10 +113,10 @@ function addJsClass() {
<div id="header">
<div class="images clearfix">
- <span id="logo"><a href="/" target="_blank"><img height="80px" src="http://comsysto.github.io/wicket-userguide/img/apache-wicket.png"/></a></span>
+ <span id="logo"><a href="/" target="_blank"><img height="80px" src="http://wicket.apache.org/guide/img/apache-wicket.png"/></a></span>
- <span id="sponsor"><a href="http://www.comsysto.com/" target="_blank"><img height="60px" src="http://comsysto.github.io/wicket-userguide/img/comsysto-logo.png"/></a></span>
+ <span id="sponsor"><a href="http://www.apache.org/" target="_blank"><img height="60px" src="http://www.apache.org/images/asf_logo.gif"/></a></span>
</div>
<p>Free Online Guide for Apache Wicket framework</p>
@@ -170,8 +170,8 @@ function addJsClass() {
tester.startPage(HomePage.class);
//retrieve response's markup
<span class="java-object">String</span> responseTxt = tester.getLastResponse().getDocument();<p class="paragraph"/> TagTester tagTester = TagTester.createTagByAttribute(responseTxt, <span class="java-quote">"class"</span>, <span class="java-quote">"myClass"</span>);<p class="paragraph"/> Assert.assertNotNull(tagTester);
- Assert.assertEquals(<span class="java-quote">"span"</span>, tagTester.getName());<p class="paragraph"/> List<TagTester> tagTesterList = TagTester.createTagsByAttribute(responseTxt, <span class="java-quote">"class"</span>,
- <span class="java-quote">"myClass"</span>, <span class="java-keyword">false</span>);<p class="paragraph"/> Assert.assertEquals(2, tagTesterList.size());
+ Assert.assertEquals(<span class="java-quote">"span"</span>, tagTester.getName());<p class="paragraph"/> List<TagTester> tagTesterList = TagTester.createTagsByAttribute(responseTxt,
+ <span class="java-quote">"class"</span>, <span class="java-quote">"myClass"</span>, <span class="java-keyword">false</span>);<p class="paragraph"/> Assert.assertEquals(2, tagTesterList.size());
}</pre></div><p class="paragraph"/>The name of the tag found by TagTester can be retrieved with its method getName. Method createTagsByAttribute returns all the tags that have the given value on the given attribute. In the code above we have used this method to test that our markup contains two tags having attribute class equal to myClass.
@@ -201,17 +201,7 @@ function addJsClass() {
<div id="footer">
-Copyright © 2013 â <a href="http://www.comsysto.com" target="_blank">comSysto GmbH</a>
-<script>
- (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
- (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
- m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
- })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
-
- ga('create', 'UA-43124634-1', 'comsysto.com');
- ga('send', 'pageview');
-
-</script>
+Copyright © 2013 â <a href="http://www.apache.org/" target="_blank">The Apache Software Foundation</a>
</div>
Modified: wicket/common/site/trunk/_site/guide/guide/pages/chapter20_4.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/pages/chapter20_4.html?rev=1534349&r1=1534348&r2=1534349&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/guide/pages/chapter20_4.html (original)
+++ wicket/common/site/trunk/_site/guide/guide/pages/chapter20_4.html Mon Oct 21 19:49:52 2013
@@ -113,10 +113,10 @@ function addJsClass() {
<div id="header">
<div class="images clearfix">
- <span id="logo"><a href="/" target="_blank"><img height="80px" src="http://comsysto.github.io/wicket-userguide/img/apache-wicket.png"/></a></span>
+ <span id="logo"><a href="/" target="_blank"><img height="80px" src="http://wicket.apache.org/guide/img/apache-wicket.png"/></a></span>
- <span id="sponsor"><a href="http://www.comsysto.com/" target="_blank"><img height="60px" src="http://comsysto.github.io/wicket-userguide/img/comsysto-logo.png"/></a></span>
+ <span id="sponsor"><a href="http://www.apache.org/" target="_blank"><img height="60px" src="http://www.apache.org/images/asf_logo.gif"/></a></span>
</div>
<p>Free Online Guide for Apache Wicket framework</p>
@@ -182,17 +182,7 @@ function addJsClass() {
<div id="footer">
-Copyright © 2013 â <a href="http://www.comsysto.com" target="_blank">comSysto GmbH</a>
-<script>
- (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
- (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
- m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
- })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
-
- ga('create', 'UA-43124634-1', 'comsysto.com');
- ga('send', 'pageview');
-
-</script>
+Copyright © 2013 â <a href="http://www.apache.org/" target="_blank">The Apache Software Foundation</a>
</div>
Modified: wicket/common/site/trunk/_site/guide/guide/pages/chapter21_1.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/pages/chapter21_1.html?rev=1534349&r1=1534348&r2=1534349&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/guide/pages/chapter21_1.html (original)
+++ wicket/common/site/trunk/_site/guide/guide/pages/chapter21_1.html Mon Oct 21 19:49:52 2013
@@ -113,10 +113,10 @@ function addJsClass() {
<div id="header">
<div class="images clearfix">
- <span id="logo"><a href="/" target="_blank"><img height="80px" src="http://comsysto.github.io/wicket-userguide/img/apache-wicket.png"/></a></span>
+ <span id="logo"><a href="/" target="_blank"><img height="80px" src="http://wicket.apache.org/guide/img/apache-wicket.png"/></a></span>
- <span id="sponsor"><a href="http://www.comsysto.com/" target="_blank"><img height="60px" src="http://comsysto.github.io/wicket-userguide/img/comsysto-logo.png"/></a></span>
+ <span id="sponsor"><a href="http://www.apache.org/" target="_blank"><img height="60px" src="http://www.apache.org/images/asf_logo.gif"/></a></span>
</div>
<p>Free Online Guide for Apache Wicket framework</p>
@@ -226,17 +226,7 @@ function addJsClass() {
<div id="footer">
-Copyright © 2013 â <a href="http://www.comsysto.com" target="_blank">comSysto GmbH</a>
-<script>
- (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
- (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
- m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
- })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
-
- ga('create', 'UA-43124634-1', 'comsysto.com');
- ga('send', 'pageview');
-
-</script>
+Copyright © 2013 â <a href="http://www.apache.org/" target="_blank">The Apache Software Foundation</a>
</div>
Modified: wicket/common/site/trunk/_site/guide/guide/pages/chapter21_2.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/pages/chapter21_2.html?rev=1534349&r1=1534348&r2=1534349&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/guide/pages/chapter21_2.html (original)
+++ wicket/common/site/trunk/_site/guide/guide/pages/chapter21_2.html Mon Oct 21 19:49:52 2013
@@ -113,10 +113,10 @@ function addJsClass() {
<div id="header">
<div class="images clearfix">
- <span id="logo"><a href="/" target="_blank"><img height="80px" src="http://comsysto.github.io/wicket-userguide/img/apache-wicket.png"/></a></span>
+ <span id="logo"><a href="/" target="_blank"><img height="80px" src="http://wicket.apache.org/guide/img/apache-wicket.png"/></a></span>
- <span id="sponsor"><a href="http://www.comsysto.com/" target="_blank"><img height="60px" src="http://comsysto.github.io/wicket-userguide/img/comsysto-logo.png"/></a></span>
+ <span id="sponsor"><a href="http://www.apache.org/" target="_blank"><img height="60px" src="http://www.apache.org/images/asf_logo.gif"/></a></span>
</div>
<p>Free Online Guide for Apache Wicket framework</p>
@@ -171,15 +171,24 @@ function addJsClass() {
tester.assertComponent(<span class="java-quote">"login"</span>, LoginComponent.class);
}
}</pre></div><p class="paragraph"/>By defining three annotations on the class level (see code snippet above) in your test, Spring's TestContext framework takes care of preparing and initializing an ApplicationContext instance having all the beans defined in the according Spring context file as well as the transaction management in case your integration test includes some kind of database access. Fields marked with <code>@Autowired</code> annotation will be automatically dependency injected as well so that you can easily access and use these for your testing purposes. Since MyWebApplication, which extends Wicket's WebApplication type and represents the main class of our web application, is also a bean within the ApplicationContext managed by Spring, it will also be provided to us by the test framework itself and can be easily used in order to initialize a WicketTester instance later on during the execution of the test's setUp() method. With this kind of simple, annotation ba
sed test configuration we are able to run an integration test that verifies whether a LoginPage gets started and initialized, whether the rendering of the page runs smoothly and whether the page itself contains a LoginComponent that we possibly need in order to process user's login successfully.<p class="paragraph"/>When you run this test though, you'll unfortunately get the following exception raised:<p class="paragraph"/><div class="code"><pre>java.lang.IllegalStateException: No WebApplicationContext found: no ContextLoaderListener registered?
- at org.springframework.web.context.support.WebApplicationContextUtils.getRequiredWebApplicationContext(WebApplicationContextUtils.java:84)
- at org.apache.wicket.spring.injection.annot.SpringComponentInjector.<init>(SpringComponentInjector.java:72)
- at com.comsysto.serviceplatform.uiwebapp.MyWebApplication.initializeSpringComponentInjector(MyWebApplication.java:59)
- at com.comsysto.serviceplatform.uiwebapp.MyWebApplication.init(MyWebApplication.java:49)
- at org.apache.wicket.protocol.http.WicketFilter.init(WicketFilter.java:719)
- at org.apache.wicket.protocol.http.MockWebApplication.<init>(MockWebApplication.java:168)
- at org.apache.wicket.util.tester.BaseWicketTester.<init>(BaseWicketTester.java:219)
- at org.apache.wicket.util.tester.WicketTester.<init>(WicketTester.java:325)
- at org.apache.wicket.util.tester.WicketTester.<init>(WicketTester.java:308)</pre></div><p class="paragraph"/>As you can see above, the Exception gets raised during the initialization of the WicketTester instance even before the actual test method gets executed. Even though we have applied rather cool and simple annotation based test configuration already described and passed in perfectly well prepared ApplicationContext instance to the WicketTester instance in the constructor, somewhere down the rabbit hole someone complained that no WebApplicationContext instance could have been found which seems to be required in order to initialize the WicketTester properly.<p class="paragraph"/><img border="0" class="center" src="../img/description-of-illegalstate.jpg"></img><p class="paragraph"/>The problem that we run against here is due to the fact that SpringComponentInjector during its own initialization is trying to get hold of an according Spring's ApplicationContext instance tha
t would normally be there in a runtime environment but does not find any since we are running in a test environment currently. SpringComponentInjector delegates to Spring's own WebApplicationContextUtils class to retrieve the instance of ApplicationContext out of the ServletContext which is perfectly fine for a runtime environment but is unfortunately failing in a test environment:<p class="paragraph"/><div class="code"><pre><span class="java-keyword">public</span> <span class="java-keyword">static</span> WebApplicationContext getRequiredWebApplicationContext(ServletContext sc)
+ at org.springframework.web.context.support.WebApplicationContextUtils.
+ getRequiredWebApplicationContext(WebApplicationContextUtils.java:84)
+ at org.apache.wicket.spring.injection.annot.
+ SpringComponentInjector.<init>(SpringComponentInjector.java:72)
+ at com.comsysto.serviceplatform.uiwebapp.MyWebApplication.
+ initializeSpringComponentInjector(MyWebApplication.java:59)
+ at com.comsysto.serviceplatform.uiwebapp.MyWebApplication.
+ init(MyWebApplication.java:49)
+ at org.apache.wicket.protocol.http.WicketFilter.
+ init(WicketFilter.java:719)
+ at org.apache.wicket.protocol.http.MockWebApplication.
+ <init>(MockWebApplication.java:168)
+ at org.apache.wicket.util.tester.BaseWicketTester.
+ <init>(BaseWicketTester.java:219)
+ at org.apache.wicket.util.tester.WicketTester.
+ <init>(WicketTester.java:325)
+ at org.apache.wicket.util.tester.WicketTester.
+ <init>(WicketTester.java:308)</pre></div><p class="paragraph"/>As you can see above, the Exception gets raised during the initialization of the WicketTester instance even before the actual test method gets executed. Even though we have applied rather cool and simple annotation based test configuration already described and passed in perfectly well prepared ApplicationContext instance to the WicketTester instance in the constructor, somewhere down the rabbit hole someone complained that no WebApplicationContext instance could have been found which seems to be required in order to initialize the WicketTester properly.<p class="paragraph"/><img border="0" class="center" src="../img/description-of-illegalstate.jpg"></img><p class="paragraph"/>The problem that we run against here is due to the fact that SpringComponentInjector during its own initialization is trying to get hold of an according Spring's ApplicationContext instance that would normally be there in a runtime environ
ment but does not find any since we are running in a test environment currently. SpringComponentInjector delegates to Spring's own WebApplicationContextUtils class to retrieve the instance of ApplicationContext out of the ServletContext which is perfectly fine for a runtime environment but is unfortunately failing in a test environment:<p class="paragraph"/><div class="code"><pre><span class="java-keyword">public</span> <span class="java-keyword">static</span> WebApplicationContext getRequiredWebApplicationContext(ServletContext sc)
<span class="java-keyword">throws</span> IllegalStateException {<p class="paragraph"/> WebApplicationContext wac = getWebApplicationContext(sc);
<span class="java-keyword">if</span> (wac == <span class="java-keyword">null</span>) {
<span class="java-keyword">throw</span> <span class="java-keyword">new</span> IllegalStateException(<span class="java-quote">"No WebApplicationContext found: no ContextLoaderListener registered?"</span>);
@@ -208,6 +217,7 @@ function addJsClass() {
}</pre></div><p class="paragraph"/>For additional clarification of how <code>MyWebApplication</code> now relates to both Wicket and Spring framework here is an according class diagram:<p class="paragraph"/><img border="0" class="center" src="../img/mywebapp-class-diagramm.jpg"></img>
+
<div style="clear:both;margin-top:15px;"></div>
<div class="toc-item prev-left"><a href="../../guide/chapter20.html"><< <strong>20</strong><span>Test Driven Development with Wicket</span></a></div>
@@ -233,17 +243,7 @@ function addJsClass() {
<div id="footer">
-Copyright © 2013 â <a href="http://www.comsysto.com" target="_blank">comSysto GmbH</a>
-<script>
- (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
- (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
- m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
- })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
-
- ga('create', 'UA-43124634-1', 'comsysto.com');
- ga('send', 'pageview');
-
-</script>
+Copyright © 2013 â <a href="http://www.apache.org/" target="_blank">The Apache Software Foundation</a>
</div>
Modified: wicket/common/site/trunk/_site/guide/guide/pages/chapter21_3.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/pages/chapter21_3.html?rev=1534349&r1=1534348&r2=1534349&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/guide/pages/chapter21_3.html (original)
+++ wicket/common/site/trunk/_site/guide/guide/pages/chapter21_3.html Mon Oct 21 19:49:52 2013
@@ -113,10 +113,10 @@ function addJsClass() {
<div id="header">
<div class="images clearfix">
- <span id="logo"><a href="/" target="_blank"><img height="80px" src="http://comsysto.github.io/wicket-userguide/img/apache-wicket.png"/></a></span>
+ <span id="logo"><a href="/" target="_blank"><img height="80px" src="http://wicket.apache.org/guide/img/apache-wicket.png"/></a></span>
- <span id="sponsor"><a href="http://www.comsysto.com/" target="_blank"><img height="60px" src="http://comsysto.github.io/wicket-userguide/img/comsysto-logo.png"/></a></span>
+ <span id="sponsor"><a href="http://www.apache.org/" target="_blank"><img height="60px" src="http://www.apache.org/images/asf_logo.gif"/></a></span>
</div>
<p>Free Online Guide for Apache Wicket framework</p>
@@ -182,17 +182,7 @@ function addJsClass() {
<div id="footer">
-Copyright © 2013 â <a href="http://www.comsysto.com" target="_blank">comSysto GmbH</a>
-<script>
- (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
- (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
- m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
- })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
-
- ga('create', 'UA-43124634-1', 'comsysto.com');
- ga('send', 'pageview');
-
-</script>
+Copyright © 2013 â <a href="http://www.apache.org/" target="_blank">The Apache Software Foundation</a>
</div>
Modified: wicket/common/site/trunk/_site/guide/guide/pages/chapter22_1.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/pages/chapter22_1.html?rev=1534349&r1=1534348&r2=1534349&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/guide/pages/chapter22_1.html (original)
+++ wicket/common/site/trunk/_site/guide/guide/pages/chapter22_1.html Mon Oct 21 19:49:52 2013
@@ -113,10 +113,10 @@ function addJsClass() {
<div id="header">
<div class="images clearfix">
- <span id="logo"><a href="/" target="_blank"><img height="80px" src="http://comsysto.github.io/wicket-userguide/img/apache-wicket.png"/></a></span>
+ <span id="logo"><a href="/" target="_blank"><img height="80px" src="http://wicket.apache.org/guide/img/apache-wicket.png"/></a></span>
- <span id="sponsor"><a href="http://www.comsysto.com/" target="_blank"><img height="60px" src="http://comsysto.github.io/wicket-userguide/img/comsysto-logo.png"/></a></span>
+ <span id="sponsor"><a href="http://www.apache.org/" target="_blank"><img height="60px" src="http://www.apache.org/images/asf_logo.gif"/></a></span>
</div>
<p>Free Online Guide for Apache Wicket framework</p>
@@ -254,17 +254,7 @@ function addJsClass() {
<div id="footer">
-Copyright © 2013 â <a href="http://www.comsysto.com" target="_blank">comSysto GmbH</a>
-<script>
- (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
- (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
- m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
- })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
-
- ga('create', 'UA-43124634-1', 'comsysto.com');
- ga('send', 'pageview');
-
-</script>
+Copyright © 2013 â <a href="http://www.apache.org/" target="_blank">The Apache Software Foundation</a>
</div>
Modified: wicket/common/site/trunk/_site/guide/guide/pages/chapter22_10.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/pages/chapter22_10.html?rev=1534349&r1=1534348&r2=1534349&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/guide/pages/chapter22_10.html (original)
+++ wicket/common/site/trunk/_site/guide/guide/pages/chapter22_10.html Mon Oct 21 19:49:52 2013
@@ -113,10 +113,10 @@ function addJsClass() {
<div id="header">
<div class="images clearfix">
- <span id="logo"><a href="/" target="_blank"><img height="80px" src="http://comsysto.github.io/wicket-userguide/img/apache-wicket.png"/></a></span>
+ <span id="logo"><a href="/" target="_blank"><img height="80px" src="http://wicket.apache.org/guide/img/apache-wicket.png"/></a></span>
- <span id="sponsor"><a href="http://www.comsysto.com/" target="_blank"><img height="60px" src="http://comsysto.github.io/wicket-userguide/img/comsysto-logo.png"/></a></span>
+ <span id="sponsor"><a href="http://www.apache.org/" target="_blank"><img height="60px" src="http://www.apache.org/images/asf_logo.gif"/></a></span>
</div>
<p>Free Online Guide for Apache Wicket framework</p>
@@ -221,17 +221,7 @@ add(settings);</pre></div><p class="para
<div id="footer">
-Copyright © 2013 â <a href="http://www.comsysto.com" target="_blank">comSysto GmbH</a>
-<script>
- (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
- (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
- m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
- })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
-
- ga('create', 'UA-43124634-1', 'comsysto.com');
- ga('send', 'pageview');
-
-</script>
+Copyright © 2013 â <a href="http://www.apache.org/" target="_blank">The Apache Software Foundation</a>
</div>
Modified: wicket/common/site/trunk/_site/guide/guide/pages/chapter22_11.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/pages/chapter22_11.html?rev=1534349&r1=1534348&r2=1534349&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/guide/pages/chapter22_11.html (original)
+++ wicket/common/site/trunk/_site/guide/guide/pages/chapter22_11.html Mon Oct 21 19:49:52 2013
@@ -113,10 +113,10 @@ function addJsClass() {
<div id="header">
<div class="images clearfix">
- <span id="logo"><a href="/" target="_blank"><img height="80px" src="http://comsysto.github.io/wicket-userguide/img/apache-wicket.png"/></a></span>
+ <span id="logo"><a href="/" target="_blank"><img height="80px" src="http://wicket.apache.org/guide/img/apache-wicket.png"/></a></span>
- <span id="sponsor"><a href="http://www.comsysto.com/" target="_blank"><img height="60px" src="http://comsysto.github.io/wicket-userguide/img/comsysto-logo.png"/></a></span>
+ <span id="sponsor"><a href="http://www.apache.org/" target="_blank"><img height="60px" src="http://www.apache.org/images/asf_logo.gif"/></a></span>
</div>
<p>Free Online Guide for Apache Wicket framework</p>
@@ -193,17 +193,7 @@ function addJsClass() {
<div id="footer">
-Copyright © 2013 â <a href="http://www.comsysto.com" target="_blank">comSysto GmbH</a>
-<script>
- (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
- (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
- m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
- })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
-
- ga('create', 'UA-43124634-1', 'comsysto.com');
- ga('send', 'pageview');
-
-</script>
+Copyright © 2013 â <a href="http://www.apache.org/" target="_blank">The Apache Software Foundation</a>
</div>
Modified: wicket/common/site/trunk/_site/guide/guide/pages/chapter22_12.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/pages/chapter22_12.html?rev=1534349&r1=1534348&r2=1534349&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/guide/pages/chapter22_12.html (original)
+++ wicket/common/site/trunk/_site/guide/guide/pages/chapter22_12.html Mon Oct 21 19:49:52 2013
@@ -113,10 +113,10 @@ function addJsClass() {
<div id="header">
<div class="images clearfix">
- <span id="logo"><a href="/" target="_blank"><img height="80px" src="http://comsysto.github.io/wicket-userguide/img/apache-wicket.png"/></a></span>
+ <span id="logo"><a href="/" target="_blank"><img height="80px" src="http://wicket.apache.org/guide/img/apache-wicket.png"/></a></span>
- <span id="sponsor"><a href="http://www.comsysto.com/" target="_blank"><img height="60px" src="http://comsysto.github.io/wicket-userguide/img/comsysto-logo.png"/></a></span>
+ <span id="sponsor"><a href="http://www.apache.org/" target="_blank"><img height="60px" src="http://www.apache.org/images/asf_logo.gif"/></a></span>
</div>
<p>Free Online Guide for Apache Wicket framework</p>
@@ -222,17 +222,7 @@ function addJsClass() {
<div id="footer">
-Copyright © 2013 â <a href="http://www.comsysto.com" target="_blank">comSysto GmbH</a>
-<script>
- (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
- (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
- m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
- })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
-
- ga('create', 'UA-43124634-1', 'comsysto.com');
- ga('send', 'pageview');
-
-</script>
+Copyright © 2013 â <a href="http://www.apache.org/" target="_blank">The Apache Software Foundation</a>
</div>
Modified: wicket/common/site/trunk/_site/guide/guide/pages/chapter22_13.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/pages/chapter22_13.html?rev=1534349&r1=1534348&r2=1534349&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/guide/pages/chapter22_13.html (original)
+++ wicket/common/site/trunk/_site/guide/guide/pages/chapter22_13.html Mon Oct 21 19:49:52 2013
@@ -113,10 +113,10 @@ function addJsClass() {
<div id="header">
<div class="images clearfix">
- <span id="logo"><a href="/" target="_blank"><img height="80px" src="http://comsysto.github.io/wicket-userguide/img/apache-wicket.png"/></a></span>
+ <span id="logo"><a href="/" target="_blank"><img height="80px" src="http://wicket.apache.org/guide/img/apache-wicket.png"/></a></span>
- <span id="sponsor"><a href="http://www.comsysto.com/" target="_blank"><img height="60px" src="http://comsysto.github.io/wicket-userguide/img/comsysto-logo.png"/></a></span>
+ <span id="sponsor"><a href="http://www.apache.org/" target="_blank"><img height="60px" src="http://www.apache.org/images/asf_logo.gif"/></a></span>
</div>
<p>Free Online Guide for Apache Wicket framework</p>
@@ -182,17 +182,7 @@ function addJsClass() {
<div id="footer">
-Copyright © 2013 â <a href="http://www.comsysto.com" target="_blank">comSysto GmbH</a>
-<script>
- (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
- (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
- m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
- })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
-
- ga('create', 'UA-43124634-1', 'comsysto.com');
- ga('send', 'pageview');
-
-</script>
+Copyright © 2013 â <a href="http://www.apache.org/" target="_blank">The Apache Software Foundation</a>
</div>
Modified: wicket/common/site/trunk/_site/guide/guide/pages/chapter22_14.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/pages/chapter22_14.html?rev=1534349&r1=1534348&r2=1534349&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/guide/pages/chapter22_14.html (original)
+++ wicket/common/site/trunk/_site/guide/guide/pages/chapter22_14.html Mon Oct 21 19:49:52 2013
@@ -113,10 +113,10 @@ function addJsClass() {
<div id="header">
<div class="images clearfix">
- <span id="logo"><a href="/" target="_blank"><img height="80px" src="http://comsysto.github.io/wicket-userguide/img/apache-wicket.png"/></a></span>
+ <span id="logo"><a href="/" target="_blank"><img height="80px" src="http://wicket.apache.org/guide/img/apache-wicket.png"/></a></span>
- <span id="sponsor"><a href="http://www.comsysto.com/" target="_blank"><img height="60px" src="http://comsysto.github.io/wicket-userguide/img/comsysto-logo.png"/></a></span>
+ <span id="sponsor"><a href="http://www.apache.org/" target="_blank"><img height="60px" src="http://www.apache.org/images/asf_logo.gif"/></a></span>
</div>
<p>Free Online Guide for Apache Wicket framework</p>
@@ -183,17 +183,7 @@ function addJsClass() {
<div id="footer">
-Copyright © 2013 â <a href="http://www.comsysto.com" target="_blank">comSysto GmbH</a>
-<script>
- (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
- (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
- m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
- })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
-
- ga('create', 'UA-43124634-1', 'comsysto.com');
- ga('send', 'pageview');
-
-</script>
+Copyright © 2013 â <a href="http://www.apache.org/" target="_blank">The Apache Software Foundation</a>
</div>
Modified: wicket/common/site/trunk/_site/guide/guide/pages/chapter22_15.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/pages/chapter22_15.html?rev=1534349&r1=1534348&r2=1534349&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/guide/pages/chapter22_15.html (original)
+++ wicket/common/site/trunk/_site/guide/guide/pages/chapter22_15.html Mon Oct 21 19:49:52 2013
@@ -113,10 +113,10 @@ function addJsClass() {
<div id="header">
<div class="images clearfix">
- <span id="logo"><a href="/" target="_blank"><img height="80px" src="http://comsysto.github.io/wicket-userguide/img/apache-wicket.png"/></a></span>
+ <span id="logo"><a href="/" target="_blank"><img height="80px" src="http://wicket.apache.org/guide/img/apache-wicket.png"/></a></span>
- <span id="sponsor"><a href="http://www.comsysto.com/" target="_blank"><img height="60px" src="http://comsysto.github.io/wicket-userguide/img/comsysto-logo.png"/></a></span>
+ <span id="sponsor"><a href="http://www.apache.org/" target="_blank"><img height="60px" src="http://www.apache.org/images/asf_logo.gif"/></a></span>
</div>
<p>Free Online Guide for Apache Wicket framework</p>
@@ -197,17 +197,7 @@ function addJsClass() {
<div id="footer">
-Copyright © 2013 â <a href="http://www.comsysto.com" target="_blank">comSysto GmbH</a>
-<script>
- (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
- (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
- m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
- })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
-
- ga('create', 'UA-43124634-1', 'comsysto.com');
- ga('send', 'pageview');
-
-</script>
+Copyright © 2013 â <a href="http://www.apache.org/" target="_blank">The Apache Software Foundation</a>
</div>
Modified: wicket/common/site/trunk/_site/guide/guide/pages/chapter22_16.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/pages/chapter22_16.html?rev=1534349&r1=1534348&r2=1534349&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/guide/pages/chapter22_16.html (original)
+++ wicket/common/site/trunk/_site/guide/guide/pages/chapter22_16.html Mon Oct 21 19:49:52 2013
@@ -113,10 +113,10 @@ function addJsClass() {
<div id="header">
<div class="images clearfix">
- <span id="logo"><a href="/" target="_blank"><img height="80px" src="http://comsysto.github.io/wicket-userguide/img/apache-wicket.png"/></a></span>
+ <span id="logo"><a href="/" target="_blank"><img height="80px" src="http://wicket.apache.org/guide/img/apache-wicket.png"/></a></span>
- <span id="sponsor"><a href="http://www.comsysto.com/" target="_blank"><img height="60px" src="http://comsysto.github.io/wicket-userguide/img/comsysto-logo.png"/></a></span>
+ <span id="sponsor"><a href="http://www.apache.org/" target="_blank"><img height="60px" src="http://www.apache.org/images/asf_logo.gif"/></a></span>
</div>
<p>Free Online Guide for Apache Wicket framework</p>
@@ -182,17 +182,7 @@ function addJsClass() {
<div id="footer">
-Copyright © 2013 â <a href="http://www.comsysto.com" target="_blank">comSysto GmbH</a>
-<script>
- (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
- (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
- m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
- })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
-
- ga('create', 'UA-43124634-1', 'comsysto.com');
- ga('send', 'pageview');
-
-</script>
+Copyright © 2013 â <a href="http://www.apache.org/" target="_blank">The Apache Software Foundation</a>
</div>
Modified: wicket/common/site/trunk/_site/guide/guide/pages/chapter22_17.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/pages/chapter22_17.html?rev=1534349&r1=1534348&r2=1534349&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/guide/pages/chapter22_17.html (original)
+++ wicket/common/site/trunk/_site/guide/guide/pages/chapter22_17.html Mon Oct 21 19:49:52 2013
@@ -113,10 +113,10 @@ function addJsClass() {
<div id="header">
<div class="images clearfix">
- <span id="logo"><a href="/" target="_blank"><img height="80px" src="http://comsysto.github.io/wicket-userguide/img/apache-wicket.png"/></a></span>
+ <span id="logo"><a href="/" target="_blank"><img height="80px" src="http://wicket.apache.org/guide/img/apache-wicket.png"/></a></span>
- <span id="sponsor"><a href="http://www.comsysto.com/" target="_blank"><img height="60px" src="http://comsysto.github.io/wicket-userguide/img/comsysto-logo.png"/></a></span>
+ <span id="sponsor"><a href="http://www.apache.org/" target="_blank"><img height="60px" src="http://www.apache.org/images/asf_logo.gif"/></a></span>
</div>
<p>Free Online Guide for Apache Wicket framework</p>
@@ -182,17 +182,7 @@ function addJsClass() {
<div id="footer">
-Copyright © 2013 â <a href="http://www.comsysto.com" target="_blank">comSysto GmbH</a>
-<script>
- (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
- (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
- m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
- })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
-
- ga('create', 'UA-43124634-1', 'comsysto.com');
- ga('send', 'pageview');
-
-</script>
+Copyright © 2013 â <a href="http://www.apache.org/" target="_blank">The Apache Software Foundation</a>
</div>
Modified: wicket/common/site/trunk/_site/guide/guide/pages/chapter22_2.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/pages/chapter22_2.html?rev=1534349&r1=1534348&r2=1534349&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/guide/pages/chapter22_2.html (original)
+++ wicket/common/site/trunk/_site/guide/guide/pages/chapter22_2.html Mon Oct 21 19:49:52 2013
@@ -113,10 +113,10 @@ function addJsClass() {
<div id="header">
<div class="images clearfix">
- <span id="logo"><a href="/" target="_blank"><img height="80px" src="http://comsysto.github.io/wicket-userguide/img/apache-wicket.png"/></a></span>
+ <span id="logo"><a href="/" target="_blank"><img height="80px" src="http://wicket.apache.org/guide/img/apache-wicket.png"/></a></span>
- <span id="sponsor"><a href="http://www.comsysto.com/" target="_blank"><img height="60px" src="http://comsysto.github.io/wicket-userguide/img/comsysto-logo.png"/></a></span>
+ <span id="sponsor"><a href="http://www.apache.org/" target="_blank"><img height="60px" src="http://www.apache.org/images/asf_logo.gif"/></a></span>
</div>
<p>Free Online Guide for Apache Wicket framework</p>
@@ -182,17 +182,7 @@ function addJsClass() {
<div id="footer">
-Copyright © 2013 â <a href="http://www.comsysto.com" target="_blank">comSysto GmbH</a>
-<script>
- (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
- (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
- m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
- })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
-
- ga('create', 'UA-43124634-1', 'comsysto.com');
- ga('send', 'pageview');
-
-</script>
+Copyright © 2013 â <a href="http://www.apache.org/" target="_blank">The Apache Software Foundation</a>
</div>
Modified: wicket/common/site/trunk/_site/guide/guide/pages/chapter22_3.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/pages/chapter22_3.html?rev=1534349&r1=1534348&r2=1534349&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/guide/pages/chapter22_3.html (original)
+++ wicket/common/site/trunk/_site/guide/guide/pages/chapter22_3.html Mon Oct 21 19:49:52 2013
@@ -113,10 +113,10 @@ function addJsClass() {
<div id="header">
<div class="images clearfix">
- <span id="logo"><a href="/" target="_blank"><img height="80px" src="http://comsysto.github.io/wicket-userguide/img/apache-wicket.png"/></a></span>
+ <span id="logo"><a href="/" target="_blank"><img height="80px" src="http://wicket.apache.org/guide/img/apache-wicket.png"/></a></span>
- <span id="sponsor"><a href="http://www.comsysto.com/" target="_blank"><img height="60px" src="http://comsysto.github.io/wicket-userguide/img/comsysto-logo.png"/></a></span>
+ <span id="sponsor"><a href="http://www.apache.org/" target="_blank"><img height="60px" src="http://www.apache.org/images/asf_logo.gif"/></a></span>
</div>
<p>Free Online Guide for Apache Wicket framework</p>
@@ -182,17 +182,7 @@ function addJsClass() {
<div id="footer">
-Copyright © 2013 â <a href="http://www.comsysto.com" target="_blank">comSysto GmbH</a>
-<script>
- (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
- (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
- m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
- })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
-
- ga('create', 'UA-43124634-1', 'comsysto.com');
- ga('send', 'pageview');
-
-</script>
+Copyright © 2013 â <a href="http://www.apache.org/" target="_blank">The Apache Software Foundation</a>
</div>
Modified: wicket/common/site/trunk/_site/guide/guide/pages/chapter22_4.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/pages/chapter22_4.html?rev=1534349&r1=1534348&r2=1534349&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/guide/pages/chapter22_4.html (original)
+++ wicket/common/site/trunk/_site/guide/guide/pages/chapter22_4.html Mon Oct 21 19:49:52 2013
@@ -113,10 +113,10 @@ function addJsClass() {
<div id="header">
<div class="images clearfix">
- <span id="logo"><a href="/" target="_blank"><img height="80px" src="http://comsysto.github.io/wicket-userguide/img/apache-wicket.png"/></a></span>
+ <span id="logo"><a href="/" target="_blank"><img height="80px" src="http://wicket.apache.org/guide/img/apache-wicket.png"/></a></span>
- <span id="sponsor"><a href="http://www.comsysto.com/" target="_blank"><img height="60px" src="http://comsysto.github.io/wicket-userguide/img/comsysto-logo.png"/></a></span>
+ <span id="sponsor"><a href="http://www.apache.org/" target="_blank"><img height="60px" src="http://www.apache.org/images/asf_logo.gif"/></a></span>
</div>
<p>Free Online Guide for Apache Wicket framework</p>
@@ -188,17 +188,7 @@ function addJsClass() {
<div id="footer">
-Copyright © 2013 â <a href="http://www.comsysto.com" target="_blank">comSysto GmbH</a>
-<script>
- (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
- (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
- m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
- })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
-
- ga('create', 'UA-43124634-1', 'comsysto.com');
- ga('send', 'pageview');
-
-</script>
+Copyright © 2013 â <a href="http://www.apache.org/" target="_blank">The Apache Software Foundation</a>
</div>
Modified: wicket/common/site/trunk/_site/guide/guide/pages/chapter22_5.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/pages/chapter22_5.html?rev=1534349&r1=1534348&r2=1534349&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/guide/pages/chapter22_5.html (original)
+++ wicket/common/site/trunk/_site/guide/guide/pages/chapter22_5.html Mon Oct 21 19:49:52 2013
@@ -113,10 +113,10 @@ function addJsClass() {
<div id="header">
<div class="images clearfix">
- <span id="logo"><a href="/" target="_blank"><img height="80px" src="http://comsysto.github.io/wicket-userguide/img/apache-wicket.png"/></a></span>
+ <span id="logo"><a href="/" target="_blank"><img height="80px" src="http://wicket.apache.org/guide/img/apache-wicket.png"/></a></span>
- <span id="sponsor"><a href="http://www.comsysto.com/" target="_blank"><img height="60px" src="http://comsysto.github.io/wicket-userguide/img/comsysto-logo.png"/></a></span>
+ <span id="sponsor"><a href="http://www.apache.org/" target="_blank"><img height="60px" src="http://www.apache.org/images/asf_logo.gif"/></a></span>
</div>
<p>Free Online Guide for Apache Wicket framework</p>
@@ -198,17 +198,7 @@ add(loginBox);</pre></div><p class="para
<div id="footer">
-Copyright © 2013 â <a href="http://www.comsysto.com" target="_blank">comSysto GmbH</a>
-<script>
- (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
- (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
- m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
- })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
-
- ga('create', 'UA-43124634-1', 'comsysto.com');
- ga('send', 'pageview');
-
-</script>
+Copyright © 2013 â <a href="http://www.apache.org/" target="_blank">The Apache Software Foundation</a>
</div>
Modified: wicket/common/site/trunk/_site/guide/guide/pages/chapter22_6.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/pages/chapter22_6.html?rev=1534349&r1=1534348&r2=1534349&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/guide/pages/chapter22_6.html (original)
+++ wicket/common/site/trunk/_site/guide/guide/pages/chapter22_6.html Mon Oct 21 19:49:52 2013
@@ -113,10 +113,10 @@ function addJsClass() {
<div id="header">
<div class="images clearfix">
- <span id="logo"><a href="/" target="_blank"><img height="80px" src="http://comsysto.github.io/wicket-userguide/img/apache-wicket.png"/></a></span>
+ <span id="logo"><a href="/" target="_blank"><img height="80px" src="http://wicket.apache.org/guide/img/apache-wicket.png"/></a></span>
- <span id="sponsor"><a href="http://www.comsysto.com/" target="_blank"><img height="60px" src="http://comsysto.github.io/wicket-userguide/img/comsysto-logo.png"/></a></span>
+ <span id="sponsor"><a href="http://www.apache.org/" target="_blank"><img height="60px" src="http://www.apache.org/images/asf_logo.gif"/></a></span>
</div>
<p>Free Online Guide for Apache Wicket framework</p>
@@ -187,17 +187,7 @@ function addJsClass() {
<div id="footer">
-Copyright © 2013 â <a href="http://www.comsysto.com" target="_blank">comSysto GmbH</a>
-<script>
- (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
- (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
- m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
- })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
-
- ga('create', 'UA-43124634-1', 'comsysto.com');
- ga('send', 'pageview');
-
-</script>
+Copyright © 2013 â <a href="http://www.apache.org/" target="_blank">The Apache Software Foundation</a>
</div>
Modified: wicket/common/site/trunk/_site/guide/guide/pages/chapter22_7.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/pages/chapter22_7.html?rev=1534349&r1=1534348&r2=1534349&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/guide/pages/chapter22_7.html (original)
+++ wicket/common/site/trunk/_site/guide/guide/pages/chapter22_7.html Mon Oct 21 19:49:52 2013
@@ -113,10 +113,10 @@ function addJsClass() {
<div id="header">
<div class="images clearfix">
- <span id="logo"><a href="/" target="_blank"><img height="80px" src="http://comsysto.github.io/wicket-userguide/img/apache-wicket.png"/></a></span>
+ <span id="logo"><a href="/" target="_blank"><img height="80px" src="http://wicket.apache.org/guide/img/apache-wicket.png"/></a></span>
- <span id="sponsor"><a href="http://www.comsysto.com/" target="_blank"><img height="60px" src="http://comsysto.github.io/wicket-userguide/img/comsysto-logo.png"/></a></span>
+ <span id="sponsor"><a href="http://www.apache.org/" target="_blank"><img height="60px" src="http://www.apache.org/images/asf_logo.gif"/></a></span>
</div>
<p>Free Online Guide for Apache Wicket framework</p>
@@ -188,17 +188,7 @@ function addJsClass() {
<div id="footer">
-Copyright © 2013 â <a href="http://www.comsysto.com" target="_blank">comSysto GmbH</a>
-<script>
- (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
- (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
- m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
- })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
-
- ga('create', 'UA-43124634-1', 'comsysto.com');
- ga('send', 'pageview');
-
-</script>
+Copyright © 2013 â <a href="http://www.apache.org/" target="_blank">The Apache Software Foundation</a>
</div>
Modified: wicket/common/site/trunk/_site/guide/guide/pages/chapter22_8.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/pages/chapter22_8.html?rev=1534349&r1=1534348&r2=1534349&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/guide/pages/chapter22_8.html (original)
+++ wicket/common/site/trunk/_site/guide/guide/pages/chapter22_8.html Mon Oct 21 19:49:52 2013
@@ -113,10 +113,10 @@ function addJsClass() {
<div id="header">
<div class="images clearfix">
- <span id="logo"><a href="/" target="_blank"><img height="80px" src="http://comsysto.github.io/wicket-userguide/img/apache-wicket.png"/></a></span>
+ <span id="logo"><a href="/" target="_blank"><img height="80px" src="http://wicket.apache.org/guide/img/apache-wicket.png"/></a></span>
- <span id="sponsor"><a href="http://www.comsysto.com/" target="_blank"><img height="60px" src="http://comsysto.github.io/wicket-userguide/img/comsysto-logo.png"/></a></span>
+ <span id="sponsor"><a href="http://www.apache.org/" target="_blank"><img height="60px" src="http://www.apache.org/images/asf_logo.gif"/></a></span>
</div>
<p>Free Online Guide for Apache Wicket framework</p>
@@ -187,17 +187,7 @@ function addJsClass() {
<div id="footer">
-Copyright © 2013 â <a href="http://www.comsysto.com" target="_blank">comSysto GmbH</a>
-<script>
- (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
- (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
- m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
- })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
-
- ga('create', 'UA-43124634-1', 'comsysto.com');
- ga('send', 'pageview');
-
-</script>
+Copyright © 2013 â <a href="http://www.apache.org/" target="_blank">The Apache Software Foundation</a>
</div>
Modified: wicket/common/site/trunk/_site/guide/guide/pages/chapter22_9.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/pages/chapter22_9.html?rev=1534349&r1=1534348&r2=1534349&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/guide/pages/chapter22_9.html (original)
+++ wicket/common/site/trunk/_site/guide/guide/pages/chapter22_9.html Mon Oct 21 19:49:52 2013
@@ -113,10 +113,10 @@ function addJsClass() {
<div id="header">
<div class="images clearfix">
- <span id="logo"><a href="/" target="_blank"><img height="80px" src="http://comsysto.github.io/wicket-userguide/img/apache-wicket.png"/></a></span>
+ <span id="logo"><a href="/" target="_blank"><img height="80px" src="http://wicket.apache.org/guide/img/apache-wicket.png"/></a></span>
- <span id="sponsor"><a href="http://www.comsysto.com/" target="_blank"><img height="60px" src="http://comsysto.github.io/wicket-userguide/img/comsysto-logo.png"/></a></span>
+ <span id="sponsor"><a href="http://www.apache.org/" target="_blank"><img height="60px" src="http://www.apache.org/images/asf_logo.gif"/></a></span>
</div>
<p>Free Online Guide for Apache Wicket framework</p>
@@ -182,17 +182,7 @@ function addJsClass() {
<div id="footer">
-Copyright © 2013 â <a href="http://www.comsysto.com" target="_blank">comSysto GmbH</a>
-<script>
- (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
- (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
- m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
- })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
-
- ga('create', 'UA-43124634-1', 'comsysto.com');
- ga('send', 'pageview');
-
-</script>
+Copyright © 2013 â <a href="http://www.apache.org/" target="_blank">The Apache Software Foundation</a>
</div>
Modified: wicket/common/site/trunk/_site/guide/guide/pages/chapter23_1.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/pages/chapter23_1.html?rev=1534349&r1=1534348&r2=1534349&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/guide/pages/chapter23_1.html (original)
+++ wicket/common/site/trunk/_site/guide/guide/pages/chapter23_1.html Mon Oct 21 19:49:52 2013
@@ -113,10 +113,10 @@ function addJsClass() {
<div id="header">
<div class="images clearfix">
- <span id="logo"><a href="/" target="_blank"><img height="80px" src="http://comsysto.github.io/wicket-userguide/img/apache-wicket.png"/></a></span>
+ <span id="logo"><a href="/" target="_blank"><img height="80px" src="http://wicket.apache.org/guide/img/apache-wicket.png"/></a></span>
- <span id="sponsor"><a href="http://www.comsysto.com/" target="_blank"><img height="60px" src="http://comsysto.github.io/wicket-userguide/img/comsysto-logo.png"/></a></span>
+ <span id="sponsor"><a href="http://www.apache.org/" target="_blank"><img height="60px" src="http://www.apache.org/images/asf_logo.gif"/></a></span>
</div>
<p>Free Online Guide for Apache Wicket framework</p>
@@ -201,17 +201,7 @@ function addJsClass() {
<div id="footer">
-Copyright © 2013 â <a href="http://www.comsysto.com" target="_blank">comSysto GmbH</a>
-<script>
- (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
- (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
- m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
- })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
-
- ga('create', 'UA-43124634-1', 'comsysto.com');
- ga('send', 'pageview');
-
-</script>
+Copyright © 2013 â <a href="http://www.apache.org/" target="_blank">The Apache Software Foundation</a>
</div>
Modified: wicket/common/site/trunk/_site/guide/guide/pages/chapter23_2.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/pages/chapter23_2.html?rev=1534349&r1=1534348&r2=1534349&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/guide/pages/chapter23_2.html (original)
+++ wicket/common/site/trunk/_site/guide/guide/pages/chapter23_2.html Mon Oct 21 19:49:52 2013
@@ -113,10 +113,10 @@ function addJsClass() {
<div id="header">
<div class="images clearfix">
- <span id="logo"><a href="/" target="_blank"><img height="80px" src="http://comsysto.github.io/wicket-userguide/img/apache-wicket.png"/></a></span>
+ <span id="logo"><a href="/" target="_blank"><img height="80px" src="http://wicket.apache.org/guide/img/apache-wicket.png"/></a></span>
- <span id="sponsor"><a href="http://www.comsysto.com/" target="_blank"><img height="60px" src="http://comsysto.github.io/wicket-userguide/img/comsysto-logo.png"/></a></span>
+ <span id="sponsor"><a href="http://www.apache.org/" target="_blank"><img height="60px" src="http://www.apache.org/images/asf_logo.gif"/></a></span>
</div>
<p>Free Online Guide for Apache Wicket framework</p>
@@ -245,17 +245,7 @@ QWickie is released under ASF 2.0 licens
<div id="footer">
-Copyright © 2013 â <a href="http://www.comsysto.com" target="_blank">comSysto GmbH</a>
-<script>
- (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
- (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
- m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
- })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
-
- ga('create', 'UA-43124634-1', 'comsysto.com');
- ga('send', 'pageview');
-
-</script>
+Copyright © 2013 â <a href="http://www.apache.org/" target="_blank">The Apache Software Foundation</a>
</div>
Modified: wicket/common/site/trunk/_site/guide/guide/pages/chapter24_1.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/pages/chapter24_1.html?rev=1534349&r1=1534348&r2=1534349&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/guide/pages/chapter24_1.html (original)
+++ wicket/common/site/trunk/_site/guide/guide/pages/chapter24_1.html Mon Oct 21 19:49:52 2013
@@ -113,10 +113,10 @@ function addJsClass() {
<div id="header">
<div class="images clearfix">
- <span id="logo"><a href="/" target="_blank"><img height="80px" src="http://comsysto.github.io/wicket-userguide/img/apache-wicket.png"/></a></span>
+ <span id="logo"><a href="/" target="_blank"><img height="80px" src="http://wicket.apache.org/guide/img/apache-wicket.png"/></a></span>
- <span id="sponsor"><a href="http://www.comsysto.com/" target="_blank"><img height="60px" src="http://comsysto.github.io/wicket-userguide/img/comsysto-logo.png"/></a></span>
+ <span id="sponsor"><a href="http://www.apache.org/" target="_blank"><img height="60px" src="http://www.apache.org/images/asf_logo.gif"/></a></span>
</div>
<p>Free Online Guide for Apache Wicket framework</p>
@@ -187,17 +187,7 @@ Every WicketStuff module can be download
<div id="footer">
-Copyright © 2013 â <a href="http://www.comsysto.com" target="_blank">comSysto GmbH</a>
-<script>
- (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
- (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
- m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
- })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
-
- ga('create', 'UA-43124634-1', 'comsysto.com');
- ga('send', 'pageview');
-
-</script>
+Copyright © 2013 â <a href="http://www.apache.org/" target="_blank">The Apache Software Foundation</a>
</div>
Modified: wicket/common/site/trunk/_site/guide/guide/pages/chapter24_2.html
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/guide/guide/pages/chapter24_2.html?rev=1534349&r1=1534348&r2=1534349&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/guide/guide/pages/chapter24_2.html (original)
+++ wicket/common/site/trunk/_site/guide/guide/pages/chapter24_2.html Mon Oct 21 19:49:52 2013
@@ -113,10 +113,10 @@ function addJsClass() {
<div id="header">
<div class="images clearfix">
- <span id="logo"><a href="/" target="_blank"><img height="80px" src="http://comsysto.github.io/wicket-userguide/img/apache-wicket.png"/></a></span>
+ <span id="logo"><a href="/" target="_blank"><img height="80px" src="http://wicket.apache.org/guide/img/apache-wicket.png"/></a></span>
- <span id="sponsor"><a href="http://www.comsysto.com/" target="_blank"><img height="60px" src="http://comsysto.github.io/wicket-userguide/img/comsysto-logo.png"/></a></span>
+ <span id="sponsor"><a href="http://www.apache.org/" target="_blank"><img height="60px" src="http://www.apache.org/images/asf_logo.gif"/></a></span>
</div>
<p>Free Online Guide for Apache Wicket framework</p>
@@ -155,27 +155,32 @@ function addJsClass() {
<h2 id="chapter24_2">24.2 Module tinymce</h2>
<p class="paragraph"/>Module tinymce offers integration with the namesake JavaScript library that turns our âhumbleâ text-areas into a full-featured HTML WYSIWYG editor:<p class="paragraph"/><img border="0" class="center" src="../img/tinymce.png"></img><p class="paragraph"/>To âtinyfyâ a textarea component we must use behavior TinyMceBehavior:<p class="paragraph"/><div class="code"><pre>TextArea textArea = <span class="java-keyword">new</span> TextArea(<span class="java-quote">"textArea"</span>, <span class="java-keyword">new</span> Model(<span class="java-quote">""</span>));
-textArea.add(<span class="java-keyword">new</span> TinyMceBehavior());</pre></div><p class="paragraph"/>By default TinyMceBehavior adds only a basic set of functionalities to our textarea:<p class="paragraph"/><img border="0" class="center" src="../img/tinymce_basic.png"></img><p class="paragraph"/>To add more functionalities we must use class TinyMCESettings to register additional TinyMCE plugins and to customize the toolbars buttons. The following code is an excerpt from example page FullFeaturedTinyMCEPage:<p class="paragraph"/><div class="code"><pre>TinyMCESettings settings = <span class="java-keyword">new</span> TinyMCESettings(TinyMCESettings.Theme.advanced);
+textArea.add(<span class="java-keyword">new</span> TinyMceBehavior());</pre></div><p class="paragraph"/>By default TinyMceBehavior adds only a basic set of functionalities to our textarea:<p class="paragraph"/><img border="0" class="center" src="../img/tinymce_basic.png"></img><p class="paragraph"/>To add more functionalities we must use class TinyMCESettings to register additional TinyMCE plugins and to customize the toolbars buttons. The following code is an excerpt from example page FullFeaturedTinyMCEPage:<p class="paragraph"/><div class="code"><pre>TinyMCESettings settings = <span class="java-keyword">new</span> TinyMCESettings(
+ TinyMCESettings.Theme.advanced);
//…
// first toolbar
//…
settings.add(Button.newdocument, TinyMCESettings.Toolbar.first,
- TinyMCESettings.Position.before);
+ TinyMCESettings.Position.before);
settings.add(Button.separator, TinyMCESettings.Toolbar.first,
- TinyMCESettings.Position.before);
+ TinyMCESettings.Position.before);
settings.add(Button.fontselect, TinyMCESettings.Toolbar.first,
- TinyMCESettings.Position.after);
+ TinyMCESettings.Position.after);
//…
// other settings
-settings.setToolbarAlign(TinyMCESettings.Align.left);
-settings.setToolbarLocation(TinyMCESettings.Location.top);
-settings.setStatusbarLocation(TinyMCESettings.Location.bottom);
+settings.setToolbarAlign(
+ TinyMCESettings.Align.left);
+settings.setToolbarLocation(
+ TinyMCESettings.Location.top);
+settings.setStatusbarLocation(
+ TinyMCESettings.Location.bottom);
settings.setResizing(<span class="java-keyword">true</span>);
//…
TextArea textArea = <span class="java-keyword">new</span> TextArea(<span class="java-quote">"ta"</span>, <span class="java-keyword">new</span> Model(TEXT));
textArea.add(<span class="java-keyword">new</span> TinyMceBehavior(settings));</pre></div><p class="paragraph"/>For more configuration examples see pages inside package wicket.contrib.examples.tinymce in the example project of the module.
+
<div style="clear:both;margin-top:15px;"></div>
<div class="toc-item prev-left"><a href="../../guide/chapter23.html"><< <strong>23</strong><span>Working with Maven (Appendix)</span></a></div>
@@ -201,17 +206,7 @@ textArea.add(<span class="java-keywo
<div id="footer">
-Copyright © 2013 â <a href="http://www.comsysto.com" target="_blank">comSysto GmbH</a>
-<script>
- (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
- (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
- m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
- })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
-
- ga('create', 'UA-43124634-1', 'comsysto.com');
- ga('send', 'pageview');
-
-</script>
+Copyright © 2013 â <a href="http://www.apache.org/" target="_blank">The Apache Software Foundation</a>
</div>