You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by mg...@apache.org on 2011/04/04 14:26:56 UTC

svn commit: r1088592 - /wicket/branches/wicket-1.4.x/wicket/src/main/java/org/apache/wicket/markup/html/link/ResourceLink.java

Author: mgrigorov
Date: Mon Apr  4 12:26:55 2011
New Revision: 1088592

URL: http://svn.apache.org/viewvc?rev=1088592&view=rev
Log:
WICKET-3575 ResourceLink uses the wrong PageMap, if used as a PopupLink

Call onLinkClicked() which will check the popupSettings and set the correct pageMap before call onClick()


Modified:
    wicket/branches/wicket-1.4.x/wicket/src/main/java/org/apache/wicket/markup/html/link/ResourceLink.java

Modified: wicket/branches/wicket-1.4.x/wicket/src/main/java/org/apache/wicket/markup/html/link/ResourceLink.java
URL: http://svn.apache.org/viewvc/wicket/branches/wicket-1.4.x/wicket/src/main/java/org/apache/wicket/markup/html/link/ResourceLink.java?rev=1088592&r1=1088591&r2=1088592&view=diff
==============================================================================
--- wicket/branches/wicket-1.4.x/wicket/src/main/java/org/apache/wicket/markup/html/link/ResourceLink.java (original)
+++ wicket/branches/wicket-1.4.x/wicket/src/main/java/org/apache/wicket/markup/html/link/ResourceLink.java Mon Apr  4 12:26:55 2011
@@ -106,7 +106,7 @@ public class ResourceLink<T> extends Lin
 	public final void onResourceRequested()
 	{
 		resource.onResourceRequested();
-		onClick();
+		onLinkClicked();
 	}
 
 	/**