You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by iv...@apache.org on 2010/08/27 09:03:35 UTC

svn commit: r990052 - in /wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/linkomatic: Home.html Home.java

Author: ivaynberg
Date: Fri Aug 27 07:03:35 2010
New Revision: 990052

URL: http://svn.apache.org/viewvc?rev=990052&view=rev
Log:
remove imagemap example

Modified:
    wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/linkomatic/Home.html
    wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/linkomatic/Home.java

Modified: wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/linkomatic/Home.html
URL: http://svn.apache.org/viewvc/wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/linkomatic/Home.html?rev=990052&r1=990051&r2=990052&view=diff
==============================================================================
--- wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/linkomatic/Home.html (original)
+++ wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/linkomatic/Home.html Fri Aug 27 07:03:35 2010
@@ -28,8 +28,6 @@
     </p><p>    
     <a wicket:id = "bookDetailsLink2">Click this PageLink for BookDetails on Inside The Matrix</a>
     </p><p>
-    <img border = "0" wicket:id = "imageMap" src = "ImageMap.gif">
-    </p><p>
     <a wicket:id = "popupLink">Click this link for a popup</a>
     </p><p>
     <input type="submit" wicket:id = "popupButtonLink" value="Click this button for a popup" />

Modified: wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/linkomatic/Home.java
URL: http://svn.apache.org/viewvc/wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/linkomatic/Home.java?rev=990052&r1=990051&r2=990052&view=diff
==============================================================================
--- wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/linkomatic/Home.java (original)
+++ wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/linkomatic/Home.java Fri Aug 27 07:03:35 2010
@@ -23,13 +23,11 @@ import org.apache.wicket.markup.html.for
 import org.apache.wicket.markup.html.form.TextField;
 import org.apache.wicket.markup.html.link.BookmarkablePageLink;
 import org.apache.wicket.markup.html.link.ExternalLink;
-import org.apache.wicket.markup.html.link.ImageMap;
 import org.apache.wicket.markup.html.link.Link;
 import org.apache.wicket.markup.html.link.PopupSettings;
 import org.apache.wicket.markup.html.link.ResourceLink;
 import org.apache.wicket.markup.html.pages.RedirectPage;
 import org.apache.wicket.markup.html.panel.FeedbackPanel;
-import org.apache.wicket.markup.parser.filter.RelativePathPrefixHandler;
 import org.apache.wicket.model.CompoundPropertyModel;
 import org.apache.wicket.model.PropertyModel;
 import org.apache.wicket.request.resource.SharedResourceReference;
@@ -108,13 +106,6 @@ public class Home extends WicketExampleP
 			}
 		});
 
-		// Image map link example
-		add(new ImageMap("imageMap").addRectangleLink(0, 0, 100, 100,
-			new BookmarkablePageLink("page1", Page1.class)).addCircleLink(160, 50, 35,
-			new BookmarkablePageLink("page2", Page2.class)).addPolygonLink(
-			new int[] { 212, 79, 241, 4, 279, 54, 212, 79 },
-			new BookmarkablePageLink("page3", Page3.class)).add(
-			RelativePathPrefixHandler.RELATIVE_PATH_BEHAVIOR));
 
 		// Popup example
 		PopupSettings popupSettings = new PopupSettings("popuppagemap").setHeight(500)