You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by pe...@apache.org on 2011/01/27 20:53:23 UTC
svn commit: r1064282 -
/wicket/branches/wicket-1.4.x/wicket/src/main/java/org/apache/wicket/markup/html/link/PopupSettings.java
Author: pedro
Date: Thu Jan 27 19:53:22 2011
New Revision: 1064282
URL: http://svn.apache.org/viewvc?rev=1064282&view=rev
Log:
restoring the PopupSettings(IPageMap pageMapName, final int displayFlags) constructor as deprecated
Issue: WICKET-3109
Modified:
wicket/branches/wicket-1.4.x/wicket/src/main/java/org/apache/wicket/markup/html/link/PopupSettings.java
Modified: wicket/branches/wicket-1.4.x/wicket/src/main/java/org/apache/wicket/markup/html/link/PopupSettings.java
URL: http://svn.apache.org/viewvc/wicket/branches/wicket-1.4.x/wicket/src/main/java/org/apache/wicket/markup/html/link/PopupSettings.java?rev=1064282&r1=1064281&r2=1064282&view=diff
==============================================================================
--- wicket/branches/wicket-1.4.x/wicket/src/main/java/org/apache/wicket/markup/html/link/PopupSettings.java (original)
+++ wicket/branches/wicket-1.4.x/wicket/src/main/java/org/apache/wicket/markup/html/link/PopupSettings.java Thu Jan 27 19:53:22 2011
@@ -120,7 +120,7 @@ public class PopupSettings implements IC
*/
public PopupSettings(final int displayFlags)
{
- this(null, displayFlags);
+ this((String)null, displayFlags);
}
/**
@@ -155,6 +155,15 @@ public class PopupSettings implements IC
}
/**
+ * @deprecated Use the {@link PopupSettings#PopupSettings(String, int)}
+ */
+ @Deprecated
+ public PopupSettings(IPageMap pageMapName, final int displayFlags)
+ {
+ this(pageMapName.getName(), displayFlags);
+ }
+
+ /**
* Construct.
*
* @param pageMapName