You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by jd...@apache.org on 2009/12/20 12:55:37 UTC

svn commit: r892586 - /wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/library/LibraryApplication.java

Author: jdonnerstag
Date: Sun Dec 20 11:55:37 2009
New Revision: 892586

URL: http://svn.apache.org/viewvc?rev=892586&view=rev
Log: (empty)

Modified:
    wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/library/LibraryApplication.java

Modified: wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/library/LibraryApplication.java
URL: http://svn.apache.org/viewvc/wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/library/LibraryApplication.java?rev=892586&r1=892585&r2=892586&view=diff
==============================================================================
--- wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/library/LibraryApplication.java (original)
+++ wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/library/LibraryApplication.java Sun Dec 20 11:55:37 2009
@@ -23,7 +23,7 @@
 import org.apache.wicket.authorization.IAuthorizationStrategy;
 import org.apache.wicket.authorization.strategies.page.SimplePageAuthorizationStrategy;
 import org.apache.wicket.examples.WicketExampleApplication;
-import org.apache.wicket.settings.IRequestCycleSettings;
+import org.apache.wicket.settings.IRequestCycleSettings.RenderStrategy;
 
 
 /**
@@ -67,7 +67,7 @@
 		super.init();
 
 		getResourceSettings().setThrowExceptionOnMissingResource(false);
-		getRequestCycleSettings().setRenderStrategy(IRequestCycleSettings.REDIRECT_TO_RENDER);
+		getRequestCycleSettings().setRenderStrategy(RenderStrategy.REDIRECT_TO_RENDER);
 
 		// Install a simple page authorization strategy, that checks all pages
 		// of type AuthenticatedWebPage.