Author: mgrigorov
Date: Tue Nov 30 16:44:34 2010
New Revision: 1040633

URL: http://svn.apache.org/viewvc?rev=1040633&view=rev
Log:
RequestCycle#isUrlForNewWindowEncoding() was used only in Portlet context which 
is removed from Wicket 1.5 so there is no need to set this flag anymore

Modified:
    
wicket/trunk/wicket/src/main/java/org/apache/wicket/markup/html/link/Link.java

Modified: 
wicket/trunk/wicket/src/main/java/org/apache/wicket/markup/html/link/Link.java
URL: 
http://svn.apache.org/viewvc/wicket/trunk/wicket/src/main/java/org/apache/wicket/markup/html/link/Link.java?rev=1040633&r1=1040632&r2=1040633&view=diff
==============================================================================
--- 
wicket/trunk/wicket/src/main/java/org/apache/wicket/markup/html/link/Link.java 
(original)
+++ 
wicket/trunk/wicket/src/main/java/org/apache/wicket/markup/html/link/Link.java 
Tue Nov 30 16:44:34 2010
@@ -350,11 +350,6 @@ public abstract class Link<T> extends Ab
                // Default handling for tag
                super.onComponentTag(tag);
 
-               if (popupSettings != null)
-               {
-                       // TODO (NG): Do this properly
-                       // RequestCycle.get().setUrlForNewWindowEncoding();
-               }
                // Set href to link to this link's linkClicked method
                CharSequence url = getURL();
 


Reply via email to