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 2008/06/29 07:51:39 UTC

svn commit: r672603 [4/18] - in /wicket/trunk: testing/wicket-threadtest/src/main/java/org/apache/wicket/threadtest/apps/app1/ testing/wicket-threadtest/src/main/java/org/apache/wicket/threadtest/apps/app2/ wicket-auth-roles/src/main/java/org/apache/wi...

Modified: wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/encodings/Home.java
URL: http://svn.apache.org/viewvc/wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/encodings/Home.java?rev=672603&r1=672602&r2=672603&view=diff
==============================================================================
--- wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/encodings/Home.java (original)
+++ wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/encodings/Home.java Sat Jun 28 22:50:41 2008
@@ -30,7 +30,7 @@
  * 
  * @author Jonathan Locke
  */
-public class Home extends WicketExamplePage<Void>
+public class Home extends WicketExamplePage
 {
 	private static final Log log = LogFactory.getLog(Home.class);
 
@@ -42,7 +42,7 @@
 	 */
 	public Home(final PageParameters parameters)
 	{
-		add(new Label<String>("message", "Hello world! Test: ���"));
+		add(new Label("message", "Hello world! Test: ���"));
 	}
 
 	/**

Modified: wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/forminput/FormInput.java
URL: http://svn.apache.org/viewvc/wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/forminput/FormInput.java?rev=672603&r1=672602&r2=672603&view=diff
==============================================================================
--- wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/forminput/FormInput.java (original)
+++ wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/forminput/FormInput.java Sat Jun 28 22:50:41 2008
@@ -57,7 +57,7 @@
  * @author Eelco Hillenius
  * @author Jonathan Locke
  */
-public class FormInput extends WicketExamplePage<Void>
+public class FormInput extends WicketExamplePage
 {
 	/**
 	 * Form for collecting input.
@@ -78,7 +78,7 @@
 			add(new LocaleDropDownChoice("localeSelect"));
 
 			// Link to return to default locale
-			add(new Link<Void>("defaultLocaleLink")
+			add(new Link("defaultLocaleLink")
 			{
 				@Override
 				public void onClick()
@@ -102,8 +102,8 @@
 			add(new CheckBox("booleanProperty"));
 			add(new Multiply("multiply"));
 			// display the multiply result
-			Label<Integer> multiplyLabel = new Label<Integer>("multiplyLabel",
-				new PropertyModel<Integer>(getModel(), "multiply"));
+			Label multiplyLabel = new Label("multiplyLabel", new PropertyModel<Integer>(
+				getDefaultModel(), "multiply"));
 			// just for fun, add a border so that our result will be displayed
 			// as '[ x ]'
 			multiplyLabel.setComponentBorder(new BeforeAndAfterBorder());
@@ -121,7 +121,7 @@
 				protected void populateItem(ListItem<String> item)
 				{
 					item.add(new Radio<String>("radio", item.getModel()));
-					item.add(new Label<String>("number", item.getModelObjectAsString()));
+					item.add(new Label("number", item.getDefaultModelObjectAsString()));
 				};
 			}.setReuseItems(true);
 			group.add(persons);
@@ -134,7 +134,7 @@
 				protected void populateItem(ListItem<String> item)
 				{
 					item.add(new Check<String>("check", item.getModel()));
-					item.add(new Label<String>("number", item.getModelObjectAsString()));
+					item.add(new Label("number", item.getDefaultModelObjectAsString()));
 				};
 			}.setReuseItems(true);
 			checks.add(checksList);
@@ -201,9 +201,9 @@
 			// and this is to show we can nest ListViews in Forms too
 			add(new LinesListView("lines"));
 
-			add(new Button<Void>("saveButton"));
+			add(new Button("saveButton"));
 
-			add(new Button<Void>("resetButton")
+			add(new Button("resetButton")
 			{
 				@Override
 				public void onSubmit()
@@ -221,7 +221,7 @@
 		public void onSubmit()
 		{
 			// Form validation successful. Display message showing edited model.
-			info("Saved model " + getModelObject());
+			info("Saved model " + getDefaultModelObject());
 		}
 	}
 
@@ -247,8 +247,8 @@
 			// add a text field that works on each list item model (returns
 			// objects of
 			// type FormInputModel.Line) using property text.
-			item.add(new TextField<String>("lineEdit", new PropertyModel<String>(item.getModel(),
-				"text")));
+			item.add(new TextField<String>("lineEdit", new PropertyModel<String>(
+				item.getDefaultModel(), "text")));
 		}
 	}
 
@@ -292,7 +292,7 @@
 
 			// set the model that gets the current locale, and that is used for
 			// updating the current locale to property 'locale' of FormInput
-			setModel(new PropertyModel<Locale>(FormInput.this, "locale"));
+			setDefaultModel(new PropertyModel<Locale>(FormInput.this, "locale"));
 		}
 
 		/**

Modified: wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/forminput/FormInputApplication.java
URL: http://svn.apache.org/viewvc/wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/forminput/FormInputApplication.java?rev=672603&r1=672602&r2=672603&view=diff
==============================================================================
--- wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/forminput/FormInputApplication.java (original)
+++ wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/forminput/FormInputApplication.java Sat Jun 28 22:50:41 2008
@@ -55,7 +55,7 @@
 	 * @see org.apache.wicket.Application#getHomePage()
 	 */
 	@Override
-	public Class< ? extends Page< ? >> getHomePage()
+	public Class< ? extends Page> getHomePage()
 	{
 		return FormInput.class;
 	}

Modified: wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/frames/BodyFrame.java
URL: http://svn.apache.org/viewvc/wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/frames/BodyFrame.java?rev=672603&r1=672602&r2=672603&view=diff
==============================================================================
--- wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/frames/BodyFrame.java (original)
+++ wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/frames/BodyFrame.java Sat Jun 28 22:50:41 2008
@@ -32,7 +32,7 @@
  * 
  * @author Eelco Hillenius
  */
-public class BodyFrame extends WebPage<Void>
+public class BodyFrame extends WebPage
 {
 	/**
 	 * Model that returns the url to the bookmarkable page that is set in the current frame target.
@@ -74,12 +74,12 @@
 		CharSequence leftFrameSrc = RequestCycle.get().urlFor(leftFrame);
 		// and create a simple component that modifies it's src attribute to
 		// hold the url to that frame
-		WebComponent<?> leftFrameTag = new WebComponent<Void>("leftFrame");
+		WebComponent leftFrameTag = new WebComponent("leftFrame");
 		leftFrameTag.add(new AttributeModifier("src", new Model((Serializable)leftFrameSrc)));
 		add(leftFrameTag);
 
 		// make a simple component for the right frame tag
-		WebComponent<?> rightFrameTag = new WebComponent<Void>("rightFrame");
+		WebComponent rightFrameTag = new WebComponent("rightFrame");
 		// and this time, set a model which retrieves the url to the currently
 		// set frame class in the frame target
 		rightFrameTag.add(new AttributeModifier("src", new FrameModel()));

Modified: wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/frames/FrameTarget.java
URL: http://svn.apache.org/viewvc/wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/frames/FrameTarget.java?rev=672603&r1=672602&r2=672603&view=diff
==============================================================================
--- wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/frames/FrameTarget.java (original)
+++ wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/frames/FrameTarget.java Sat Jun 28 22:50:41 2008
@@ -29,7 +29,7 @@
 	private static final long serialVersionUID = 1L;
 
 	/** the class of the bookmarkable page. */
-	private Class<? extends Page<?>> frameClass;
+	private Class<? extends Page> frameClass;
 
 	/**
 	 * Construct.
@@ -45,7 +45,7 @@
 	 * 
 	 * @param frameClass
 	 */
-	public <C extends Page<?>> FrameTarget(Class<C> frameClass)
+	public <C extends Page> FrameTarget(Class<C> frameClass)
 	{
 		this.frameClass = frameClass;
 	}
@@ -55,7 +55,7 @@
 	 * 
 	 * @return lefFrameClass
 	 */
-	public Class<? extends Page<?>> getFrameClass()
+	public Class<? extends Page> getFrameClass()
 	{
 		return frameClass;
 	}
@@ -68,7 +68,7 @@
 	 * @param frameClass
 	 *            lefFrameClass
 	 */
-	public <C extends Page<?>> void setFrameClass(Class<C> frameClass)
+	public <C extends Page> void setFrameClass(Class<C> frameClass)
 	{
 		this.frameClass = frameClass;
 	}

Modified: wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/frames/FramesApplication.java
URL: http://svn.apache.org/viewvc/wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/frames/FramesApplication.java?rev=672603&r1=672602&r2=672603&view=diff
==============================================================================
--- wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/frames/FramesApplication.java (original)
+++ wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/frames/FramesApplication.java Sat Jun 28 22:50:41 2008
@@ -37,7 +37,7 @@
 	 * @see org.apache.wicket.Application#getHomePage()
 	 */
 	@Override
-	public Class< ? extends Page< ? >> getHomePage()
+	public Class< ? extends Page> getHomePage()
 	{
 		return Home.class;
 	}

Modified: wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/frames/Home.java
URL: http://svn.apache.org/viewvc/wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/frames/Home.java?rev=672603&r1=672602&r2=672603&view=diff
==============================================================================
--- wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/frames/Home.java (original)
+++ wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/frames/Home.java Sat Jun 28 22:50:41 2008
@@ -23,7 +23,7 @@
  * 
  * @author Eelco Hillenius
  */
-public class Home extends WebPage<Void>
+public class Home extends WebPage
 {
 	/**
 	 * Constructor

Modified: wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/frames/LeftFrame.java
URL: http://svn.apache.org/viewvc/wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/frames/LeftFrame.java?rev=672603&r1=672602&r2=672603&view=diff
==============================================================================
--- wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/frames/LeftFrame.java (original)
+++ wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/frames/LeftFrame.java Sat Jun 28 22:50:41 2008
@@ -32,7 +32,7 @@
  * 
  * @author Eelco Hillenius
  */
-public class LeftFrame extends WebPage<Void>
+public class LeftFrame extends WebPage
 {
 	/**
 	 * Link that, when clicked, changes the frame target's frame class (and as that is a shared
@@ -41,7 +41,7 @@
 	 * Tags that use this link should have a <code>target="_parent"</code> attribute, so that the
 	 * top frame will be refreshed.
 	 */
-	private static final class ChangeFramePageLink extends Link<Void>
+	private static final class ChangeFramePageLink extends Link
 	{
 		private static final long serialVersionUID = 1L;
 
@@ -49,7 +49,7 @@
 		private final BodyFrame bodyFrame;
 
 		/** this link's target. */
-		private final Class<? extends Page<?>> pageClass;
+		private final Class<? extends Page> pageClass;
 
 		/**
 		 * Construct.
@@ -60,7 +60,7 @@
 		 * @param bodyFrame
 		 * @param pageClass
 		 */
-		public <C extends Page<?>> ChangeFramePageLink(String id, BodyFrame bodyFrame,
+		public <C extends Page> ChangeFramePageLink(String id, BodyFrame bodyFrame,
 			Class<C> pageClass)
 		{
 			super(id);

Modified: wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/frames/Page1.java
URL: http://svn.apache.org/viewvc/wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/frames/Page1.java?rev=672603&r1=672602&r2=672603&view=diff
==============================================================================
--- wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/frames/Page1.java (original)
+++ wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/frames/Page1.java Sat Jun 28 22:50:41 2008
@@ -23,7 +23,7 @@
  * 
  * @author Eelco Hillenius
  */
-public class Page1 extends WebPage<Void>
+public class Page1 extends WebPage
 {
 	/**
 	 * Constructor

Modified: wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/frames/Page2.java
URL: http://svn.apache.org/viewvc/wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/frames/Page2.java?rev=672603&r1=672602&r2=672603&view=diff
==============================================================================
--- wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/frames/Page2.java (original)
+++ wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/frames/Page2.java Sat Jun 28 22:50:41 2008
@@ -23,7 +23,7 @@
  * 
  * @author Eelco Hillenius
  */
-public class Page2 extends WebPage<Void>
+public class Page2 extends WebPage
 {
 	/**
 	 * Constructor

Modified: wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/frames/TopFrame.java
URL: http://svn.apache.org/viewvc/wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/frames/TopFrame.java?rev=672603&r1=672602&r2=672603&view=diff
==============================================================================
--- wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/frames/TopFrame.java (original)
+++ wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/frames/TopFrame.java Sat Jun 28 22:50:41 2008
@@ -23,7 +23,7 @@
  * 
  * @author Eelco Hillenius
  */
-public class TopFrame extends WicketExamplePage<Void>
+public class TopFrame extends WicketExamplePage
 {
 	/**
 	 * Constructor

Modified: wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/guestbook/GuestBook.java
URL: http://svn.apache.org/viewvc/wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/guestbook/GuestBook.java?rev=672603&r1=672602&r2=672603&view=diff
==============================================================================
--- wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/guestbook/GuestBook.java (original)
+++ wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/guestbook/GuestBook.java Sat Jun 28 22:50:41 2008
@@ -42,7 +42,7 @@
  * @author Jonathan Locke
  * @author Martijn Dashorst
  */
-public final class GuestBook extends WicketExamplePage<Void>
+public final class GuestBook extends WicketExamplePage
 {
 	/** A global list of all comments from all users across all sessions */
 	private static final List<Comment> commentList = new ArrayList<Comment>();
@@ -61,8 +61,8 @@
 			@Override
 			public void populateItem(final ListItem<Comment> listItem)
 			{
-				listItem.add(new Label<Date>("date"));
-				listItem.add(new MultiLineLabel<String>("text"));
+				listItem.add(new Label("date"));
+				listItem.add(new MultiLineLabel("text"));
 			}
 		}).setVersioned(false);
 	}

Modified: wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/guestbook/GuestBookApplication.java
URL: http://svn.apache.org/viewvc/wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/guestbook/GuestBookApplication.java?rev=672603&r1=672602&r2=672603&view=diff
==============================================================================
--- wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/guestbook/GuestBookApplication.java (original)
+++ wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/guestbook/GuestBookApplication.java Sat Jun 28 22:50:41 2008
@@ -38,7 +38,7 @@
 	 * @see org.apache.wicket.Application#getHomePage()
 	 */
 	@Override
-	public Class< ? extends Page< ? >> getHomePage()
+	public Class< ? extends Page> getHomePage()
 	{
 		return GuestBook.class;
 	}

Modified: wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/guice/GuiceApplication.java
URL: http://svn.apache.org/viewvc/wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/guice/GuiceApplication.java?rev=672603&r1=672602&r2=672603&view=diff
==============================================================================
--- wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/guice/GuiceApplication.java (original)
+++ wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/guice/GuiceApplication.java Sat Jun 28 22:50:41 2008
@@ -40,7 +40,7 @@
 	 * @see org.apache.wicket.Application#getHomePage()
 	 */
 	@Override
-	public Class< ? extends Page< ? >> getHomePage()
+	public Class< ? extends Page> getHomePage()
 	{
 		return HomePage.class;
 	}

Modified: wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/guice/HomePage.java
URL: http://svn.apache.org/viewvc/wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/guice/HomePage.java?rev=672603&r1=672602&r2=672603&view=diff
==============================================================================
--- wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/guice/HomePage.java (original)
+++ wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/guice/HomePage.java Sat Jun 28 22:50:41 2008
@@ -29,7 +29,7 @@
  * 
  * @author Alastair Maw
  */
-public class HomePage extends WicketExamplePage<Void>
+public class HomePage extends WicketExamplePage
 {
 	@Inject
 	private IMyService service;
@@ -41,7 +41,7 @@
 	 */
 	public HomePage()
 	{
-		add(new Link<Void>("link")
+		add(new Link("link")
 		{
 			/**
 			 * @see org.apache.wicket.markup.html.link.Link#onClick()
@@ -52,7 +52,7 @@
 				labelValue = service.getHelloWorldText();
 			}
 		});
-		add(new Label<String>("message", new AbstractReadOnlyModel<String>()
+		add(new Label("message", new AbstractReadOnlyModel<String>()
 		{
 
 			@Override

Modified: wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/hangman/Guess.java
URL: http://svn.apache.org/viewvc/wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/hangman/Guess.java?rev=672603&r1=672602&r2=672603&view=diff
==============================================================================
--- wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/hangman/Guess.java (original)
+++ wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/hangman/Guess.java Sat Jun 28 22:50:41 2008
@@ -31,7 +31,7 @@
  * @author Chris Turner
  * @author Jonathan Locke
  */
-public class Guess extends HangmanPage<Void>
+public class Guess extends HangmanPage
 {
 	/**
 	 * Create the guess page.
@@ -39,11 +39,10 @@
 	public Guess()
 	{
 		// Components for displaying the guesses remaining & the hangman
-		add(new Label<Integer>("guessesRemaining", new PropertyModel<Integer>(getGame(),
-			"guessesRemaining")));
+		add(new Label("guessesRemaining", new PropertyModel<Integer>(getGame(), "guessesRemaining")));
 
 		// Components for displaying the current word
-		add(new Label<String>("word", new Model<String>()
+		add(new Label("word", new Model<String>()
 		{
 			@Override
 			public String getObject()
@@ -59,7 +58,7 @@
 			protected void populateItem(final ListItem<Letter> listItem)
 			{
 				final Letter letter = listItem.getModelObject();
-				final Link<?> link = new Link<Void>("letter")
+				final Link link = new Link("letter")
 				{
 					@Override
 					protected void onBeforeRender()
@@ -94,7 +93,7 @@
 					}
 				};
 
-				link.add(new Image<Void>("image", letter.getSharedImageResource()));
+				link.add(new Image("image", letter.getSharedImageResource()));
 				listItem.add(link);
 
 				// append id attribute to link for unit tests

Modified: wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/hangman/HangmanApplication.java
URL: http://svn.apache.org/viewvc/wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/hangman/HangmanApplication.java?rev=672603&r1=672602&r2=672603&view=diff
==============================================================================
--- wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/hangman/HangmanApplication.java (original)
+++ wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/hangman/HangmanApplication.java Sat Jun 28 22:50:41 2008
@@ -42,7 +42,7 @@
 	 * @see org.apache.wicket.Application#getHomePage()
 	 */
 	@Override
-	public Class<? extends Page<?>> getHomePage()
+	public Class<? extends Page> getHomePage()
 	{
 		return Home.class;
 	}

Modified: wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/hangman/HangmanPage.java
URL: http://svn.apache.org/viewvc/wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/hangman/HangmanPage.java?rev=672603&r1=672602&r2=672603&view=diff
==============================================================================
--- wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/hangman/HangmanPage.java (original)
+++ wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/hangman/HangmanPage.java Sat Jun 28 22:50:41 2008
@@ -24,7 +24,7 @@
  * @author Jonathan Locke
  * @param <T>
  */
-public class HangmanPage<T> extends WicketExamplePage<T>
+public class HangmanPage extends WicketExamplePage
 {
 	/**
 	 * @return Returns the hangman.

Modified: wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/hangman/Home.java
URL: http://svn.apache.org/viewvc/wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/hangman/Home.java?rev=672603&r1=672602&r2=672603&view=diff
==============================================================================
--- wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/hangman/Home.java (original)
+++ wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/hangman/Home.java Sat Jun 28 22:50:41 2008
@@ -26,7 +26,7 @@
  * @author Chris Turner
  * @author Jonathan Locke
  */
-public class Home extends HangmanPage<Void>
+public class Home extends HangmanPage
 {
 	/**
 	 * Create the home page.

Modified: wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/hangman/Lose.java
URL: http://svn.apache.org/viewvc/wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/hangman/Lose.java?rev=672603&r1=672602&r2=672603&view=diff
==============================================================================
--- wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/hangman/Lose.java (original)
+++ wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/hangman/Lose.java Sat Jun 28 22:50:41 2008
@@ -25,15 +25,15 @@
  * @author Chris Turner
  * @author Jonathan Locke
  */
-public class Lose extends HangmanPage<Void>
+public class Lose extends HangmanPage
 {
 	/**
 	 * Create the lose page and its associated components.
 	 */
 	public Lose()
 	{
-		add(new Label<String>("currentWord", getGame().getWord().asString()));
-		add(new Link<Void>("playAgain")
+		add(new Label("currentWord", getGame().getWord().asString()));
+		add(new Link("playAgain")
 		{
 			@Override
 			public void onClick()

Modified: wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/hangman/Win.java
URL: http://svn.apache.org/viewvc/wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/hangman/Win.java?rev=672603&r1=672602&r2=672603&view=diff
==============================================================================
--- wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/hangman/Win.java (original)
+++ wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/hangman/Win.java Sat Jun 28 22:50:41 2008
@@ -25,16 +25,16 @@
  * @author Chris Turner
  * @author Jonathan Locke
  */
-public class Win extends HangmanPage<Void>
+public class Win extends HangmanPage
 {
 	/**
 	 * Create the win page and its associated components.
 	 */
 	public Win()
 	{
-		add(new Label<String>("guessesRemaining", Integer.toString(getGame().getGuessesRemaining())));
-		add(new Label<String>("currentWord", getGame().getWord().asString()));
-		add(new Link<Void>("playAgain")
+		add(new Label("guessesRemaining", Integer.toString(getGame().getGuessesRemaining())));
+		add(new Label("currentWord", getGame().getWord().asString()));
+		add(new Link("playAgain")
 		{
 			@Override
 			public void onClick()

Modified: wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/hellobrowser/HelloBrowser.java
URL: http://svn.apache.org/viewvc/wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/hellobrowser/HelloBrowser.java?rev=672603&r1=672602&r2=672603&view=diff
==============================================================================
--- wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/hellobrowser/HelloBrowser.java (original)
+++ wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/hellobrowser/HelloBrowser.java Sat Jun 28 22:50:41 2008
@@ -35,7 +35,7 @@
  * 
  * @author Eelco Hillenius
  */
-public class HelloBrowser extends WicketExamplePage<Void>
+public class HelloBrowser extends WicketExamplePage
 {
 	/**
 	 * Construct.
@@ -55,7 +55,7 @@
 		// is not allowed.
 		final ClientProperties properties = ((WebClientInfo)getRequestCycle().getClientInfo()).getProperties();
 
-		add(new MultiLineLabel<String>("clientinfo", properties.toString()));
+		add(new MultiLineLabel("clientinfo", properties.toString()));
 
 		IModel<String> clientTimeModel = new AbstractReadOnlyModel<String>()
 		{
@@ -83,6 +83,6 @@
 					+ "no idea what your time is";
 			}
 		};
-		add(new Label<String>("clienttime", clientTimeModel));
+		add(new Label("clienttime", clientTimeModel));
 	}
 }
\ No newline at end of file

Modified: wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/hellobrowser/HelloBrowserApplication.java
URL: http://svn.apache.org/viewvc/wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/hellobrowser/HelloBrowserApplication.java?rev=672603&r1=672602&r2=672603&view=diff
==============================================================================
--- wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/hellobrowser/HelloBrowserApplication.java (original)
+++ wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/hellobrowser/HelloBrowserApplication.java Sat Jun 28 22:50:41 2008
@@ -38,7 +38,7 @@
 	 * @see org.apache.wicket.Application#getHomePage()
 	 */
 	@Override
-	public Class< ? extends Page< ? >> getHomePage()
+	public Class< ? extends Page> getHomePage()
 	{
 		return HelloBrowser.class;
 	}

Modified: wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/helloworld/HelloWorld.java
URL: http://svn.apache.org/viewvc/wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/helloworld/HelloWorld.java?rev=672603&r1=672602&r2=672603&view=diff
==============================================================================
--- wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/helloworld/HelloWorld.java (original)
+++ wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/helloworld/HelloWorld.java Sat Jun 28 22:50:41 2008
@@ -25,13 +25,13 @@
  * 
  * @author Jonathan Locke
  */
-public class HelloWorld extends WicketExamplePage<Void>
+public class HelloWorld extends WicketExamplePage
 {
 	/**
 	 * Constructor
 	 */
 	public HelloWorld()
 	{
-		add(new Label<String>("message", "Hello World!"));
+		add(new Label("message", "Hello World!"));
 	}
 }
\ No newline at end of file

Modified: wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/helloworld/HelloWorldApplication.java
URL: http://svn.apache.org/viewvc/wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/helloworld/HelloWorldApplication.java?rev=672603&r1=672602&r2=672603&view=diff
==============================================================================
--- wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/helloworld/HelloWorldApplication.java (original)
+++ wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/helloworld/HelloWorldApplication.java Sat Jun 28 22:50:41 2008
@@ -66,7 +66,7 @@
 	 * @see org.apache.wicket.Application#getHomePage()
 	 */
 	@Override
-	public Class< ? extends Page< ? >> getHomePage()
+	public Class< ? extends Page> getHomePage()
 	{
 		return HelloWorld.class;
 	}

Modified: wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/images/Home.java
URL: http://svn.apache.org/viewvc/wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/images/Home.java?rev=672603&r1=672602&r2=672603&view=diff
==============================================================================
--- wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/images/Home.java (original)
+++ wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/images/Home.java Sat Jun 28 22:50:41 2008
@@ -36,7 +36,7 @@
  * 
  * @author Jonathan Locke
  */
-public final class Home extends WicketExamplePage<Void>
+public final class Home extends WicketExamplePage
 {
 	/**
 	 * A dynamic image resource using {@link Home#drawCircle(Graphics2D)} to draw a random circle on
@@ -67,31 +67,30 @@
 	public Home()
 	{
 		// Image as package resource
-		add(new Image<Void>("image2"));
+		add(new Image("image2"));
 
 		// Dynamically created image. Will re-render whenever resource is asked
 		// for.
-		add(new Image<Void>("image3", new CircleDynamicImageResource(100, 100)));
+		add(new Image("image3", new CircleDynamicImageResource(100, 100)));
 
 		// Simple model
-		add(new Image<String>("image4", new Model<String>("Image2.gif")));
+		add(new Image("image4", new Model<String>("Image2.gif")));
 
 		// Dynamically created buffered image
-		add(new Image<Void>("image5", getImage5Resource()));
+		add(new Image("image5", getImage5Resource()));
 
 		// Add okay button image
-		add(new Image<Void>("okButton", getOkButtonImage()));
+		add(new Image("okButton", getOkButtonImage()));
 
 		// Add cancel button image
-		add(new Image<Void>("cancelButton", new ResourceReference("cancelButton")));
+		add(new Image("cancelButton", new ResourceReference("cancelButton")));
 
 		// image loaded as resource ref via model.
-		add(new Image<ResourceReference>("imageModelResourceReference",
-			new Model<ResourceReference>(RESOURCE_REF)));
+		add(new Image("imageModelResourceReference", new Model<ResourceReference>(RESOURCE_REF)));
 
 		// image loaded as resource via model.
-		add(new Image<CircleDynamicImageResource>("imageModelResource",
-			new Model<CircleDynamicImageResource>(new CircleDynamicImageResource(100, 100))));
+		add(new Image("imageModelResource", new Model<CircleDynamicImageResource>(
+			new CircleDynamicImageResource(100, 100))));
 
 	}
 

Modified: wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/images/ImagesApplication.java
URL: http://svn.apache.org/viewvc/wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/images/ImagesApplication.java?rev=672603&r1=672602&r2=672603&view=diff
==============================================================================
--- wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/images/ImagesApplication.java (original)
+++ wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/images/ImagesApplication.java Sat Jun 28 22:50:41 2008
@@ -43,7 +43,7 @@
 	 * @see org.apache.wicket.Application#getHomePage()
 	 */
 	@Override
-	public Class< ? extends Page< ? >> getHomePage()
+	public Class< ? extends Page> getHomePage()
 	{
 		return Home.class;
 	}

Modified: wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/library/AuthenticatedWebPage.java
URL: http://svn.apache.org/viewvc/wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/library/AuthenticatedWebPage.java?rev=672603&r1=672602&r2=672603&view=diff
==============================================================================
--- wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/library/AuthenticatedWebPage.java (original)
+++ wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/library/AuthenticatedWebPage.java Sat Jun 28 22:50:41 2008
@@ -32,9 +32,9 @@
  * @author Jonathan Locke
  * @param <T>
  */
-public class AuthenticatedWebPage<T> extends WicketExamplePage<T>
+public class AuthenticatedWebPage extends WicketExamplePage
 {
-	private final Border<?> border;
+	private final Border border;
 
 	/**
 	 * Contruct

Modified: wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/library/BookDetails.java
URL: http://svn.apache.org/viewvc/wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/library/BookDetails.java?rev=672603&r1=672602&r2=672603&view=diff
==============================================================================
--- wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/library/BookDetails.java (original)
+++ wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/library/BookDetails.java Sat Jun 28 22:50:41 2008
@@ -32,7 +32,7 @@
  * 
  * @author Jonathan Locke
  */
-public final class BookDetails extends AuthenticatedWebPage<Void>
+public final class BookDetails extends AuthenticatedWebPage
 {
 	/**
 	 * Constructor for calls from external page links
@@ -54,9 +54,9 @@
 	 */
 	public BookDetails(final Book book)
 	{
-		add(new Label<String>("title", book.getTitle()));
-		add(new Label<String>("author", book.getAuthor()));
-		add(new Label<String>("fiction", Boolean.toString(book.getFiction())));
+		add(new Label("title", book.getTitle()));
+		add(new Label("author", book.getAuthor()));
+		add(new Label("fiction", Boolean.toString(book.getFiction())));
 		add(BookDetails.link("companion", book.getCompanionBook(), getLocalizer().getString(
 			"noBookTitle", this)));
 		add(BookDetails.link("related", book.getRelatedBook(), getLocalizer().getString(
@@ -82,7 +82,7 @@
 			writingStyles = getLocalizer().getString("noWritingStyles", this);
 		}
 
-		Label<String> writingStylesLabel = new Label<String>("writingStyles", writingStyles);
+		Label writingStylesLabel = new Label("writingStyles", writingStyles);
 
 		final AttributeModifier italic = new AttributeModifier("class", new Model<String>("italic"));
 		italic.setEnabled(!hasStyles);
@@ -110,11 +110,11 @@
 		if (book != null)
 		{
 			link.setParameter("id", book.getId());
-			link.add(new Label<Book>("title", new Model<Book>(book)));
+			link.add(new Label("title", new Model<Book>(book)));
 		}
 		else
 		{
-			link.add(new Label<String>("title", noBookTitle));
+			link.add(new Label("title", noBookTitle));
 			link.setEnabled(false);
 		}
 

Modified: wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/library/EditBook.java
URL: http://svn.apache.org/viewvc/wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/library/EditBook.java?rev=672603&r1=672602&r2=672603&view=diff
==============================================================================
--- wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/library/EditBook.java (original)
+++ wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/library/EditBook.java Sat Jun 28 22:50:41 2008
@@ -43,7 +43,7 @@
  * 
  * @author Jonathan Locke
  */
-public final class EditBook extends AuthenticatedWebPage<Void>
+public final class EditBook extends AuthenticatedWebPage
 {
 	static final Book otherBook = new Book("Frisbee Techniques", "Marty van Hoff", Book.FICTION);
 
@@ -73,16 +73,16 @@
 	 *            The id of the book that the page will edit
 	 * @return The page link
 	 */
-	public static PageLink<?> link(final String name, final long id)
+	public static PageLink link(final String name, final long id)
 	{
-		return new PageLink<Void>(name, new IPageLink()
+		return new PageLink(name, new IPageLink()
 		{
-			public Page<?> getPage()
+			public Page getPage()
 			{
 				return new EditBook(Book.get(id));
 			}
 
-			public Class<? extends Page<?>> getPageIdentity()
+			public Class<? extends Page> getPageIdentity()
 			{
 				return EditBook.class;
 			}

Modified: wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/library/Home.java
URL: http://svn.apache.org/viewvc/wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/library/Home.java?rev=672603&r1=672602&r2=672603&view=diff
==============================================================================
--- wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/library/Home.java (original)
+++ wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/library/Home.java Sat Jun 28 22:50:41 2008
@@ -33,7 +33,7 @@
  * 
  * @author Jonathan Locke
  */
-public final class Home extends AuthenticatedWebPage<Void>
+public final class Home extends AuthenticatedWebPage
 {
 	/**
 	 * Constructor
@@ -53,7 +53,7 @@
 				final Book book = listItem.getModelObject();
 				listItem.add(BookDetails.link("details", book, getLocalizer().getString(
 					"noBookTitle", this)));
-				listItem.add(new Label<Book>("author", new Model<Book>(book)));
+				listItem.add(new Label("author", new Model<Book>(book)));
 				listItem.add(moveUpLink("moveUp", listItem));
 				listItem.add(moveDownLink("moveDown", listItem));
 				listItem.add(removeLink("remove", listItem));

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=672603&r1=672602&r2=672603&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 Sat Jun 28 22:50:41 2008
@@ -44,7 +44,7 @@
 	 * @see org.apache.wicket.Application#getHomePage()
 	 */
 	@Override
-	public Class<? extends Page<?>> getHomePage()
+	public Class<? extends Page> getHomePage()
 	{
 		return Home.class;
 	}

Modified: wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/library/LibraryApplicationBorder.java
URL: http://svn.apache.org/viewvc/wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/library/LibraryApplicationBorder.java?rev=672603&r1=672602&r2=672603&view=diff
==============================================================================
--- wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/library/LibraryApplicationBorder.java (original)
+++ wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/library/LibraryApplicationBorder.java Sat Jun 28 22:50:41 2008
@@ -24,7 +24,7 @@
  * 
  * @author Jonathan Locke
  */
-public class LibraryApplicationBorder extends Border<Void>
+public class LibraryApplicationBorder extends Border
 {
 	/**
 	 * Constructor
@@ -35,6 +35,6 @@
 	public LibraryApplicationBorder(final String id)
 	{
 		super(id);
-		add(new BoxBorder<Void>("boxBorder"));
+		add(new BoxBorder("boxBorder"));
 	}
 }

Modified: wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/library/SignIn.java
URL: http://svn.apache.org/viewvc/wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/library/SignIn.java?rev=672603&r1=672602&r2=672603&view=diff
==============================================================================
--- wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/library/SignIn.java (original)
+++ wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/library/SignIn.java Sat Jun 28 22:50:41 2008
@@ -26,7 +26,7 @@
  * 
  * @author Jonathan Locke
  */
-public final class SignIn extends WicketExamplePage<Void>
+public final class SignIn extends WicketExamplePage
 {
 	/**
 	 * Constructor

Modified: wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/linkomatic/BookDetails.java
URL: http://svn.apache.org/viewvc/wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/linkomatic/BookDetails.java?rev=672603&r1=672602&r2=672603&view=diff
==============================================================================
--- wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/linkomatic/BookDetails.java (original)
+++ wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/linkomatic/BookDetails.java Sat Jun 28 22:50:41 2008
@@ -25,7 +25,7 @@
  * 
  * @author Jonathan Locke
  */
-public final class BookDetails extends WicketExamplePage<Void>
+public final class BookDetails extends WicketExamplePage
 {
 	/**
 	 * Constructor
@@ -35,6 +35,6 @@
 	 */
 	public BookDetails(final Book book)
 	{
-		add(new Label<String>("title", book.getTitle()));
+		add(new Label("title", book.getTitle()));
 	}
 }

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=672603&r1=672602&r2=672603&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 Sat Jun 28 22:50:41 2008
@@ -44,7 +44,7 @@
  * 
  * @author Jonathan Locke
  */
-public class Home extends WicketExamplePage<Void>
+public class Home extends WicketExamplePage
 {
 	/** click count for Link. */
 	private int linkClickCount = 0;
@@ -58,7 +58,7 @@
 	public Home()
 	{
 		// Action link counts link clicks
-		final Link<?> actionLink = new Link<Void>("actionLink")
+		final Link actionLink = new Link("actionLink")
 		{
 			@Override
 			public void onClick()
@@ -66,12 +66,12 @@
 				linkClickCount++;
 			}
 		};
-		actionLink.add(new Label<Integer>("linkClickCount", new PropertyModel<Integer>(this,
+		actionLink.add(new Label("linkClickCount", new PropertyModel<Integer>(this,
 			"linkClickCount")));
 		add(actionLink);
 
 		// Action link counts link clicks on works with onclick handler
-		final Link<?> actionOnClickLink = new Link<Void>("actionOnClickLink")
+		final Link actionOnClickLink = new Link("actionOnClickLink")
 		{
 			@Override
 			public void onClick()
@@ -81,7 +81,7 @@
 		};
 
 		add(actionOnClickLink);
-		add(new Label<Integer>("onClickLinkClickCount", new PropertyModel<Integer>(this,
+		add(new Label("onClickLinkClickCount", new PropertyModel<Integer>(this,
 			"onClickLinkClickCount")));
 
 		// Link to Page1 is a simple external page link
@@ -93,35 +93,35 @@
 			"3++2 & 5 � >< space + �"));
 
 		// Link to BookDetails page
-		add(new PageLink<Void>("bookDetailsLink", new IPageLink()
+		add(new PageLink("bookDetailsLink", new IPageLink()
 		{
-			public Page<?> getPage()
+			public Page getPage()
 			{
 				return new BookDetails(new Book("The Hobbit"));
 			}
 
-			public Class<? extends Page<?>> getPageIdentity()
+			public Class<? extends Page> getPageIdentity()
 			{
 				return BookDetails.class;
 			}
 		}));
 
 		// Delayed link to BookDetails page
-		add(new PageLink<Void>("bookDetailsLink2", new IPageLink()
+		add(new PageLink("bookDetailsLink2", new IPageLink()
 		{
-			public Page<?> getPage()
+			public Page getPage()
 			{
 				return new BookDetails(new Book("Inside The Matrix"));
 			}
 
-			public Class<? extends Page<?>> getPageIdentity()
+			public Class<? extends Page> getPageIdentity()
 			{
 				return BookDetails.class;
 			}
 		}));
 
 		// Image map link example
-		add(new ImageMap<CharSequence>("imageMap").addRectangleLink(0, 0, 100, 100,
+		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 },
@@ -146,14 +146,14 @@
 			"Click this link to go to Google in a popup").setPopupSettings(googlePopupSettings));
 
 		// Shared resource link
-		add(new ResourceLink<Void>("cancelButtonLink", new ResourceReference("cancelButton")));
+		add(new ResourceLink("cancelButtonLink", new ResourceReference("cancelButton")));
 
 		// redirect to external url form
 		FeedbackPanel feedbackPanel = new FeedbackPanel("feedback");
 		add(feedbackPanel);
 		add(new RedirectForm("redirectForm"));
 
-		Link<?> linkToAnchor = new Link<Void>("linkToAnchor")
+		Link linkToAnchor = new Link("linkToAnchor")
 		{
 			@Override
 			public void onClick()
@@ -161,7 +161,7 @@
 			}
 		};
 		add(linkToAnchor);
-		Link<?> anotherlinkToAnchor = new Link<Void>("anotherlinkToAnchor")
+		Link anotherlinkToAnchor = new Link("anotherlinkToAnchor")
 		{
 			@Override
 			public void onClick()
@@ -169,7 +169,7 @@
 			}
 		};
 		add(anotherlinkToAnchor);
-		Component<String> anchorLabel = new Label<String>("anchorLabel",
+		Component anchorLabel = new Label("anchorLabel",
 			"this label is here to function as an anchor for a link").setOutputMarkupId(true);
 		add(anchorLabel);
 		linkToAnchor.setAnchor(anchorLabel);
@@ -192,7 +192,7 @@
 		public RedirectForm(String id)
 		{
 			super(id);
-			setModel(new CompoundPropertyModel<RedirectForm>(this));
+			setDefaultModel(new CompoundPropertyModel<RedirectForm>(this));
 			add(new TextField<String>("redirectUrl"));
 		}
 

Modified: wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/linkomatic/LinkomaticApplication.java
URL: http://svn.apache.org/viewvc/wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/linkomatic/LinkomaticApplication.java?rev=672603&r1=672602&r2=672603&view=diff
==============================================================================
--- wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/linkomatic/LinkomaticApplication.java (original)
+++ wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/linkomatic/LinkomaticApplication.java Sat Jun 28 22:50:41 2008
@@ -33,7 +33,7 @@
 	 * @see org.apache.wicket.Application#getHomePage()
 	 */
 	@Override
-	public Class<? extends Page<?>> getHomePage()
+	public Class<? extends Page> getHomePage()
 	{
 		return Home.class;
 	}

Modified: wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/linkomatic/Page1.java
URL: http://svn.apache.org/viewvc/wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/linkomatic/Page1.java?rev=672603&r1=672602&r2=672603&view=diff
==============================================================================
--- wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/linkomatic/Page1.java (original)
+++ wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/linkomatic/Page1.java Sat Jun 28 22:50:41 2008
@@ -25,7 +25,7 @@
  * 
  * @author Jonathan Locke
  */
-public class Page1 extends WicketExamplePage<Void>
+public class Page1 extends WicketExamplePage
 {
 
 	/**

Modified: wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/linkomatic/Page2.java
URL: http://svn.apache.org/viewvc/wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/linkomatic/Page2.java?rev=672603&r1=672602&r2=672603&view=diff
==============================================================================
--- wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/linkomatic/Page2.java (original)
+++ wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/linkomatic/Page2.java Sat Jun 28 22:50:41 2008
@@ -25,7 +25,7 @@
  * 
  * @author Jonathan Locke
  */
-public class Page2 extends WicketExamplePage<Void>
+public class Page2 extends WicketExamplePage
 {
 	/**
 	 * Constructor

Modified: wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/linkomatic/Page3.java
URL: http://svn.apache.org/viewvc/wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/linkomatic/Page3.java?rev=672603&r1=672602&r2=672603&view=diff
==============================================================================
--- wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/linkomatic/Page3.java (original)
+++ wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/linkomatic/Page3.java Sat Jun 28 22:50:41 2008
@@ -26,7 +26,7 @@
  * 
  * @author Jonathan Locke
  */
-public class Page3 extends WicketExamplePage<Void>
+public class Page3 extends WicketExamplePage
 {
 	/**
 	 * Constructor
@@ -35,6 +35,6 @@
 	 */
 	public Page3(PageParameters parameters)
 	{
-		add(new Label<String>("bookmarkparameter", parameters.getString("bookmarkparameter")));
+		add(new Label("bookmarkparameter", parameters.getString("bookmarkparameter")));
 	}
 }

Modified: wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/linkomatic/Popup.java
URL: http://svn.apache.org/viewvc/wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/linkomatic/Popup.java?rev=672603&r1=672602&r2=672603&view=diff
==============================================================================
--- wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/linkomatic/Popup.java (original)
+++ wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/linkomatic/Popup.java Sat Jun 28 22:50:41 2008
@@ -25,13 +25,13 @@
  * 
  * @author Jonathan Locke
  */
-public class Popup extends WicketExamplePage<Void>
+public class Popup extends WicketExamplePage
 {
 	/**
 	 * Constructor
 	 */
 	public Popup()
 	{
-		add(new PopupCloseLink<Void>("close"));
+		add(new PopupCloseLink("close"));
 	}
 }

Modified: wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/navomatic/NavomaticApplication.java
URL: http://svn.apache.org/viewvc/wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/navomatic/NavomaticApplication.java?rev=672603&r1=672602&r2=672603&view=diff
==============================================================================
--- wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/navomatic/NavomaticApplication.java (original)
+++ wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/navomatic/NavomaticApplication.java Sat Jun 28 22:50:41 2008
@@ -37,7 +37,7 @@
 	 * @see org.apache.wicket.Application#getHomePage()
 	 */
 	@Override
-	public Class< ? extends Page< ? >> getHomePage()
+	public Class< ? extends Page> getHomePage()
 	{
 		return Page1.class;
 	}

Modified: wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/navomatic/NavomaticBorder.java
URL: http://svn.apache.org/viewvc/wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/navomatic/NavomaticBorder.java?rev=672603&r1=672602&r2=672603&view=diff
==============================================================================
--- wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/navomatic/NavomaticBorder.java (original)
+++ wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/navomatic/NavomaticBorder.java Sat Jun 28 22:50:41 2008
@@ -24,7 +24,7 @@
  * 
  * @author Jonathan Locke
  */
-public class NavomaticBorder extends Border<Void>
+public class NavomaticBorder extends Border
 {
 	/**
 	 * Constructor
@@ -35,7 +35,7 @@
 	public NavomaticBorder(final String id)
 	{
 		super(id);
-		add(new BoxBorder<Void>("navigationBorder"));
-		add(new BoxBorder<Void>("bodyBorder"));
+		add(new BoxBorder("navigationBorder"));
+		add(new BoxBorder("bodyBorder"));
 	}
 }

Modified: wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/navomatic/Page1.java
URL: http://svn.apache.org/viewvc/wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/navomatic/Page1.java?rev=672603&r1=672602&r2=672603&view=diff
==============================================================================
--- wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/navomatic/Page1.java (original)
+++ wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/navomatic/Page1.java Sat Jun 28 22:50:41 2008
@@ -23,7 +23,7 @@
  * 
  * @author Jonathan Locke
  */
-public class Page1 extends WicketExamplePage<Void>
+public class Page1 extends WicketExamplePage
 {
 	/**
 	 * Constructor

Modified: wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/navomatic/Page2.java
URL: http://svn.apache.org/viewvc/wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/navomatic/Page2.java?rev=672603&r1=672602&r2=672603&view=diff
==============================================================================
--- wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/navomatic/Page2.java (original)
+++ wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/navomatic/Page2.java Sat Jun 28 22:50:41 2008
@@ -24,7 +24,7 @@
  * 
  * @author Jonathan Locke
  */
-public class Page2 extends WicketExamplePage<Void>
+public class Page2 extends WicketExamplePage
 {
 	/**
 	 * Constructor

Modified: wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/navomatic/Page3.java
URL: http://svn.apache.org/viewvc/wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/navomatic/Page3.java?rev=672603&r1=672602&r2=672603&view=diff
==============================================================================
--- wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/navomatic/Page3.java (original)
+++ wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/navomatic/Page3.java Sat Jun 28 22:50:41 2008
@@ -23,7 +23,7 @@
  * 
  * @author Jonathan Locke
  */
-public class Page3 extends WicketExamplePage<Void>
+public class Page3 extends WicketExamplePage
 {
 	/**
 	 * Constructor

Modified: wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/nested/Home.java
URL: http://svn.apache.org/viewvc/wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/nested/Home.java?rev=672603&r1=672602&r2=672603&view=diff
==============================================================================
--- wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/nested/Home.java (original)
+++ wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/nested/Home.java Sat Jun 28 22:50:41 2008
@@ -40,7 +40,7 @@
  * 
  * @author Eelco Hillenius
  */
-public class Home extends WicketExamplePage<Void>
+public class Home extends WicketExamplePage
 {
 	/**
 	 * Constructor.
@@ -85,7 +85,7 @@
 		tree.setLinkType(LinkType.REGULAR);
 
 		add(tree);
-		add(new Link<Void>("expandAll")
+		add(new Link("expandAll")
 		{
 			@Override
 			public void onClick()
@@ -94,7 +94,7 @@
 			}
 		});
 
-		add(new Link<Void>("collapseAll")
+		add(new Link("collapseAll")
 		{
 			@Override
 			public void onClick()

Modified: wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/nested/NestedApplication.java
URL: http://svn.apache.org/viewvc/wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/nested/NestedApplication.java?rev=672603&r1=672602&r2=672603&view=diff
==============================================================================
--- wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/nested/NestedApplication.java (original)
+++ wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/nested/NestedApplication.java Sat Jun 28 22:50:41 2008
@@ -48,7 +48,7 @@
 	 * @see org.apache.wicket.Application#getHomePage()
 	 */
 	@Override
-	public Class< ? extends Page< ? >> getHomePage()
+	public Class< ? extends Page> getHomePage()
 	{
 		return Home.class;
 	}

Modified: wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/nested/RecursivePanel.java
URL: http://svn.apache.org/viewvc/wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/nested/RecursivePanel.java?rev=672603&r1=672602&r2=672603&view=diff
==============================================================================
--- wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/nested/RecursivePanel.java (original)
+++ wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/nested/RecursivePanel.java Sat Jun 28 22:50:41 2008
@@ -31,7 +31,7 @@
  * 
  * @author Eelco Hillenius
  */
-public final class RecursivePanel extends Panel<Object>
+public final class RecursivePanel extends Panel
 {
 	/**
 	 * Constructor.
@@ -73,7 +73,7 @@
 		@Override
 		protected void populateItem(ListItem<Object> listItem)
 		{
-			Object modelObject = listItem.getModelObject();
+			Object modelObject = listItem.getDefaultModelObject();
 
 			if (modelObject instanceof List)
 			{
@@ -85,9 +85,9 @@
 				// as we have to confirm to our HTML definition, and set it's
 				// visibility
 				// property to false as we do not want LI tags to be rendered.
-				WebMarkupContainer<?> row = new WebMarkupContainer<Void>("row");
+				WebMarkupContainer row = new WebMarkupContainer("row");
 				row.setVisible(false);
-				row.add(new WebMarkupContainer<Void>("label"));
+				row.add(new WebMarkupContainer("label"));
 				listItem.add(row);
 			}
 			else
@@ -103,8 +103,8 @@
 				// add the row (with the LI element attached, and the label with
 				// the
 				// row's actual value to display
-				WebMarkupContainer<?> row = new WebMarkupContainer<Void>("row");
-				row.add(new Label<String>("label", modelObject.toString()));
+				WebMarkupContainer row = new WebMarkupContainer("row");
+				row.add(new Label("label", modelObject.toString()));
 				listItem.add(row);
 			}
 		}

Modified: wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/niceurl/Home.java
URL: http://svn.apache.org/viewvc/wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/niceurl/Home.java?rev=672603&r1=672602&r2=672603&view=diff
==============================================================================
--- wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/niceurl/Home.java (original)
+++ wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/niceurl/Home.java Sat Jun 28 22:50:41 2008
@@ -28,7 +28,7 @@
  * 
  * @author Eelco Hillenius
  */
-public class Home extends WicketExamplePage<Void>
+public class Home extends WicketExamplePage
 {
 	/**
 	 * Construct.

Modified: wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/niceurl/NiceUrlApplication.java
URL: http://svn.apache.org/viewvc/wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/niceurl/NiceUrlApplication.java?rev=672603&r1=672602&r2=672603&view=diff
==============================================================================
--- wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/niceurl/NiceUrlApplication.java (original)
+++ wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/niceurl/NiceUrlApplication.java Sat Jun 28 22:50:41 2008
@@ -46,12 +46,12 @@
 	 * @see org.apache.wicket.Application#getHomePage()
 	 */
 	@Override
-	public Class<? extends Page<?>> getHomePage()
+	public Class<? extends Page> getHomePage()
 	{
 		return Home.class;
 	}
 
-	private <C extends Page<?>> void mountBookmarkablePageWithUrlCoding(String path,
+	private <C extends Page> void mountBookmarkablePageWithUrlCoding(String path,
 		Class<C> pageClass)
 	{
 		mount(new QueryStringUrlCodingStrategy(path, pageClass));

Modified: wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/niceurl/Page1.java
URL: http://svn.apache.org/viewvc/wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/niceurl/Page1.java?rev=672603&r1=672602&r2=672603&view=diff
==============================================================================
--- wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/niceurl/Page1.java (original)
+++ wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/niceurl/Page1.java Sat Jun 28 22:50:41 2008
@@ -26,7 +26,7 @@
  * 
  * @author Eelco Hillenius
  */
-public class Page1 extends WicketExamplePage<Void>
+public class Page1 extends WicketExamplePage
 {
 	/**
 	 * Constructor

Modified: wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/niceurl/Page2.java
URL: http://svn.apache.org/viewvc/wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/niceurl/Page2.java?rev=672603&r1=672602&r2=672603&view=diff
==============================================================================
--- wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/niceurl/Page2.java (original)
+++ wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/niceurl/Page2.java Sat Jun 28 22:50:41 2008
@@ -29,7 +29,7 @@
  * 
  * @author Igor Vaynberg
  */
-public class Page2 extends WicketExamplePage<Void>
+public class Page2 extends WicketExamplePage
 {
 	private final Random random = new Random();
 
@@ -51,8 +51,8 @@
 			p2 = parameters.getString("param2");
 		}
 
-		add(new Label<String>("p1", p1));
-		add(new Label<String>("p2", p2));
+		add(new Label("p1", p1));
+		add(new Label("p2", p2));
 
 		String newP1 = String.valueOf(random.nextInt());
 		String newP2 = String.valueOf(random.nextInt());

Modified: wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/niceurl/mounted/Page3.java
URL: http://svn.apache.org/viewvc/wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/niceurl/mounted/Page3.java?rev=672603&r1=672602&r2=672603&view=diff
==============================================================================
--- wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/niceurl/mounted/Page3.java (original)
+++ wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/niceurl/mounted/Page3.java Sat Jun 28 22:50:41 2008
@@ -27,7 +27,7 @@
  * 
  * @author Eelco Hillenius
  */
-public class Page3 extends WicketExamplePage<Void>
+public class Page3 extends WicketExamplePage
 {
 	/**
 	 * Constructor

Modified: wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/niceurl/mounted/Page4.java
URL: http://svn.apache.org/viewvc/wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/niceurl/mounted/Page4.java?rev=672603&r1=672602&r2=672603&view=diff
==============================================================================
--- wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/niceurl/mounted/Page4.java (original)
+++ wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/niceurl/mounted/Page4.java Sat Jun 28 22:50:41 2008
@@ -27,7 +27,7 @@
  * 
  * @author Eelco Hillenius
  */
-public class Page4 extends WicketExamplePage<Void>
+public class Page4 extends WicketExamplePage
 {
 	/**
 	 * Constructor

Modified: wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/niceurl/mounted/Page5.java
URL: http://svn.apache.org/viewvc/wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/niceurl/mounted/Page5.java?rev=672603&r1=672602&r2=672603&view=diff
==============================================================================
--- wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/niceurl/mounted/Page5.java (original)
+++ wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/niceurl/mounted/Page5.java Sat Jun 28 22:50:41 2008
@@ -30,7 +30,7 @@
  * 
  * @author Igor Vaynberg
  */
-public class Page5 extends WicketExamplePage<Void>
+public class Page5 extends WicketExamplePage
 {
 	private final Random random = new Random();
 
@@ -74,8 +74,8 @@
 			p2 = sb.toString();
 		}
 
-		add(new Label<String>("p1", p1));
-		add(new Label<String>("p2", p2));
+		add(new Label("p1", p1));
+		add(new Label("p2", p2));
 
 		String newP1 = String.valueOf(random.nextInt());
 		String newP2 = String.valueOf(random.nextInt());

Modified: wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/panels/signin/SignInPanel.java
URL: http://svn.apache.org/viewvc/wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/panels/signin/SignInPanel.java?rev=672603&r1=672602&r2=672603&view=diff
==============================================================================
--- wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/panels/signin/SignInPanel.java (original)
+++ wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/panels/signin/SignInPanel.java Sat Jun 28 22:50:41 2008
@@ -37,7 +37,7 @@
  * @author Juergen Donnerstag
  * @author Eelco Hillenius
  */
-public abstract class SignInPanel extends Panel<Void>
+public abstract class SignInPanel extends Panel
 {
 	/** True if the panel should display a remember-me checkbox */
 	private boolean includeRememberMe = true;
@@ -54,7 +54,7 @@
 	/**
 	 * Sign in form.
 	 */
-	public final class SignInForm extends Form<Void>
+	public final class SignInForm extends Form
 	{
 		/** El-cheapo model for form. */
 		private final ValueMap properties = new ValueMap();
@@ -80,7 +80,7 @@
 			password.setType(String.class);
 
 			// MarkupContainer row for remember me checkbox
-			WebMarkupContainer<?> rememberMeRow = new WebMarkupContainer<Void>("rememberMeRow");
+			WebMarkupContainer rememberMeRow = new WebMarkupContainer("rememberMeRow");
 			add(rememberMeRow);
 
 			// Add rememberMe checkbox
@@ -169,7 +169,7 @@
 	 */
 	public String getPassword()
 	{
-		return password.getModelObjectAsString();
+		return password.getDefaultModelObjectAsString();
 	}
 
 	/**
@@ -189,7 +189,7 @@
 	 */
 	public String getUsername()
 	{
-		return username.getModelObjectAsString();
+		return username.getDefaultModelObjectAsString();
 	}
 
 	/**

Modified: wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/portlet/menu/EditPage.java
URL: http://svn.apache.org/viewvc/wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/portlet/menu/EditPage.java?rev=672603&r1=672602&r2=672603&view=diff
==============================================================================
--- wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/portlet/menu/EditPage.java (original)
+++ wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/portlet/menu/EditPage.java Sat Jun 28 22:50:41 2008
@@ -34,7 +34,7 @@
 /**
  * @author Ate Douma
  */
-public class EditPage extends WebPage<Void>
+public class EditPage extends WebPage
 {
 	private static final IChoiceRenderer<ExampleApplication> exampleChoiceRenderer = new IChoiceRenderer<ExampleApplication>()
 	{
@@ -62,7 +62,7 @@
 	 */
 	public EditPage()
 	{
-		Form<?> form = new Form<Void>("form")
+		Form<?> form = new Form("form")
 		{
 			/**
 			 * @see org.apache.wicket.markup.html.form.Form#onSubmit()
@@ -106,9 +106,9 @@
 				}
 			}
 		}
-		ddc.setModel(selected);
+		ddc.setDefaultModel(selected);
 		form.add(ddc);
-		form.add(new Button<Void>("setButton"));
+		form.add(new Button("setButton"));
 		add(form);
 	}
 

Modified: wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/portlet/menu/HeaderPage.java
URL: http://svn.apache.org/viewvc/wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/portlet/menu/HeaderPage.java?rev=672603&r1=672602&r2=672603&view=diff
==============================================================================
--- wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/portlet/menu/HeaderPage.java (original)
+++ wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/portlet/menu/HeaderPage.java Sat Jun 28 22:50:41 2008
@@ -26,14 +26,14 @@
 /**
  * @author Ate Douma
  */
-public class HeaderPage extends WebPage<Void>
+public class HeaderPage extends WebPage
 {
 	/**
 	 * Construct.
 	 */
 	public HeaderPage()
 	{
-		add(new Link<Void>("menu")
+		add(new Link("menu")
 		{
 			@Override
 			public void onClick()

Modified: wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/portlet/menu/MenuPage.java
URL: http://svn.apache.org/viewvc/wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/portlet/menu/MenuPage.java?rev=672603&r1=672602&r2=672603&view=diff
==============================================================================
--- wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/portlet/menu/MenuPage.java (original)
+++ wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/portlet/menu/MenuPage.java Sat Jun 28 22:50:41 2008
@@ -28,7 +28,7 @@
 /**
  * @author ate
  */
-public class MenuPage extends WebPage<Void>
+public class MenuPage extends WebPage
 {
 	/**
 	 * Construct.
@@ -43,7 +43,7 @@
 			{
 				final int index = item.getIteration();
 				ExampleApplication ea = WicketExamplesMenuApplication.getExamples().get(index + 1);
-				Link<?> link = new Link<Void>("example")
+				Link link = new Link("example")
 				{
 					@Override
 					public void onClick()
@@ -56,9 +56,9 @@
 						session.setAttribute(WicketExamplesMenuPortlet.EXAMPLE_APPLICATION_ATTR, ea);
 					}
 				};
-				link.add(new Label<String>("name", ea.getDisplayName()));
+				link.add(new Label("name", ea.getDisplayName()));
 				item.add(link);
-				item.add(new Label<String>("description", ea.getDescription()));
+				item.add(new Label("description", ea.getDescription()));
 			}
 		});
 	}

Modified: wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/portlet/menu/WicketExamplesMenuApplication.java
URL: http://svn.apache.org/viewvc/wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/portlet/menu/WicketExamplesMenuApplication.java?rev=672603&r1=672602&r2=672603&view=diff
==============================================================================
--- wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/portlet/menu/WicketExamplesMenuApplication.java (original)
+++ wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/portlet/menu/WicketExamplesMenuApplication.java Sat Jun 28 22:50:41 2008
@@ -52,7 +52,7 @@
 	 * @see org.apache.wicket.Application#getHomePage()
 	 */
 	@Override
-	public Class<? extends Page<?>> getHomePage()
+	public Class<? extends Page> getHomePage()
 	{
 		PortletRequestContext prc = (PortletRequestContext)RequestContext.get();
 		if (PortletMode.EDIT.equals(prc.getPortletRequest().getPortletMode()))

Modified: wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/pub/Home.java
URL: http://svn.apache.org/viewvc/wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/pub/Home.java?rev=672603&r1=672602&r2=672603&view=diff
==============================================================================
--- wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/pub/Home.java (original)
+++ wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/pub/Home.java Sat Jun 28 22:50:41 2008
@@ -34,7 +34,7 @@
  * @author Jonathan Locke
  * @author Eelco Hillenius
  */
-public final class Home extends WicketExamplePage<Void>
+public final class Home extends WicketExamplePage
 {
 	/**
 	 * Constructor
@@ -44,7 +44,7 @@
 	 */
 	public Home(final PageParameters parameters)
 	{
-		add(new Image<Void>("beer"));
+		add(new Image("beer"));
 
 		// create a dummy object to serve as our substitution model
 		ValueMap map = new ValueMap();
@@ -61,11 +61,11 @@
 			new Model<ValueMap>(map));
 
 		// Add the label with the dynamic model
-		add(new Label<String>("salutation", labelModel));
+		add(new Label("salutation", labelModel));
 
 		// Add a couple of links to be able to play around with the session
 		// locale
-		add(new Link<Void>("goCanadian")
+		add(new Link("goCanadian")
 		{
 			@Override
 			public void onClick()
@@ -73,7 +73,7 @@
 				getSession().setLocale(Locale.CANADA);
 			}
 		});
-		add(new Link<Void>("goUS")
+		add(new Link("goUS")
 		{
 			@Override
 			public void onClick()
@@ -81,7 +81,7 @@
 				getSession().setLocale(Locale.US);
 			}
 		});
-		add(new Link<Void>("goDutch")
+		add(new Link("goDutch")
 		{
 			@Override
 			public void onClick()
@@ -89,7 +89,7 @@
 				getSession().setLocale(new Locale("nl", "NL"));
 			}
 		});
-		add(new Link<Void>("goGerman")
+		add(new Link("goGerman")
 		{
 			@Override
 			public void onClick()
@@ -97,7 +97,7 @@
 				getSession().setLocale(new Locale("de", "DE"));
 			}
 		});
-		add(new Link<Void>("goChinese")
+		add(new Link("goChinese")
 		{
 			@Override
 			public void onClick()
@@ -105,7 +105,7 @@
 				getSession().setLocale(new Locale("zh", "CN"));
 			}
 		});
-		add(new Link<Void>("goDanish")
+		add(new Link("goDanish")
 		{
 			@Override
 			public void onClick()
@@ -113,7 +113,7 @@
 				getSession().setLocale(new Locale("da", "DK"));
 			}
 		});
-		add(new Link<Void>("goKorean")
+		add(new Link("goKorean")
 		{
 			@Override
 			public void onClick()

Modified: wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/pub/PubApplication.java
URL: http://svn.apache.org/viewvc/wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/pub/PubApplication.java?rev=672603&r1=672602&r2=672603&view=diff
==============================================================================
--- wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/pub/PubApplication.java (original)
+++ wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/pub/PubApplication.java Sat Jun 28 22:50:41 2008
@@ -37,7 +37,7 @@
 	 * @see org.apache.wicket.Application#getHomePage()
 	 */
 	@Override
-	public Class< ? extends Page< ? >> getHomePage()
+	public Class< ? extends Page> getHomePage()
 	{
 		return Home.class;
 	}

Modified: wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/pub2/Home.java
URL: http://svn.apache.org/viewvc/wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/pub2/Home.java?rev=672603&r1=672602&r2=672603&view=diff
==============================================================================
--- wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/pub2/Home.java (original)
+++ wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/pub2/Home.java Sat Jun 28 22:50:41 2008
@@ -1,122 +1,122 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.wicket.examples.pub2;
-
-import java.util.Locale;
-
-import org.apache.wicket.PageParameters;
-import org.apache.wicket.examples.WicketExamplePage;
-import org.apache.wicket.markup.html.basic.Label;
-import org.apache.wicket.markup.html.link.Link;
-import org.apache.wicket.model.Model;
-import org.apache.wicket.model.StringResourceModel;
-import org.apache.wicket.util.value.ValueMap;
-
-
-/**
- * Demonstrates localization.
- * 
- * @author Jonathan Locke
- * @author Eelco Hillenius
- */
-public final class Home extends WicketExamplePage<Void>
-{
-	/**
-	 * Constructor
-	 * 
-	 * @param parameters
-	 *            Page parameters (ignored since this is the home page)
-	 */
-	public Home(final PageParameters parameters)
-	{
-		// create a dummy object to serve as our substitution model
-		ValueMap map = new ValueMap();
-		map.put("user", "Jonathan");
-
-		// Here, we create a model that knows how to get localized strings.
-		// It uses the page's resource (Home_cc_LC.properties) and gets the
-		// text with resource key 'salution'. For the US, this is:
-		// salutation=${user}, dude!
-		// variable ${user} will be regconized as a property variable, and will
-		// be substituted with the given model (the wrapped map). Hence,
-		// ${user} will be replaced by map.get('user'), which is 'Jonathan'.
-		StringResourceModel labelModel = new StringResourceModel("salutation", this,
-			new Model<ValueMap>(map));
-
-		// Add the label with the dynamic model
-		add(new Label<String>("salutation", labelModel));
-
-		// Add a couple of links to be able to play around with the session
-		// locale
-		add(new Link<Void>("goCanadian")
-		{
-			@Override
-			public void onClick()
-			{
-				getSession().setLocale(Locale.CANADA);
-			}
-		});
-		add(new Link<Void>("goUS")
-		{
-			@Override
-			public void onClick()
-			{
-				getSession().setLocale(Locale.US);
-			}
-		});
-		add(new Link<Void>("goDutch")
-		{
-			@Override
-			public void onClick()
-			{
-				getSession().setLocale(new Locale("nl", "NL"));
-			}
-		});
-		add(new Link<Void>("goGerman")
-		{
-			@Override
-			public void onClick()
-			{
-				getSession().setLocale(new Locale("de", "DE"));
-			}
-		});
-		add(new Link<Void>("goChinese")
-		{
-			@Override
-			public void onClick()
-			{
-				getSession().setLocale(new Locale("zh", "CN"));
-			}
-		});
-		add(new Link<Void>("goDanish")
-		{
-			@Override
-			public void onClick()
-			{
-				getSession().setLocale(new Locale("da", "DK"));
-			}
-		});
-		add(new Link<Void>("goKorean")
-		{
-			@Override
-			public void onClick()
-			{
-				getSession().setLocale(new Locale("ko", "KR"));
-			}
-		});
-	}
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.wicket.examples.pub2;
+
+import java.util.Locale;
+
+import org.apache.wicket.PageParameters;
+import org.apache.wicket.examples.WicketExamplePage;
+import org.apache.wicket.markup.html.basic.Label;
+import org.apache.wicket.markup.html.link.Link;
+import org.apache.wicket.model.Model;
+import org.apache.wicket.model.StringResourceModel;
+import org.apache.wicket.util.value.ValueMap;
+
+
+/**
+ * Demonstrates localization.
+ * 
+ * @author Jonathan Locke
+ * @author Eelco Hillenius
+ */
+public final class Home extends WicketExamplePage
+{
+	/**
+	 * Constructor
+	 * 
+	 * @param parameters
+	 *            Page parameters (ignored since this is the home page)
+	 */
+	public Home(final PageParameters parameters)
+	{
+		// create a dummy object to serve as our substitution model
+		ValueMap map = new ValueMap();
+		map.put("user", "Jonathan");
+
+		// Here, we create a model that knows how to get localized strings.
+		// It uses the page's resource (Home_cc_LC.properties) and gets the
+		// text with resource key 'salution'. For the US, this is:
+		// salutation=${user}, dude!
+		// variable ${user} will be regconized as a property variable, and will
+		// be substituted with the given model (the wrapped map). Hence,
+		// ${user} will be replaced by map.get('user'), which is 'Jonathan'.
+		StringResourceModel labelModel = new StringResourceModel("salutation", this,
+			new Model<ValueMap>(map));
+
+		// Add the label with the dynamic model
+		add(new Label("salutation", labelModel));
+
+		// Add a couple of links to be able to play around with the session
+		// locale
+		add(new Link("goCanadian")
+		{
+			@Override
+			public void onClick()
+			{
+				getSession().setLocale(Locale.CANADA);
+			}
+		});
+		add(new Link("goUS")
+		{
+			@Override
+			public void onClick()
+			{
+				getSession().setLocale(Locale.US);
+			}
+		});
+		add(new Link("goDutch")
+		{
+			@Override
+			public void onClick()
+			{
+				getSession().setLocale(new Locale("nl", "NL"));
+			}
+		});
+		add(new Link("goGerman")
+		{
+			@Override
+			public void onClick()
+			{
+				getSession().setLocale(new Locale("de", "DE"));
+			}
+		});
+		add(new Link("goChinese")
+		{
+			@Override
+			public void onClick()
+			{
+				getSession().setLocale(new Locale("zh", "CN"));
+			}
+		});
+		add(new Link("goDanish")
+		{
+			@Override
+			public void onClick()
+			{
+				getSession().setLocale(new Locale("da", "DK"));
+			}
+		});
+		add(new Link("goKorean")
+		{
+			@Override
+			public void onClick()
+			{
+				getSession().setLocale(new Locale("ko", "KR"));
+			}
+		});
+	}
+}

Modified: wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/pub2/PubApplication.java
URL: http://svn.apache.org/viewvc/wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/pub2/PubApplication.java?rev=672603&r1=672602&r2=672603&view=diff
==============================================================================
--- wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/pub2/PubApplication.java (original)
+++ wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/pub2/PubApplication.java Sat Jun 28 22:50:41 2008
@@ -1,45 +1,45 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.wicket.examples.pub2;
-
-import org.apache.wicket.Page;
-import org.apache.wicket.examples.WicketExampleApplication;
-
-/**
- * Application class for the linkomatic example.
- * 
- * @author Jonathan Locke
- */
-public class PubApplication extends WicketExampleApplication
-{
-	/**
-	 * Constructor
-	 */
-	public PubApplication()
-	{
-	}
-
-	/**
-	 * @see org.apache.wicket.Application#getHomePage()
-	 */
-	@Override
-	public Class< ? extends Page< ? >> getHomePage()
-	{
-		return Home.class;
-	}
-
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.wicket.examples.pub2;
+
+import org.apache.wicket.Page;
+import org.apache.wicket.examples.WicketExampleApplication;
+
+/**
+ * Application class for the linkomatic example.
+ * 
+ * @author Jonathan Locke
+ */
+public class PubApplication extends WicketExampleApplication
+{
+	/**
+	 * Constructor
+	 */
+	public PubApplication()
+	{
+	}
+
+	/**
+	 * @see org.apache.wicket.Application#getHomePage()
+	 */
+	@Override
+	public Class< ? extends Page> getHomePage()
+	{
+		return Home.class;
+	}
+
+}

Modified: wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/repeater/BasePage.java
URL: http://svn.apache.org/viewvc/wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/repeater/BasePage.java?rev=672603&r1=672602&r2=672603&view=diff
==============================================================================
--- wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/repeater/BasePage.java (original)
+++ wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/repeater/BasePage.java Sat Jun 28 22:50:41 2008
@@ -29,7 +29,7 @@
  * 
  * @author igor
  */
-public class BasePage extends ExamplePage<Void>
+public class BasePage extends ExamplePage
 {
 	private Contact selected;
 
@@ -38,8 +38,7 @@
 	 */
 	public BasePage()
 	{
-		add(new Label<String>("selectedLabel", new PropertyModel<String>(this,
-			"selectedContactLabel")));
+		add(new Label("selectedLabel", new PropertyModel<String>(this, "selectedContactLabel")));
 		add(new FeedbackPanel("feedback"));
 	}
 
@@ -61,7 +60,7 @@
 	/**
 	 * 
 	 */
-	class ActionPanel extends Panel<Contact>
+	class ActionPanel extends Panel
 	{
 		/**
 		 * @param id
@@ -72,12 +71,12 @@
 		public ActionPanel(String id, IModel<Contact> model)
 		{
 			super(id, model);
-			add(new Link<Void>("select")
+			add(new Link("select")
 			{
 				@Override
 				public void onClick()
 				{
-					selected = (Contact)getParent().getModelObject();
+					selected = (Contact)getParent().getDefaultModelObject();
 				}
 			});
 		}

Modified: wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/repeater/ExamplePage.java
URL: http://svn.apache.org/viewvc/wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/repeater/ExamplePage.java?rev=672603&r1=672602&r2=672603&view=diff
==============================================================================
--- wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/repeater/ExamplePage.java (original)
+++ wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/repeater/ExamplePage.java Sat Jun 28 22:50:41 2008
@@ -24,7 +24,7 @@
  * 
  * @param <T>
  */
-public abstract class ExamplePage<T> extends WicketExamplePage<T>
+public abstract class ExamplePage extends WicketExamplePage
 {
 	/**
 	 * Get downcast session object for easy access by subclasses

Modified: wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/repeater/FormPage.java
URL: http://svn.apache.org/viewvc/wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/repeater/FormPage.java?rev=672603&r1=672602&r2=672603&view=diff
==============================================================================
--- wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/repeater/FormPage.java (original)
+++ wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/repeater/FormPage.java Sat Jun 28 22:50:41 2008
@@ -46,7 +46,7 @@
 	 */
 	public FormPage()
 	{
-		form = new Form<Void>("form");
+		form = new Form("form");
 		add(form);
 
 		// create a repeater that will display the list of contacts.
@@ -111,7 +111,7 @@
 	/**
 	 * Panel that houses row-actions
 	 */
-	private class ActionPanel extends Panel<Contact>
+	private class ActionPanel extends Panel
 	{
 		/**
 		 * @param id
@@ -122,21 +122,21 @@
 		public ActionPanel(String id, IModel<Contact> model)
 		{
 			super(id, model);
-			add(new Link<Void>("select")
+			add(new Link("select")
 			{
 				@Override
 				public void onClick()
 				{
-					setSelected(ActionPanel.this.getModelObject());
+					setSelected((Contact)ActionPanel.this.getDefaultModelObject());
 				}
 			});
 
-			SubmitLink<?> removeLink = new SubmitLink<Void>("remove", form)
+			SubmitLink removeLink = new SubmitLink("remove", form)
 			{
 				@Override
 				public void onSubmit()
 				{
-					Contact contact = ActionPanel.this.getModelObject();
+					Contact contact = (Contact)ActionPanel.this.getDefaultModelObject();
 					info("Removed contact " + contact);
 					DatabaseLocator.getDatabase().delete(contact);
 				}