You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by gs...@apache.org on 2007/10/15 22:18:41 UTC

svn commit: r584893 [3/10] - in /wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket: ./ ajax/ ajax/form/ ajax/markup/html/navigation/paging/ application/ behavior/ feedback/ markup/ markup/html/ markup/html/body/ markup/html/border/ markup/htm...

Modified: wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/PackageResourceReference.java
URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/PackageResourceReference.java?rev=584893&r1=584892&r2=584893&view=diff
==============================================================================
--- wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/PackageResourceReference.java (original)
+++ wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/PackageResourceReference.java Mon Oct 15 13:18:27 2007
@@ -25,10 +25,10 @@
 
 /**
  * A convenience class for creating resource references to static resources.
- * 
+ *
  * @author Jonathan Locke
  * @author Eelco Hillenius
- * 
+ *
  * @deprecated Use {@link ResourceReference} instead. This class will be removed in Wicket 2.0
  */
 public class PackageResourceReference extends ResourceReference
@@ -39,8 +39,8 @@
 	private int hash;
 
 	/**
-	 * Constuctor to get a resource reference to a packaged resource.
-	 * 
+	 * Constructor to get a resource reference to a packaged resource.
+	 *
 	 * @param application
 	 *            The application to bind to
 	 * @param scope
@@ -54,7 +54,7 @@
 	 *            The Style of the PackageResource
 	 * @throws IllegalArgumentException
 	 *             when no corresponding resource is found
-	 * 
+	 *
 	 * @see ResourceReference#ResourceReference(Class, String)
 	 */
 	public PackageResourceReference(Application application, Class scope, String name,
@@ -73,8 +73,8 @@
 	}
 
 	/**
-	 * Constuctor to get a resource reference to a packaged resource.
-	 * 
+	 * Constructor to get a resource reference to a packaged resource.
+	 *
 	 * @param application
 	 *            The application to bind to
 	 * @param scope
@@ -91,11 +91,11 @@
 	}
 
 	/**
-	 * Constuctor to get a resource reference to a packaged resource.
-	 * 
+	 * Constructor to get a resource reference to a packaged resource.
+	 *
 	 * The scope of this constructor will be the org.apache.wicket.Application.class
-	 * itself. so the shared resources key wil be "org.apache.wicket.Application/name"
-	 * 
+	 * itself. so the shared resources key will be "org.apache.wicket.Application/name"
+	 *
 	 * @param application
 	 *            The application to bind to
 	 * @param name
@@ -110,9 +110,9 @@
 	}
 
 	/**
-	 * Constuctor to get a resource reference to a packaged resource that is
-	 * already bound to the current applicaiton.
-	 * 
+	 * Constructor to get a resource reference to a packaged resource that is
+	 * already bound to the current application.
+	 *
 	 * @param scope
 	 *            The scope of the binding
 	 * @param name
@@ -146,10 +146,10 @@
 		if (obj instanceof PackageResourceReference)
 		{
 			PackageResourceReference that = (PackageResourceReference)obj;
-			return checkEquals(this.getScope(), that.getScope())
-					&& checkEquals(this.getName(), that.getName())
-					&& checkEquals(this.getLocale(), that.getLocale())
-					&& checkEquals(this.getStyle(), that.getStyle());
+			return checkEquals(getScope(), that.getScope())
+					&& checkEquals(getName(), that.getName())
+					&& checkEquals(getLocale(), that.getLocale())
+					&& checkEquals(getStyle(), that.getStyle());
 		}
 		return false;
 	}
@@ -177,7 +177,7 @@
 	 * Checks whether the packaged resource can be found. If it can't be found,
 	 * an {@link IllegalArgumentException} will be thrown. If it was found, this
 	 * method just returns.
-	 * 
+	 *
 	 * @param scope
 	 *            the scope of the resource
 	 * @param name

Modified: wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/WebMarkupContainer.java
URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/WebMarkupContainer.java?rev=584893&r1=584892&r2=584893&view=diff
==============================================================================
--- wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/WebMarkupContainer.java (original)
+++ wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/WebMarkupContainer.java Mon Oct 15 13:18:27 2007
@@ -23,7 +23,7 @@
 /**
  * A container of HTML markup and components. It is very similar to the base
  * class MarkupContainer, except that the markup type is defined to be HTML.
- * 
+ *
  * @author Jonathan Locke
  * @author Juergen Donnerstag
  */
@@ -49,7 +49,7 @@
 
 	/**
 	 * Gets the markup type for this component.
-	 * 
+	 *
 	 * @return Markup type of HTML
 	 */
 	public String getMarkupType()
@@ -58,8 +58,8 @@
 	}
 
 	/**
-	 * A convinience method to return the WebPage. Same as getPage().
-	 * 
+	 * A convenience method to return the WebPage. Same as getPage().
+	 *
 	 * @return WebPage
 	 */
 	public final WebPage getWebPage()

Modified: wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/WebPage.java
URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/WebPage.java?rev=584893&r1=584892&r2=584893&view=diff
==============================================================================
--- wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/WebPage.java (original)
+++ wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/WebPage.java Mon Oct 15 13:18:27 2007
@@ -20,7 +20,6 @@
 import org.apache.wicket.IPageMap;
 import org.apache.wicket.IRequestTarget;
 import org.apache.wicket.Page;
-import org.apache.wicket.PageMap;
 import org.apache.wicket.PageParameters;
 import org.apache.wicket.RequestCycle;
 import org.apache.wicket.ResourceReference;
@@ -56,7 +55,7 @@
  * PageParameters argument (which wraps any query string parameters for a
  * request). In case the page has both constructors, the constructor with
  * PageParameters will be used.
- * 
+ *
  * @author Jonathan Locke
  * @author Eelco Hillenius
  * @author Juergen Donnerstag
@@ -80,7 +79,7 @@
 
 		/**
 		 * Construct.
-		 * 
+		 *
 		 * @param webPage
 		 */
 		PageMapChecker(WebPage webPage)
@@ -139,7 +138,7 @@
 			{
 				// Here is our trickery to detect whether the current request
 				// was made in a new window/ tab, in which case it should go in
-				// a different page map so that we don't intermangle the history
+				// a different page map so that we don't intermingle the history
 				// of those windows
 				CharSequence url = null;
 				if (target instanceof IBookmarkablePageRequestTarget)
@@ -226,7 +225,7 @@
 	 * that nothing is done with the page parameters argument. This constructor
 	 * is provided so that tools such as IDEs will include it their list of
 	 * suggested constructors for derived classes.
-	 * 
+	 *
 	 * @param parameters
 	 *            Wrapped query string parameters.
 	 */
@@ -243,7 +242,7 @@
 	 * org.apache.wicket.markup. To support VXML (voice markup), one might
 	 * create the package org.apache.wicket.markup.vxml and a subclass of Page
 	 * called VoicePage.
-	 * 
+	 *
 	 * @return Markup type for HTML
 	 */
 	public String getMarkupType()
@@ -252,20 +251,20 @@
 	}
 
 	/**
-	 * This method is called when the compressing coding and response stategies
+	 * This method is called when the compressing coding and response strategies
 	 * are configured in your Application object like this:
-	 * 
+	 *
 	 * <pre>
 	 * protected IRequestCycleProcessor newRequestCycleProcessor()
 	 * {
 	 * 	return new UrlCompressingWebRequestProcessor();
 	 * }
 	 * </pre>
-	 * 
+	 *
 	 * @return The URLCompressor for this webpage.
-	 * 
+	 *
 	 * @since 1.2
-	 * 
+	 *
 	 * @see UrlCompressingWebRequestProcessor
 	 * @see UrlCompressor
 	 */
@@ -336,7 +335,7 @@
 
 	/**
 	 * Creates and returns a bookmarkable link to this application's home page.
-	 * 
+	 *
 	 * @param id
 	 *            Name of link
 	 * @return Link to home page for this application
@@ -347,7 +346,7 @@
 	}
 
 	/**
-	 * 
+	 *
 	 * @see org.apache.wicket.Component#onDetach()
 	 */
 	protected void onDetach()

Modified: wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/body/BodyTagAttributeModifier.java
URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/body/BodyTagAttributeModifier.java?rev=584893&r1=584892&r2=584893&view=diff
==============================================================================
--- wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/body/BodyTagAttributeModifier.java (original)
+++ wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/body/BodyTagAttributeModifier.java Mon Oct 15 13:18:27 2007
@@ -31,15 +31,14 @@
 /**
  * An attribute modifier specifically for body tags.
  * <p>
- * Panels have associated markup files and if they contain
- * <code>&lt;wicket:head&gt;</code> and <code>&lt;body onLoad="..."&gt;</code>
- * then the body's <code>onLoad</code> attribute will be appended to the page's
- * onLoad attribute. That appendation happens by means of an AttributeModifier
- * which the Panel adds to the body container. In the case where the Panel is
- * removed or replaced, then the AttributeModifier must be removed or at least
- * disabled. That exactly is what this special purpose AttributeModifier does,
- * i.e. it disables itself if the owner component (Panel) is removed or replaced.
- *
+ * Panels have associated markup files and if they contain <code>&lt;wicket:head&gt;</code> and
+ * <code>&lt;body onLoad="..."&gt;</code> then the body's <code>onLoad</code> attribute will be
+ * appended to the page's onLoad attribute. That accretion happens by means of an AttributeModifier
+ * which the Panel adds to the body container. In the case where the Panel is removed or replaced,
+ * then the AttributeModifier must be removed or at least disabled. That exactly is what this
+ * special purpose AttributeModifier does, i.e. it disables itself if the owner component (Panel) is
+ * removed or replaced.
+ * 
  * @author Juergen Donnerstag
  */
 public final class BodyTagAttributeModifier extends AttributeModifier
@@ -47,15 +46,13 @@
 	private static final long serialVersionUID = 1L;
 
 	/**
-	 * Make sure we don't keep a reference to the component longer than realy
-	 * needed.
+	 * Make sure we don't keep a reference to the component longer than really needed.
 	 */
 	private transient WeakReference componentReference;
 
 	/**
-	 * Create a new attribute modifier with the given attribute name and model
-	 * to replace with. The additional boolean flag specifies whether to add the
-	 * attribute if it is not present.
+	 * Create a new attribute modifier with the given attribute name and model to replace with. The
+	 * additional boolean flag specifies whether to add the attribute if it is not present.
 	 * 
 	 * @param attribute
 	 *            The attribute name to replace the value for
@@ -74,8 +71,8 @@
 	}
 
 	/**
-	 * Create a new attribute modifier with the given attribute name and model
-	 * to replace with. The attribute will not be added if it is not present.
+	 * Create a new attribute modifier with the given attribute name and model to replace with. The
+	 * attribute will not be added if it is not present.
 	 * 
 	 * @param attribute
 	 *            The attribute name to replace the value for
@@ -92,18 +89,18 @@
 	}
 
 	/**
-	 * Create a new attribute modifier with the given attribute name and
-	 * expected pattern to match plus the model to replace with. A null pattern
-	 * will match the attribute regardless of its value. The additional boolean
-	 * flag specifies whether to add the attribute if it is not present.
+	 * Create a new attribute modifier with the given attribute name and expected pattern to match
+	 * plus the model to replace with. A null pattern will match the attribute regardless of its
+	 * value. The additional boolean flag specifies whether to add the attribute if it is not
+	 * present.
 	 * 
 	 * @param attribute
 	 *            The attribute name to replace the value for
 	 * @param pattern
 	 *            The pattern of the current attribute value to match
 	 * @param addAttributeIfNotPresent
-	 *            Whether to add the attribute if it is not present and the
-	 *            replacement value is not null
+	 *            Whether to add the attribute if it is not present and the replacement value is not
+	 *            null
 	 * @param replaceModel
 	 *            The model to replace the value with
 	 * @param behaviorOwner
@@ -118,10 +115,9 @@
 	}
 
 	/**
-	 * Create a new attribute modifier with the given attribute name and
-	 * expected pattern to match plus the model to replace with. A null pattern
-	 * will match the attribute regardless of its value. The attribute will not
-	 * be added if it is not present.
+	 * Create a new attribute modifier with the given attribute name and expected pattern to match
+	 * plus the model to replace with. A null pattern will match the attribute regardless of its
+	 * value. The attribute will not be added if it is not present.
 	 * 
 	 * @param attribute
 	 *            The attribute name to replace the value for
@@ -149,19 +145,18 @@
 	{
 		if (behaviorOwner != null)
 		{
-			this.componentReference = new WeakReference(behaviorOwner);
+			componentReference = new WeakReference(behaviorOwner);
 		}
 	}
 
 	/**
-	 * @see org.apache.wicket.AttributeModifier#newValue(java.lang.String,
-	 *      java.lang.String)
+	 * @see org.apache.wicket.AttributeModifier#newValue(java.lang.String, java.lang.String)
 	 */
 	protected String newValue(final String currentValue, final String replacementValue)
 	{
 		// If no behavior owner has been provided, than behave as if this
 		// were a standard normal attribute modifier
-		if (this.componentReference != null)
+		if (componentReference != null)
 		{
 			// Get the owner of the attribute modifier (e.g. the Panel, not the
 			// Body)
@@ -180,7 +175,7 @@
 			// return the attribute value unchanged.
 
 			// Component.findPage() is 'protected'. But this works as well.
-			if ( !(behaviorOwner instanceof Page) && behaviorOwner.findParent(Page.class) == null)
+			if (!(behaviorOwner instanceof Page) && behaviorOwner.findParent(Page.class) == null)
 			{
 				setEnabled(false);
 				return currentValue;
@@ -194,16 +189,16 @@
 				return currentValue;
 			}
 		}
-		if(currentValue != null && !currentValue.trim().endsWith(";"))
+		if (currentValue != null && !currentValue.trim().endsWith(";"))
 		{
-			return currentValue + ";"+ replacementValue;
+			return currentValue + ";" + replacementValue;
 		}
 		return (currentValue == null ? replacementValue : currentValue + replacementValue);
 	}
 
 	/**
-	 * AttributeModifiers must be Serialzable but WeakReferences are not. Hence,
-	 * we need to implement our read/write methods to properly support it.
+	 * AttributeModifiers must be Serialzable but WeakReferences are not. Hence, we need to
+	 * implement our read/write methods to properly support it.
 	 * 
 	 * @see Serializable
 	 * 
@@ -225,8 +220,8 @@
 	}
 
 	/**
-	 * AttributeModifiers must be Serialzable but WeakReferences are not. Hence,
-	 * we need to implement our read/write methods to properly support it.
+	 * AttributeModifiers must be Serialzable but WeakReferences are not. Hence, we need to
+	 * implement our read/write methods to properly support it.
 	 * 
 	 * @see Serializable
 	 * 

Modified: wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/border/MarkupComponentBorder.java
URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/border/MarkupComponentBorder.java?rev=584893&r1=584892&r2=584893&view=diff
==============================================================================
--- wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/border/MarkupComponentBorder.java (original)
+++ wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/border/MarkupComponentBorder.java Mon Oct 15 13:18:27 2007
@@ -36,10 +36,9 @@
 import org.apache.wicket.util.resource.locator.IResourceStreamLocator;
 
 /**
- * This is a IComponentBorder implementation that can be used if you have markup
- * that should be around a component. It works just like {@link Border} so you
- * have to have a <wicket:border>HTML before<wicket:body/>HTML after</wicket:border>
- * in the html of your subclass.
+ * This is a IComponentBorder implementation that can be used if you have markup that should be
+ * around a component. It works just like {@link Border} so you have to have a <wicket:border>HTML
+ * before<wicket:body/>HTML after</wicket:border> in the html of your subclass.
  * 
  * @author jcompagner
  */
@@ -86,9 +85,9 @@
 					else
 					{
 						throw new WicketRuntimeException(
-								"Unexpected tag encountered in markup of component border "
-										+ getClass().getName() + ". Tag: " + wt.toString()
-										+ ", expected tag: <wicket:border>");
+								"Unexpected tag encountered in markup of component border " +
+										getClass().getName() + ". Tag: " + wt.toString() +
+										", expected tag: <wicket:border>");
 					}
 				}
 				else
@@ -100,9 +99,9 @@
 					else
 					{
 						throw new WicketRuntimeException(
-								"Unexpected tag encountered in markup of component border "
-										+ getClass().getName() + ". Tag: " + wt.toString()
-										+ ", expected tag: <wicket:body> or </wicket:body>");
+								"Unexpected tag encountered in markup of component border " +
+										getClass().getName() + ". Tag: " + wt.toString() +
+										", expected tag: <wicket:body> or </wicket:body>");
 					}
 				}
 			}
@@ -114,14 +113,14 @@
 
 		if (!stream.hasMore())
 		{
-			throw new WicketRuntimeException("Markup for component border " + getClass().getName()
-					+ " ended prematurely, was expecting </wicket:border>");
+			throw new WicketRuntimeException("Markup for component border " + getClass().getName() +
+					" ended prematurely, was expecting </wicket:border>");
 		}
 	}
 
 	/**
 	 * 
-	 * @see IComponentBorder#renderAfter(org.apache.wicket.Component) 
+	 * @see IComponentBorder#renderAfter(org.apache.wicket.Component)
 	 */
 	public void renderAfter(Component component)
 	{
@@ -141,9 +140,9 @@
 				else
 				{
 					throw new WicketRuntimeException(
-							"Unexpected tag encountered in markup of component border "
-									+ getClass().getName() + ". Tag: " + wt.toString()
-									+ ", expected tag: </wicket:border>");
+							"Unexpected tag encountered in markup of component border " +
+									getClass().getName() + ". Tag: " + wt.toString() +
+									", expected tag: </wicket:border>");
 				}
 			}
 			response.write(e.toCharSequence());
@@ -164,7 +163,7 @@
 		final String markupType = getMarkupType(owner);
 
 		// TODO we need to expose this functionality for any class not just for
-		// markupcontainers in markupcache so we dont have to replicate this
+		// markupcontainers in markupcache so we don't have to replicate this
 		// logic here
 
 		// Get locator to search for the resource
@@ -201,8 +200,8 @@
 
 		if (markupResourceStream == null)
 		{
-			throw new WicketRuntimeException("Could not find markup for component border `"
-					+ getClass().getName() + "`");
+			throw new WicketRuntimeException("Could not find markup for component border `" +
+					getClass().getName() + "`");
 		}
 
 		try
@@ -213,8 +212,9 @@
 		}
 		catch (Exception e)
 		{
-			throw new WicketRuntimeException("Could not parse markup from markup resource stream: "
-					+ markupResourceStream.toString());
+			throw new WicketRuntimeException(
+					"Could not parse markup from markup resource stream: " +
+							markupResourceStream.toString());
 		}
 	}
 

Modified: wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/debug/PageView.java
URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/debug/PageView.java?rev=584893&r1=584892&r2=584893&view=diff
==============================================================================
--- wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/debug/PageView.java (original)
+++ wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/debug/PageView.java Mon Oct 15 13:18:27 2007
@@ -33,10 +33,10 @@
 
 
 /**
- * This is a simple Wicket component that displays all components of a Page in a
- * table representation. Useful for debugging.
+ * This is a simple Wicket component that displays all components of a Page in a table
+ * representation. Useful for debugging.
  * <p>
- * Simply add this code to your page's contructor:
+ * Simply add this code to your page's constructor:
  * 
  * <pre>
  * add(new PageView(&quot;componentTree&quot;, this));
@@ -138,8 +138,8 @@
 	}
 
 	/**
-	 * Get recursively all components of the page, extract the information
-	 * relevant for us and add them to a list.
+	 * Get recursively all components of the page, extract the information relevant for us and add
+	 * them to a list.
 	 * 
 	 * @param page
 	 * @return List of component data objects

Modified: wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/AbstractChoice.java
URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/AbstractChoice.java?rev=584893&r1=584892&r2=584893&view=diff
==============================================================================
--- wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/AbstractChoice.java (original)
+++ wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/AbstractChoice.java Mon Oct 15 13:18:27 2007
@@ -31,7 +31,7 @@
 
 /**
  * Abstract base class for all choice (html select) options.
- * 
+ *
  * @author Jonathan Locke
  * @author Eelco Hillenius
  * @author Johan Compagner
@@ -39,7 +39,7 @@
 abstract class AbstractChoice extends FormComponent
 {
 	/**
-	 * 
+	 *
 	 */
 	private static final long serialVersionUID = 1L;
 
@@ -51,7 +51,7 @@
 
 	/**
 	 * Constructor.
-	 * 
+	 *
 	 * @param id
 	 *            See Component
 	 * @see org.apache.wicket.Component#Component(String)
@@ -63,7 +63,7 @@
 
 	/**
 	 * Constructor.
-	 * 
+	 *
 	 * @param id
 	 *            See Component
 	 * @param choices
@@ -77,7 +77,7 @@
 
 	/**
 	 * Constructor.
-	 * 
+	 *
 	 * @param id
 	 *            See Component
 	 * @param renderer
@@ -93,7 +93,7 @@
 
 	/**
 	 * Constructor.
-	 * 
+	 *
 	 * @param id
 	 *            See Component
 	 * @param model
@@ -109,7 +109,7 @@
 
 	/**
 	 * Constructor.
-	 * 
+	 *
 	 * @param id
 	 *            See Component
 	 * @param model
@@ -128,7 +128,7 @@
 
 	/**
 	 * Constructor.
-	 * 
+	 *
 	 * @param id
 	 *            See Component
 	 * @param choices
@@ -142,7 +142,7 @@
 
 	/**
 	 * Constructor.
-	 * 
+	 *
 	 * @param id
 	 *            See Component
 	 * @param renderer
@@ -160,7 +160,7 @@
 
 	/**
 	 * Constructor.
-	 * 
+	 *
 	 * @param id
 	 *            See Component
 	 * @param model
@@ -176,7 +176,7 @@
 
 	/**
 	 * Constructor.
-	 * 
+	 *
 	 * @param id
 	 *            See Component
 	 * @param model
@@ -213,7 +213,7 @@
 
 	/**
 	 * Sets the list of choices
-	 * 
+	 *
 	 * @param choices
 	 *            model representing the list of choices
 	 * @return this for chaining
@@ -233,7 +233,7 @@
 
 	/**
 	 * Sets the list of choices.
-	 * 
+	 *
 	 * @param choices
 	 *            the list of choices
 	 * @return this for chaining
@@ -261,7 +261,7 @@
 
 	/**
 	 * Set the choice renderer to be used.
-	 * 
+	 *
 	 * @param renderer
 	 * @return this for chaining
 	 */
@@ -289,7 +289,7 @@
 	}
 
 	/**
-	 * 
+	 *
 	 * @param selected
 	 *            The object that's currently selected
 	 * @return Any default choice, such as "Choose One", depending on the subclass
@@ -301,7 +301,7 @@
 
 	/**
 	 * Gets whether the given value represents the current selection.
-	 * 
+	 *
 	 * @param object
 	 *            The object to check
 	 * @param index
@@ -314,7 +314,7 @@
 
 	/**
 	 * Gets whether the given value is disabled. This default implementation always returns false.
-	 * 
+	 *
 	 * @param object
 	 *            The object to check
 	 * @param index
@@ -330,7 +330,7 @@
 
 	/**
 	 * Handle the container's body.
-	 * 
+	 *
 	 * @param markupStream
 	 *            The markup stream
 	 * @param openTag
@@ -357,8 +357,8 @@
 	}
 
 	/**
-	 * Generats and appends html for a single choice into the provided buffer
-	 * 
+	 * Generates and appends html for a single choice into the provided buffer
+	 *
 	 * @param buffer
 	 *            Appending string buffer that will have the generated html appended
 	 * @param choice
@@ -414,7 +414,7 @@
 	 * Override this method if you want to localize the display values of the generated options. By
 	 * default false is returned so that the display values of options are not tested if they have a
 	 * i18n key.
-	 * 
+	 *
 	 * @return true If you want to localize the display values, default == false
 	 */
 	protected boolean localizeDisplayValues()
@@ -424,7 +424,7 @@
 
 	/**
 	 * Change object to represent the change of the choices property
-	 * 
+	 *
 	 * @author ivaynberg
 	 */
 	private class ChoicesListChange extends Change
@@ -451,7 +451,7 @@
 
 		/**
 		 * Make debugging easier
-		 * 
+		 *
 		 * @see java.lang.Object#toString()
 		 */
 		public String toString()

Modified: wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/CheckBox.java
URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/CheckBox.java?rev=584893&r1=584892&r2=584893&view=diff
==============================================================================
--- wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/CheckBox.java (original)
+++ wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/CheckBox.java Mon Oct 15 13:18:27 2007
@@ -29,24 +29,24 @@
  * HTML checkbox input component.
  * <p>
  * Java:
- * 
+ *
  * <pre>
  * form.add(new CheckBox(&quot;bool&quot;));
  * </pre>
- * 
+ *
  * HTML:
- * 
+ *
  * <pre>
  *  &lt;input type=&quot;checkbox&quot; wicket:id=&quot;bool&quot; /&gt;
  * </pre>
- * 
+ *
  * </p>
  * <p>
  * You can can extend this class and override method
  * wantOnSelectionChangedNotifications() to force server roundtrips on each
  * selection change.
  * </p>
- * 
+ *
  * @author Jonathan Locke
  */
 public class CheckBox extends FormComponent implements IOnChangeListener
@@ -80,14 +80,14 @@
 	}
 
 	/**
-	 * Template method that can be overriden by clients that implement
+	 * Template method that can be overridden by clients that implement
 	 * IOnChangeListener to be notified by onChange events of a select element.
 	 * This method does nothing by default.
 	 * <p>
 	 * Called when a option is selected of a dropdown list that wants to be
 	 * notified of this event. This method is to be implemented by clients that
 	 * want to be notified of selection events.
-	 * 
+	 *
 	 * @param newSelection
 	 *            The newly selected object of the backing model NOTE this is
 	 *            the same as you would get by calling getModelObject() if the
@@ -103,7 +103,7 @@
 	 * generated with each selection change, resulting in the model being
 	 * updated (of just this component) and onSelectionChanged being called.
 	 * This method returns false by default.
-	 * 
+	 *
 	 * @return True if this component's onSelectionChanged event handler should
 	 *         called using javascript if the selection changes
 	 */
@@ -123,10 +123,10 @@
 		}
 		return super.getStatelessHint();
 	}
-	
+
 	/**
 	 * Processes the component tag.
-	 * 
+	 *
 	 * @param tag
 	 *            Tag to modify
 	 * @see org.apache.wicket.Component#onComponentTag(ComponentTag)

Modified: wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/CheckGroup.java
URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/CheckGroup.java?rev=584893&r1=584892&r2=584893&view=diff
==============================================================================
--- wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/CheckGroup.java (original)
+++ wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/CheckGroup.java Mon Oct 15 13:18:27 2007
@@ -37,9 +37,9 @@
  * group component. The model of the CheckGroup component has to be an instance
  * of java.util.Collection. The model collection of the group is filled with
  * model objects of all selected Check components.
- * 
+ *
  * ie
- * 
+ *
  * <code>
  * <span wicket:id="checkboxgroup">
  *   ...
@@ -49,15 +49,15 @@
  *   ...
  * </span>
  * </code>
- * 
+ *
  * @see org.apache.wicket.markup.html.form.Check
  * @see org.apache.wicket.markup.html.form.CheckGroupSelector
- * 
+ *
  * <p>
  * Note: This component does not support cookie persistence
- * 
+ *
  * @author Igor Vaynberg
- * 
+ *
  */
 public class CheckGroup extends FormComponent implements IOnChangeListener
 {
@@ -65,7 +65,7 @@
 
 	/**
 	 * Constructor that will create a default model collection
-	 * 
+	 *
 	 * @param id
 	 *            component id
 	 */
@@ -78,12 +78,12 @@
 	/**
 	 * Constructor that wraps the provided collection with the
 	 * org.apache.wicket.model.Model object
-	 * 
+	 *
 	 * @param id
 	 *            component id
 	 * @param collection
 	 *            collection to be used as the model
-	 * 
+	 *
 	 */
 	public CheckGroup(String id, Collection collection)
 	{
@@ -180,7 +180,7 @@
 
 	/**
 	 * Check group does not support persistence through cookies
-	 * 
+	 *
 	 * @see org.apache.wicket.markup.html.form.FormComponent#supportsPersistence()
 	 */
 	protected final boolean supportsPersistence()
@@ -198,7 +198,7 @@
 		tag.remove("disabled");
 		tag.remove("name");
 	}
-	
+
 	/**
 	 * Called when a selection changes.
 	 */
@@ -217,7 +217,7 @@
 	 * Called when a {@link Check} is clicked in a {@link CheckGroup} that wants
 	 * to be notified of this event. This method is to be implemented by clients
 	 * that want to be notified of selection events.
-	 * 
+	 *
 	 * @param newSelection
 	 *            The new selection of the {@link CheckGroup}. NOTE this is the
 	 *            same as you would get by calling getModelObject() if the new
@@ -229,8 +229,8 @@
 
 	/**
 	 * This method should be overridden to return true if it is desirable to
-	 * have on-selection-changed notifiaction.
-	 * 
+	 * have on-selection-changed notification.
+	 *
 	 * @return true if component should receive on-selection-changed
 	 *         notifications, false otherwise
 	 */

Modified: wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/CheckGroupSelector.java
URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/CheckGroupSelector.java?rev=584893&r1=584892&r2=584893&view=diff
==============================================================================
--- wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/CheckGroupSelector.java (original)
+++ wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/CheckGroupSelector.java Mon Oct 15 13:18:27 2007
@@ -21,20 +21,20 @@
 import org.apache.wicket.markup.html.WebMarkupContainer;
 
 /**
- * Selects and unselects all Check components under the same
+ * Selects and deselects all Check components under the same
  * CheckGroup as itself. Selection toggling is accomplished by generating an
  * onclick javascript event handler.
- * 
+ *
  * @see org.apache.wicket.markup.html.form.CheckGroup
  * @see org.apache.wicket.markup.html.form.Check
 
  * @author Igor Vaynberg
- * 
+ *
  */
 public class CheckGroupSelector extends WebMarkupContainer
 {
 	/**
-	 * 
+	 *
 	 */
 	private static final long serialVersionUID = 1L;
 

Modified: wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/DropDownChoice.java
URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/DropDownChoice.java?rev=584893&r1=584892&r2=584893&view=diff
==============================================================================
--- wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/DropDownChoice.java (original)
+++ wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/DropDownChoice.java Mon Oct 15 13:18:27 2007
@@ -29,10 +29,10 @@
  * A choice implemented as a dropdown menu/list.
  * <p>
  * Java:
- * 
+ *
  * <pre>
  * List SITES = Arrays.asList(new String[] { &quot;The Server Side&quot;, &quot;Java Lobby&quot;, &quot;Java.Net&quot; });
- * 
+ *
  * // Add a dropdown choice component that uses Input's 'site' property to designate the
  * // current selection, and that uses the SITES list for the available options.
  * // Note that when the selection is null, Wicket will lookup a localized string to
@@ -40,24 +40,24 @@
  * // which can be found in DropDownChoicePage.properties
  * form.add(new DropDownChoice(&quot;site&quot;, SITES));
  * </pre>
- * 
+ *
  * HTML:
- * 
+ *
  * <pre>
  *   	&lt;select wicket:id=&quot;site&quot;&gt;
  *   		&lt;option&gt;site 1&lt;/option&gt;
  *   		&lt;option&gt;site 2&lt;/option&gt;
  *   	&lt;/select&gt;
  * </pre>
- * 
+ *
  * </p>
- * 
+ *
  * <p>
  * You can can extend this class and override method
  * wantOnSelectionChangedNotifications() to force server roundtrips on each
  * selection change.
  * </p>
- * 
+ *
  * @author Jonathan Locke
  * @author Eelco Hillenius
  * @author Johan Compagner
@@ -159,7 +159,7 @@
 
 	/**
 	 * Processes the component tag.
-	 * 
+	 *
 	 * @param tag
 	 *            Tag to modify
 	 * @see org.apache.wicket.Component#onComponentTag(org.apache.wicket.markup.ComponentTag)
@@ -183,7 +183,7 @@
 				{
 					// restore url back to real wicket path as its going to be interpreted by the form itself
 					url = ((PortletRequestContext)rc).getLastEncodedPath();
-				}				
+				}
 				tag.put("onchange", form.getJsForInterfaceUrl(url));
 			}
 			else
@@ -199,14 +199,14 @@
 	}
 
 	/**
-	 * Template method that can be overriden by clients that implement
+	 * Template method that can be overridden by clients that implement
 	 * IOnChangeListener to be notified by onChange events of a select element.
 	 * This method does nothing by default.
 	 * <p>
 	 * Called when a option is selected of a dropdown list that wants to be
 	 * notified of this event. This method is to be implemented by clients that
 	 * want to be notified of selection events.
-	 * 
+	 *
 	 * @param newSelection
 	 *            The newly selected object of the backing model NOTE this is
 	 *            the same as you would get by calling getModelObject() if the
@@ -226,7 +226,7 @@
 	 * {@link #wantOnSelectionChangedNotifications()} return false and add an
 	 * {@link AjaxFormComponentUpdatingBehavior} to the component using the
 	 * <tt>onchange</tt> event.
-	 * 
+	 *
 	 * @return True if this component's onSelectionChanged event handler should
 	 *         called using javascript if the selection changes
 	 */
@@ -234,7 +234,7 @@
 	{
 		return false;
 	}
-	
+
 	/**
 	 * @see org.apache.wicket.MarkupContainer#getStatelessHint()
 	 */

Modified: wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/Form.java
URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/Form.java?rev=584893&r1=584892&r2=584893&view=diff
==============================================================================
--- wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/Form.java (original)
+++ wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/Form.java Mon Oct 15 13:18:27 2007
@@ -89,19 +89,19 @@
  * </li>
  * </li>
  * </p>
- * 
- * Form for handling (file) uploads with multipart requests is supported by callign
+ *
+ * Form for handling (file) uploads with multipart requests is supported by calling
  * setMultiPart(true) ( although wicket will try to automatically detect this for you ). Use this
  * with {@link org.apache.wicket.markup.html.form.upload.FileUploadField} components. You can attach
- * mutliple FileUploadField components for muliple file uploads.
+ * multiple FileUploadField components for multiple file uploads.
  * <p>
  * In case of an upload error two resource keys are available to specify error messages:
  * uploadTooLarge and uploadFailed
- * 
+ *
  * ie in [page].properties
- * 
+ *
  * [form-id].uploadTooLarge=You have uploaded a file that is over the allowed limit of 2Mb
- * 
+ *
  * <p>
  * If you want to have multiple IFormSubmittingComponents which submit the same form, simply put two
  * or more IFormSubmittingComponents somewhere in the hierarchy of components that are children of
@@ -120,7 +120,7 @@
  * <p>
  * When a nested form is submitted, the user entered values in outer (parent) forms are preserved
  * and only the fields in the submitted form are validated. </b>
- * 
+ *
  * @author Jonathan Locke
  * @author Juergen Donnerstag
  * @author Eelco Hillenius
@@ -133,7 +133,7 @@
 {
 	/**
 	 * Visitor used for validation
-	 * 
+	 *
 	 * @author Igor Vaynberg (ivaynberg)
 	 */
 	public static abstract class ValidationVisitor implements FormComponent.IVisitor
@@ -164,14 +164,14 @@
 
 		/**
 		 * Callback that should be used to validate form component
-		 * 
+		 *
 		 * @param formComponent
 		 */
 		public abstract void validate(FormComponent formComponent);
 	}
 
 	/**
-	 * 
+	 *
 	 */
 	class FormDispatchRequest extends Request
 	{
@@ -183,7 +183,7 @@
 
 		/**
 		 * Construct.
-		 * 
+		 *
 		 * @param realRequest
 		 * @param url
 		 */
@@ -311,7 +311,7 @@
 
 	/**
 	 * Constructs a form with no validation.
-	 * 
+	 *
 	 * @param id
 	 *            See Component
 	 */
@@ -336,7 +336,7 @@
 
 	/**
 	 * Adds a form validator to the form.
-	 * 
+	 *
 	 * @param validator
 	 *            validator
 	 * @throws IllegalArgumentException
@@ -363,7 +363,7 @@
 
 	/**
 	 * Removes a form validator from the form.
-	 * 
+	 *
 	 * @param validator
 	 *            validator
 	 * @throws IllegalArgumentException
@@ -489,7 +489,7 @@
 
 	/**
 	 * /** Registers an error feedback message for this component
-	 * 
+	 *
 	 * @param error
 	 *            error message
 	 * @param args
@@ -502,7 +502,7 @@
 
 	/**
 	 * Gets the IFormSubmittingComponent which submitted this form.
-	 * 
+	 *
 	 * @return The component which submitted this form, or null if the processing was not triggered
 	 *         by a registered IFormSubmittingComponent
 	 */
@@ -548,7 +548,7 @@
 	 * </p>
 	 * There can be only one default submit component per form hierarchy. So if you want to get the
 	 * default component on a nested form, it will actually delegate the call to root form. </b>
-	 * 
+	 *
 	 * @return The submit component to set as the default IFormSubmittingComponent, or null when you
 	 *         want to 'unset' any previously set default IFormSubmittingComponent
 	 */
@@ -567,10 +567,10 @@
 	/**
 	 * This generates a piece of javascript code that sets the url in the special hidden field and
 	 * submits the form.
-	 * 
+	 *
 	 * Warning: This code should only be called in the rendering phase for form components inside
 	 * the form because it uses the css/javascript id of the form which can be stored in the markup.
-	 * 
+	 *
 	 * @param url
 	 *            The interface url that has to be stored in the hidden field and submitted
 	 * @return The javascript code that submits the form.
@@ -585,7 +585,7 @@
 	/**
 	 * Gets the maximum size for uploads. If null, the setting
 	 * {@link IApplicationSettings#getDefaultMaximumUploadSize()} is used.
-	 * 
+	 *
 	 * @return the maximum size
 	 */
 	public Bytes getMaxSize()
@@ -599,7 +599,7 @@
 
 	/**
 	 * Returns the root form or this, if this is the root form.
-	 * 
+	 *
 	 * @return root form or this form
 	 */
 	public Form getRootForm()
@@ -630,7 +630,7 @@
 	 * <p>
 	 * Returned prefix will be used for all form components. The prefix can also be overridden on
 	 * form component level by overriding {@link FormComponent#getValidatorKeyPrefix()}
-	 * 
+	 *
 	 * @return prefix prepended to validator keys
 	 */
 	public String getValidatorKeyPrefix()
@@ -640,7 +640,7 @@
 
 	/**
 	 * Gets whether the current form has any error registered.
-	 * 
+	 *
 	 * @return True if this form has at least one error.
 	 */
 	public final boolean hasError()
@@ -659,7 +659,7 @@
 	/**
 	 * Returns whether the form is a root form, which means that there's no other form in it's
 	 * parent hierarchy.
-	 * 
+	 *
 	 * @return true if form is a root form, false otherwise
 	 */
 	public boolean isRootForm()
@@ -669,7 +669,7 @@
 
 	/**
 	 * Checks if this form has been submitted during the current request
-	 * 
+	 *
 	 * @return true if the form has been submitted during this request, false otherwise
 	 */
 	public final boolean isSubmitted()
@@ -679,7 +679,7 @@
 
 	/**
 	 * Method made final because we want to ensure users call setVersioned.
-	 * 
+	 *
 	 * @see org.apache.wicket.Component#isVersioned()
 	 */
 	public boolean isVersioned()
@@ -719,9 +719,9 @@
 
 	/**
 	 * THIS METHOD IS NOT PART OF THE WICKET API. DO NOT ATTEMPT TO OVERRIDE OR CALL IT.
-	 * 
+	 *
 	 * Handles form submissions.
-	 * 
+	 *
 	 * @see Form#validate()
 	 */
 	public final void onFormSubmitted()
@@ -783,7 +783,7 @@
 	 * <p>
 	 * See the class documentation for further details on the form processing
 	 * </p>
-	 * 
+	 *
 	 * @return False if the form had an error
 	 */
 	public boolean process()
@@ -823,11 +823,11 @@
 	}
 
 	/**
-	 * Removes already persisted data for all FormComponent childs and disable persistence for the
+	 * Removes already persisted data for all FormComponent children and disable persistence for the
 	 * same components.
-	 * 
+	 *
 	 * @see Page#removePersistedFormData(Class, boolean)
-	 * 
+	 *
 	 * @param disablePersistence
 	 *            if true, disable persistence for all FormComponents on that page. If false, it
 	 *            will remain unchanged.
@@ -870,7 +870,7 @@
 	 * </p>
 	 * There can be only one default button per form hierarchy. So if you set default button on a
 	 * nested form, it will actually delegate the call to root form. </b>
-	 * 
+	 *
 	 * @param submittingComponent
 	 *            The component to set as the default submitting component, or null when you want to
 	 *            'unset' any previously set default component
@@ -890,7 +890,7 @@
 	/**
 	 * Sets the maximum size for uploads. If null, the setting
 	 * {@link IApplicationSettings#getDefaultMaximumUploadSize()} is used.
-	 * 
+	 *
 	 * @param maxSize
 	 *            The maximum size
 	 */
@@ -900,9 +900,9 @@
 	}
 
 	/**
-	 * Set to true to use enctype='multipart/form-data', and to process file uplloads by default
+	 * Set to true to use enctype='multipart/form-data', and to process file uploads by default
 	 * multiPart = false
-	 * 
+	 *
 	 * @param multiPart
 	 *            whether this form should behave as a multipart form
 	 */
@@ -931,7 +931,7 @@
 
 	/**
 	 * Convenient and typesafe way to visit all the form components on a form
-	 * 
+	 *
 	 * @param visitor
 	 *            The visitor interface to call
 	 */
@@ -951,7 +951,7 @@
 		 * there are just too many exceptions in the code base because of borders. This time it is
 		 * to solve the problem tested in BoxBorderTestPage_3 where the Form is defined in the box
 		 * border and the FormComponents are in the "body". Thus, the formComponents are not childs
-		 * of the form. They are rather childs of the border, as the Form itself.
+		 * of the form. They are rather children of the border, as the Form itself.
 		 */
 		if (getParent() instanceof Border)
 		{
@@ -971,7 +971,7 @@
 	/**
 	 * Convenient and typesafe way to visit all the form components on a form postorder (deepest
 	 * first)
-	 * 
+	 *
 	 * @param visitor
 	 *            The visitor interface to call
 	 */
@@ -983,8 +983,8 @@
 		 * TODO Post 1.2 General: Maybe we should re-think how Borders are implemented, because
 		 * there are just too many exceptions in the code base because of borders. This time it is
 		 * to solve the problem tested in BoxBorderTestPage_3 where the Form is defined in the box
-		 * border and the FormComponents are in the "body". Thus, the formComponents are not childs
-		 * of the form. They are rather childs of the border, as the Form itself.
+		 * border and the FormComponents are in the "body". Thus, the formComponents are not children
+		 * of the form. They are rather children of the border, as the Form itself.
 		 */
 		if (getParent() instanceof Border)
 		{
@@ -1003,7 +1003,7 @@
 
 	/**
 	 * Find out whether there is any registered error for a form component.
-	 * 
+	 *
 	 * @return whether there is any registered error for a form component
 	 */
 	private boolean anyFormComponentError()
@@ -1028,7 +1028,7 @@
 	/**
 	 * Method for dispatching/calling a interface on a page from the given url. Used by
 	 * {@link org.apache.wicket.markup.html.form.Form#onFormSubmitted()} for dispatching events
-	 * 
+	 *
 	 * @param page
 	 *            The page where the event should be called on.
 	 * @param url
@@ -1090,7 +1090,7 @@
 	/**
 	 * Gets form validator from formValidators Object (which may be an array of IFormValidators or a
 	 * single instance, for efficiency) at the given index
-	 * 
+	 *
 	 * @param index
 	 *            The index of the validator to get
 	 * @return The form validator
@@ -1146,7 +1146,7 @@
 	/**
 	 * Persist (e.g. Cookie) FormComponent data to be reloaded and re-assigned to the FormComponent
 	 * automatically when the page is visited by the user next time.
-	 * 
+	 *
 	 * @see org.apache.wicket.markup.html.form.FormComponent#updateModel()
 	 */
 	private void persistFormComponentData()
@@ -1190,7 +1190,7 @@
 	 * will do a form submit using this component. This method is overridable as what we do is best
 	 * effort only, and may not what you want in specific situations. So if you have specific
 	 * usability concerns, or want to follow another strategy, you may override this method.
-	 * 
+	 *
 	 * @param markupStream
 	 *            The markup stream
 	 * @param openTag
@@ -1254,7 +1254,7 @@
 	 * Regardless of whether a submitting component was found, the form's onSubmit method is called
 	 * next.
 	 * </p>
-	 * 
+	 *
 	 * @param submittingComponent
 	 *            the component that triggered this form processing, or null if the processing was
 	 *            triggered by something else (like a non-Wicket submit button or a javascript
@@ -1276,7 +1276,7 @@
 	/**
 	 * Returns the HiddenFieldId which will be used as the name and id property of the hiddenfield
 	 * that is generated for event dispatches.
-	 * 
+	 *
 	 * @return The name and id of the hidden field.
 	 */
 	protected final String getHiddenFieldId()
@@ -1287,7 +1287,7 @@
 	/**
 	 * Returns the javascript/css id of this form that will be used to generated the id="xxx"
 	 * attribute.
-	 * 
+	 *
 	 * @return The javascript/css id of this form.
 	 * @deprecated use {@link #getMarkupId()}
 	 */
@@ -1300,7 +1300,7 @@
 	/**
 	 * Gets the method used to submit the form. Defaults to either what is explicitly defined in the
 	 * markup or 'post'. Override this if you have a requirement to alter this behavior.
-	 * 
+	 *
 	 * @return the method used to submit the form.
 	 */
 	protected String getMethod()
@@ -1316,7 +1316,7 @@
 
 	/**
 	 * Gets the form component persistence manager; it is lazy loaded.
-	 * 
+	 *
 	 * @return The form component value persister
 	 */
 	protected IValuePersister getValuePersister()
@@ -1326,11 +1326,11 @@
 
 	/**
 	 * Handles multi-part processing of the submitted data.
-	 * 
+	 *
 	 * WARNING
-	 * 
+	 *
 	 * If this method is overridden it can break {@link FileUploadField}s on this form
-	 * 
+	 *
 	 * @return false if form is multipart and upload failed
 	 */
 	protected boolean handleMultiPart()
@@ -1497,7 +1497,7 @@
 
 	/**
 	 * Append an additional hidden input tag to support anchor tags that can submit a form.
-	 * 
+	 *
 	 * @param markupStream
 	 *            The markup stream
 	 * @param openTag
@@ -1597,10 +1597,10 @@
 	 * Update the model of all form components using the fields that were sent with the current
 	 * request. This method only updates models when the Form.validate() is called first that takes
 	 * care of the conversion for the FormComponents.
-	 * 
+	 *
 	 * Normally this method will not be called when a validation error occurs in one of the form
 	 * components.
-	 * 
+	 *
 	 * @see org.apache.wicket.markup.html.form.FormComponent#updateModel()
 	 */
 	protected final void updateFormComponentModels()
@@ -1646,10 +1646,10 @@
 
 	/**
 	 * Checks if the specified form component visible and is attached to a page
-	 * 
+	 *
 	 * @param fc
 	 *            form component
-	 * 
+	 *
 	 * @return true if the form component and all its parents are visible and there component is in
 	 *         page's hierarchy
 	 */
@@ -1679,7 +1679,7 @@
 
 	/**
 	 * Validates form with the given form validator
-	 * 
+	 *
 	 * @param validator
 	 */
 	protected final void validateFormValidator(final IFormValidator validator)
@@ -1704,7 +1704,7 @@
 					validate = false;
 					break;
 				}
-				// check if the dependent componet is visible and is attached to
+				// check if the dependent component is visible and is attached to
 				// the page
 				else if (!isFormComponentVisibleInPage(dependent))
 				{
@@ -1758,7 +1758,7 @@
 
 	/**
 	 * Change object to keep track of form validator removals
-	 * 
+	 *
 	 * @author Igor Vaynberg (ivaynberg at apache dot org)
 	 */
 	private class FormValidatorRemovedChange extends Change
@@ -1769,7 +1769,7 @@
 
 		/**
 		 * Construct.
-		 * 
+		 *
 		 * @param removed
 		 */
 		public FormValidatorRemovedChange(final IFormValidator removed)

Modified: wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/FormComponent.java
URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/FormComponent.java?rev=584893&r1=584892&r2=584893&view=diff
==============================================================================
--- wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/FormComponent.java (original)
+++ wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/FormComponent.java Mon Oct 15 13:18:27 2007
@@ -68,7 +68,7 @@
  * <li>${name}: the name of the component that failed</li>
  * <li>${label}: the label of the component</li>
  * </ul>
- * 
+ *
  * @author Jonathan Locke
  * @author Eelco Hillenius
  * @author Johan Compagner
@@ -105,7 +105,7 @@
 	{
 		/**
 		 * Called when visiting a form component
-		 * 
+		 *
 		 * @param formComponent
 		 *            The form component
 		 * @return component
@@ -115,7 +115,7 @@
 
 	/**
 	 * {@link IErrorMessageSource} used for error messages against this form components.
-	 * 
+	 *
 	 * @author ivaynberg
 	 */
 	private class MessageSource implements IErrorMessageSource
@@ -200,9 +200,9 @@
 		}
 
 		/**
-		 * Creates a new params map that additionaly contains the default input, name, label
+		 * Creates a new params map that additionally contains the default input, name, label
 		 * parameters
-		 * 
+		 *
 		 * @param params
 		 *            original params map
 		 * @return new params map
@@ -268,7 +268,7 @@
 
 	/**
 	 * Change object to capture the required flag change
-	 * 
+	 *
 	 * @author Igor Vaynberg (ivaynberg)
 	 */
 	private final class RequiredStateChange extends Change
@@ -288,7 +288,7 @@
 
 	/**
 	 * Adapter that makes this component appear as {@link IValidatable}
-	 * 
+	 *
 	 * @author ivaynberg
 	 */
 	private class ValidatableAdapter implements IValidatable
@@ -346,10 +346,10 @@
 	/**
 	 * Visits any form components inside component if it is a container, or component itself if it
 	 * is itself a form component
-	 * 
+	 *
 	 * @param component
 	 *            starting point of the traversal
-	 * 
+	 *
 	 * @param visitor
 	 *            The visitor to call
 	 */
@@ -445,7 +445,7 @@
 
 	/**
 	 * Adds a validator to this form component.
-	 * 
+	 *
 	 * @param validator
 	 *            The validator
 	 * @return This
@@ -477,7 +477,7 @@
 	/**
 	 * Checks if the form component's 'required' requirement is met. This method should typically
 	 * only be called when {@link #isRequired()} returns true.
-	 * 
+	 *
 	 * @return true if the 'required' requirement is met, false otherwise
 	 */
 	public boolean checkRequired()
@@ -512,11 +512,11 @@
 
 	/**
 	 * Reports a validation error against this form component.
-	 * 
+	 *
 	 * The actual error is reported by creating a {@link ValidationErrorFeedback} object that holds
 	 * both the validation error and the generated error message - so a custom feedback panel can
 	 * have access to both.
-	 * 
+	 *
 	 * @param error
 	 *            validation error
 	 */
@@ -531,7 +531,7 @@
 		if (message == null)
 		{
 			// XXX maybe make message source remember tried resource keys so a
-			// more detailederror message can be created - like show which keys
+			// more detailed error message can be created - like show which keys
 			// were tried
 			message = "Could not locate error message for error: " + error.toString();
 		}
@@ -541,7 +541,7 @@
 	/**
 	 * Gets the converted input. The converted input is set earlier though the implementation of
 	 * {@link #convertInput()}.
-	 * 
+	 *
 	 * @return value of input possibly converted into an appropriate type
 	 */
 	public final Object getConvertedInput()
@@ -553,7 +553,7 @@
 	 * Sets the converted input. This method is typically not called by clients, unless they
 	 * override {@link #convertInput()}, in which case they should call this method to update the
 	 * input for this component instance.
-	 * 
+	 *
 	 * @param convertedInput
 	 *            the converted input
 	 */
@@ -578,7 +578,7 @@
 
 	/**
 	 * Gets the request parameter for this component as a string.
-	 * 
+	 *
 	 * @return The value in the request for this component
 	 */
 	public String getInput()
@@ -596,7 +596,7 @@
 
 	/**
 	 * Gets the request parameters for this component as strings.
-	 * 
+	 *
 	 * @return The values in the request for this component
 	 */
 	public String[] getInputAsArray()
@@ -622,7 +622,7 @@
 	 * Gets the string to be used for the <tt>name</tt> attribute of the form element. Generated
 	 * using the path from the form to the component, excluding the form itself. Override it if you
 	 * want even a smaller name. E.g. if you know for sure that the id is unique within a form.
-	 * 
+	 *
 	 * @return The string to use as the form element's name attribute
 	 */
 	public String getInputName()
@@ -654,7 +654,7 @@
 	/**
 	 * Use hasRawInput() to check if this component has raw input because null can mean 2 things: It
 	 * doesn't have rawinput or the rawinput is really null.
-	 * 
+	 *
 	 * @return The raw form input that is stored for this formcomponent
 	 */
 	public final String getRawInput()
@@ -686,7 +686,7 @@
 
 	/**
 	 * Gets an unmodifiable list of validators for this FormComponent.
-	 * 
+	 *
 	 * @return List of validators
 	 */
 	public final List getValidators()
@@ -710,7 +710,7 @@
 	/**
 	 * Gets current value for a form component, which can be either input data entered by the user,
 	 * or the component's model object if no input was provided.
-	 * 
+	 *
 	 * @return The value
 	 */
 	public final String getValue()
@@ -732,7 +732,7 @@
 	/**
 	 * Returns whether this component has raw input. Raw input is unconverted input straight from
 	 * the client.
-	 * 
+	 *
 	 * @return boolean whether this component has raw input.
 	 */
 	public final boolean hasRawInput()
@@ -781,7 +781,7 @@
 	 * will have null values passed in for input. However, component TextField is an example
 	 * (possibly the only one) that never gets a null passed in, even if the field is left empty
 	 * UNLESS it had attribute <code>disabled="disabled"</code> set.
-	 * 
+	 *
 	 * @return True if this component's input can be null. Returns true by default.
 	 */
 	public boolean isInputNullable()
@@ -818,9 +818,9 @@
 	/**
 	 * Gets whether this component is 'valid'. Valid in this context means that no validation errors
 	 * were reported the last time the form component was processed. This variable not only is
-	 * convenient for 'business' use, but is also nescesarry as we don't want the form component
+	 * convenient for 'business' use, but is also necessary as we don't want the form component
 	 * models updated with invalid input.
-	 * 
+	 *
 	 * @return valid whether this component is 'valid'
 	 */
 	public final boolean isValid()
@@ -856,9 +856,9 @@
 	/**
 	 * This method will retrieve the request parameter, validate it, and if valid update the model.
 	 * These are the same steps as would be performed by the form.
-	 * 
+	 *
 	 * This is useful when a formcomponent is used outside a form.
-	 * 
+	 *
 	 */
 	public final void processInput()
 	{
@@ -878,7 +878,7 @@
 	/**
 	 * The value will be made available to the validator property by means of ${label}. It does not
 	 * have any specific meaning to FormComponent itself.
-	 * 
+	 *
 	 * @param labelModel
 	 * @return this for chaining
 	 */
@@ -891,10 +891,10 @@
 	/**
 	 * Sets the value for a form component this value will be split the string with
 	 * {@link FormComponent#VALUE_SEPARATOR} and calls setModelValue(String[]) with that.
-	 * 
+	 *
 	 * @param value
 	 *            The value
-	 * 
+	 *
 	 * @deprecated call or override setModelValue(String[])
 	 */
 	public void setModelValue(final String value)
@@ -904,7 +904,7 @@
 
 	/**
 	 * Sets the value for a form component.
-	 * 
+	 *
 	 * @param value
 	 *            The value
 	 */
@@ -916,7 +916,7 @@
 
 	/**
 	 * Sets whether this component is to be persisted.
-	 * 
+	 *
 	 * @param persistent
 	 *            True if this component is to be persisted.
 	 * @return this for chaining
@@ -937,7 +937,7 @@
 
 	/**
 	 * Sets the required flag
-	 * 
+	 *
 	 * @param required
 	 * @return this for chaining
 	 */
@@ -959,7 +959,7 @@
 	/**
 	 * Sets the type that will be used when updating the model for this component. If no type is
 	 * specified String type is assumed.
-	 * 
+	 *
 	 * @param type
 	 * @return this for chaining
 	 */
@@ -977,13 +977,13 @@
 	 * Updates this components model from the request, it expects that the object is already
 	 * converted through the convertInput() call that is called by the validate() method when a form
 	 * is being processed.
-	 * 
+	 *
 	 * By default it just does this:
-	 * 
+	 *
 	 * <pre>
 	 * setModelObject(getConvertedInput());
 	 * </pre>
-	 * 
+	 *
 	 * DO NOT CALL THIS METHOD DIRECTLY UNLESS YOU ARE SURE WHAT YOU ARE DOING. USUALLY UPDATING
 	 * YOUR MODEL IS HANDLED BY THE FORM, NOT DIRECTLY BY YOU.
 	 */
@@ -1063,7 +1063,7 @@
 	/**
 	 * Gets validator from validators Object (which may be an array of IValidators or a single
 	 * instance, for efficiency) at the given index
-	 * 
+	 *
 	 * @param index
 	 *            The index of the validator to get
 	 * @return The validator
@@ -1175,12 +1175,12 @@
 	/**
 	 * Subclasses should overwrite this if the conversion is not done through the type field and the
 	 * IConverter. <strong>WARNING: this method may be removed in future versions.</strong>
-	 * 
+	 *
 	 * If conversion fails then a ConversionException should be thrown
-	 * 
+	 *
 	 * @param value
 	 *            The value can be the getInput() or through a cookie
-	 * 
+	 *
 	 * @return The converted value. default returns just the given value
 	 * @throws ConversionException
 	 *             If input can't be converted
@@ -1209,7 +1209,7 @@
 
 	/**
 	 * Gets the request parameter for this component as an int.
-	 * 
+	 *
 	 * @return The value in the request for this component
 	 */
 	protected final int inputAsInt()
@@ -1230,7 +1230,7 @@
 	/**
 	 * Gets the request parameter for this component as an int, using the given default in case no
 	 * corresponding request parameter was found.
-	 * 
+	 *
 	 * @param defaultValue
 	 *            Default value to return if request does not have an integer for this component
 	 * @return The value in the request for this component
@@ -1258,7 +1258,7 @@
 
 	/**
 	 * Gets the request parameters for this component as ints.
-	 * 
+	 *
 	 * @return The values in the request for this component
 	 */
 	protected final int[] inputAsIntArray()
@@ -1288,7 +1288,7 @@
 
 	/**
 	 * Processes the component tag.
-	 * 
+	 *
 	 * @param tag
 	 *            Tag to modify
 	 * @see org.apache.wicket.Component#onComponentTag(ComponentTag)
@@ -1307,7 +1307,7 @@
 
 	/**
 	 * Sets the temporary converted input value to null.
-	 * 
+	 *
 	 * @see org.apache.wicket.Component#onDetach()
 	 */
 	protected void onDetach()
@@ -1321,7 +1321,7 @@
 	 * Called by {@link #onComponentTag(ComponentTag)} when the component is disabled. By default,
 	 * this method will add a disabled="disabled" attribute to the tag. Components may override this
 	 * method to tweak the tag as they think is fit.
-	 * 
+	 *
 	 * @param tag
 	 *            the tag that is being rendered
 	 */

Modified: wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/FormComponentPanel.java
URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/FormComponentPanel.java?rev=584893&r1=584892&r2=584893&view=diff
==============================================================================
--- wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/FormComponentPanel.java (original)
+++ wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/FormComponentPanel.java Mon Oct 15 13:18:27 2007
@@ -37,10 +37,10 @@
  * It is recommended that you override {@link #convertInput()} and let it set
  * the value that represents the compound value of the nested components. Often,
  * this goes hand-in-hand with overriding {@link #onBeforeRender()}, where you
- * would analyse the model value, break it up and distribute the appropriate
+ * would analyze the model value, break it up and distribute the appropriate
  * values over the child components.
  * </p>
- * 
+ *
  * <p>
  * Here is a simple example of a panel with two components that multiplies and
  * sets that as the master model object. Note that for this simple example,
@@ -48,7 +48,7 @@
  * known. For more complete examples of using this class, see the
  * wicket-datetime project.
  * </p>
- * 
+ *
  * <pre>
  * public class Multiply extends FormComponentPanel
  * {
@@ -56,26 +56,26 @@
  * 	private int lhs = 0;
  * 	private int rhs = 0;
  * 	private TextField right;
- * 
+ *
  * 	public Multiply(String id)
  * 	{
  * 		super(id);
  * 		init();
  * 	}
- * 
+ *
  * 	public Multiply(String id, IModel model)
  * 	{
  * 		super(id, model);
  * 		init();
  * 	}
- * 
+ *
  * 	protected void convertInput()
  * 	{
  * 		Integer lhs = (Integer)left.getConvertedInput();
  * 		Integer rhs = (Integer)right.getConvertedInput();
  * 		setConvertedInput(lhs * rhs);
  * 	}
- * 
+ *
  * 	private void init()
  * 	{
  * 		add(left = new TextField(&quot;left&quot;, new PropertyModel(this, &quot;lhs&quot;), Integer.class));
@@ -85,31 +85,31 @@
  * 	}
  * }
  * </pre>
- * 
+ *
  * With this markup:
- * 
+ *
  * <pre>
  *   &lt;wicket:panel&gt;
  *     &lt;input type=&quot;text&quot; wicket:id=&quot;left&quot; size=&quot;2&quot; /&gt; * &lt;input type=&quot;text&quot; wicket:id=&quot;right&quot; size=&quot;2&quot; /&gt;
  *   &lt;/wicket:panel&gt;
  * </pre>
- * 
+ *
  * Which could be used, for example as:
- * 
+ *
  * <pre>
  *   add(new Multiply(&quot;multiply&quot;), new PropertyModel(m, &quot;multiply&quot;)));
  *   add(new Label(&quot;multiplyLabel&quot;, new PropertyModel(m, &quot;multiply&quot;)));
  * </pre>
- * 
+ *
  * and:
- * 
+ *
  * <pre>
  *   &lt;span wicket:id=&quot;multiply&quot;&gt;[multiply]&lt;/span&gt;
  *   = &lt;span wicket:id=&quot;multiplyLabel&quot;&gt;[result]&lt;/span&gt;
  * </pre>
- * 
+ *
  * </p>
- * 
+ *
  * @author eelcohillenius
  */
 public abstract class FormComponentPanel extends FormComponent
@@ -125,7 +125,7 @@
 
 	/**
 	 * Construct.
-	 * 
+	 *
 	 * @param id
 	 */
 	public FormComponentPanel(String id)
@@ -135,7 +135,7 @@
 
 	/**
 	 * Construct.
-	 * 
+	 *
 	 * @param id
 	 * @param model
 	 */
@@ -163,7 +163,7 @@
 
 	/**
 	 * Check the associated markup file for a wicket header tag
-	 * 
+	 *
 	 * @see org.apache.wicket.Component#renderHead(org.apache.wicket.markup.html.internal.HtmlHeaderContainer)
 	 */
 	public void renderHead(HtmlHeaderContainer container)
@@ -179,7 +179,7 @@
 	}
 
 	/**
-	 * 
+	 *
 	 * @see org.apache.wicket.Component#onComponentTag(org.apache.wicket.markup.ComponentTag)
 	 */
 	protected void onComponentTag(final ComponentTag tag)
@@ -196,7 +196,7 @@
 	}
 
 	/**
-	 * 
+	 *
 	 * @see org.apache.wicket.Component#onComponentTagBody(org.apache.wicket.markup.MarkupStream,
 	 *      org.apache.wicket.markup.ComponentTag)
 	 */

Modified: wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/IChoiceRenderer.java
URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/IChoiceRenderer.java?rev=584893&r1=584892&r2=584893&view=diff
==============================================================================
--- wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/IChoiceRenderer.java (original)
+++ wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/IChoiceRenderer.java Mon Oct 15 13:18:27 2007
@@ -19,17 +19,17 @@
 import org.apache.wicket.IClusterable;
 
 /**
- * Renders one choice. Seperates the 'id' values used for internal
+ * Renders one choice. Separates the 'id' values used for internal
  * representation from 'display values' which are the values shown to the user
  * of components that use this renderer.
- * 
+ *
  * @author jcompagner
  */
 public interface IChoiceRenderer extends IClusterable
 {
 	/**
 	 * Get the value for displaying to an end user.
-	 * 
+	 *
 	 * @param object
 	 *            the actual object
 	 * @return the value meant for displaying to an end user
@@ -41,7 +41,7 @@
 	 * attribute of a choice element) The id can be extracted from the object
 	 * like a primary key, or if the list is stable you could just return a
 	 * toString of the index.
-	 * 
+	 *
 	 * @param object
 	 *            The object for which the id should be generated
 	 * @param index

Modified: wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/IFormVisitorParticipant.java
URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/IFormVisitorParticipant.java?rev=584893&r1=584892&r2=584893&view=diff
==============================================================================
--- wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/IFormVisitorParticipant.java (original)
+++ wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/IFormVisitorParticipant.java Mon Oct 15 13:18:27 2007
@@ -17,11 +17,11 @@
 package org.apache.wicket.markup.html.form;
 
 /**
- * Participates in the form visiting algoritm, and can hint that visiting should
+ * Participates in the form visiting algorithm, and can hint that visiting should
  * go on as normal ({@link #processChildren()} returns true) or is limited to
  * the same level (only siblings are processed, {@link #processChildren()}
  * returns false).
- * 
+ *
  * @author Pekka Enberg
  */
 public interface IFormVisitorParticipant
@@ -29,7 +29,7 @@
 	/**
 	 * Should children be traversed during visiting or should only the siblings
 	 * be processed.
-	 * 
+	 *
 	 * @return <tt>true</tt> if children should be traversed during form
 	 *         processing; <tt>false</tt> if only the siblings should be
 	 *         processed.

Modified: wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/RadioChoice.java
URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/RadioChoice.java?rev=584893&r1=584892&r2=584893&view=diff
==============================================================================
--- wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/RadioChoice.java (original)
+++ wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/RadioChoice.java Mon Oct 15 13:18:27 2007
@@ -33,31 +33,31 @@
  * A choice subclass that shows choices in radio style.
  * <p>
  * Java:
- * 
+ *
  * <pre>
  * List SITES = Arrays.asList(new String[] { &quot;The Server Side&quot;, &quot;Java Lobby&quot;, &quot;Java.Net&quot; });
  * // Add a radio choice component that uses Input's 'site' property to designate the
  * // current selection, and that uses the SITES list for the available options.
  * form.add(new RadioChoice(&quot;site&quot;, SITES));
  * </pre>
- * 
+ *
  * HTML:
- * 
+ *
  * <pre>
  *    &lt;span valign=&quot;top&quot; wicket:id=&quot;site&quot;&gt;
  *   	&lt;input type=&quot;radio&quot;&gt;site 1&lt;/input&gt;
  *   	&lt;input type=&quot;radio&quot;&gt;site 2&lt;/input&gt;
  *    &lt;/span&gt;
  * </pre>
- * 
+ *
  * </p>
- * 
+ *
  * <p>
  * You can can extend this class and override method
  * wantOnSelectionChangedNotifications() to force server roundtrips on each
  * selection change.
  * </p>
- * 
+ *
  * @author Jonathan Locke
  * @author Igor Vaynberg (ivaynberg)
  */
@@ -105,12 +105,12 @@
 
 		/**
 		 * Construct.
-		 * 
+		 *
 		 * @param prevSuffix
 		 */
 		PrefixChange(String prevSuffix)
 		{
-			this.prevPrefix = prevSuffix;
+			prevPrefix = prevSuffix;
 		}
 
 		/**
@@ -136,7 +136,7 @@
 
 	/**
 	 * Constructor
-	 * 
+	 *
 	 * @param id
 	 *            See Component
 	 * @see org.apache.wicket.Component#Component(String)
@@ -149,7 +149,7 @@
 
 	/**
 	 * Constructor
-	 * 
+	 *
 	 * @param id
 	 *            See Component
 	 * @param choices
@@ -164,7 +164,7 @@
 
 	/**
 	 * Constructor
-	 * 
+	 *
 	 * @param id
 	 *            See Component
 	 * @param renderer
@@ -182,7 +182,7 @@
 
 	/**
 	 * Constructor
-	 * 
+	 *
 	 * @param id
 	 *            See Component
 	 * @param model
@@ -200,7 +200,7 @@
 
 	/**
 	 * Constructor
-	 * 
+	 *
 	 * @param id
 	 *            See Component
 	 * @param model
@@ -221,7 +221,7 @@
 
 	/**
 	 * Constructor
-	 * 
+	 *
 	 * @param id
 	 *            See Component
 	 * @param choices
@@ -237,7 +237,7 @@
 
 	/**
 	 * Constructor
-	 * 
+	 *
 	 * @param id
 	 *            See Component
 	 * @param model
@@ -256,7 +256,7 @@
 
 	/**
 	 * Constructor
-	 * 
+	 *
 	 * @param id
 	 *            See Component
 	 * @param choices
@@ -275,7 +275,7 @@
 
 	/**
 	 * Constructor
-	 * 
+	 *
 	 * @param id
 	 *            See Component
 	 * @param model
@@ -316,14 +316,14 @@
 	}
 
 	/**
-	 * Template method that can be overriden by clients that implement
+	 * Template method that can be overridden by clients that implement
 	 * IOnChangeListener to be notified by onChange events of a select element.
 	 * This method does nothing by default.
 	 * <p>
 	 * Called when a option is selected of a dropdown list that wants to be
 	 * notified of this event. This method is to be implemented by clients that
 	 * want to be notified of selection events.
-	 * 
+	 *
 	 * @param newSelection
 	 *            The newly selected object of the backing model NOTE this is
 	 *            the same as you would get by calling getModelObject() if the
@@ -339,7 +339,7 @@
 	 * generated with each selection change, resulting in the model being
 	 * updated (of just this component) and onSelectionChanged being called.
 	 * This method returns false by default.
-	 * 
+	 *
 	 * @return True if this component's onSelectionChanged event handler should
 	 *         called using javascript if the selection changes
 	 */
@@ -472,7 +472,7 @@
 						{
 							// restore url back to real wicket path as its going to be interpreted by the form itself
 							url = ((PortletRequestContext)rc).getLastEncodedPath();
-						}				
+						}
 						buffer.append(" onclick=\"").append(form.getJsForInterfaceUrl(url)).append(
 								";\"");
 					}

Modified: wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/RadioGroup.java
URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/RadioGroup.java?rev=584893&r1=584892&r2=584893&view=diff
==============================================================================
--- wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/RadioGroup.java (original)
+++ wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/RadioGroup.java Mon Oct 15 13:18:27 2007
@@ -28,9 +28,9 @@
  * Instances of Radio have to be in the component hierarchy somewhere below the
  * group component. The model object of the group is set to the model object of
  * the selected radio component or null if none selected.
- * 
+ *
  * ie
- * 
+ *
  * <pre>
  *    &lt;span wicket:id=&quot;radiochoicegroup&quot;&gt;
  *      ...
@@ -40,10 +40,10 @@
  *      ...
  *    &lt;/span&gt;
  * </pre>
- * 
+ *
  * @author Igor Vaynberg
  * @author Sven Meier (svenmeier)
- * 
+ *
  */
 public class RadioGroup extends FormComponent implements IOnChangeListener
 {
@@ -153,14 +153,14 @@
 	}
 
 	/**
-	 * Template method that can be overriden by clients that implement
+	 * Template method that can be overridsen by clients that implement
 	 * IOnChangeListener to be notified by onChange events of a select element.
 	 * This method does nothing by default.
 	 * <p>
 	 * Called when a option is selected of a dropdown list that wants to be
 	 * notified of this event. This method is to be implemented by clients that
 	 * want to be notified of selection events.
-	 * 
+	 *
 	 * @param newSelection
 	 *            The newly selected object of the backing model NOTE this is
 	 *            the same as you would get by calling getModelObject() if the
@@ -172,7 +172,7 @@
 
 	/**
 	 * Radio group does not support persistence through cookies
-	 * 
+	 *
 	 * @see org.apache.wicket.markup.html.form.FormComponent#supportsPersistence()
 	 */
 	protected final boolean supportsPersistence()

Modified: wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/TextField.java
URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/TextField.java?rev=584893&r1=584892&r2=584893&view=diff
==============================================================================
--- wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/TextField.java (original)
+++ wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/TextField.java Mon Oct 15 13:18:27 2007
@@ -21,7 +21,7 @@
 
 /**
  * A simple text field.
- * 
+ *
  * @author Jonathan Locke
  */
 public class TextField extends AbstractTextComponent
@@ -73,7 +73,7 @@
 
 	/**
 	 * Processes the component tag.
-	 * 
+	 *
 	 * @param tag
 	 *            Tag to modify
 	 * @see org.apache.wicket.Component#onComponentTag(ComponentTag)
@@ -104,9 +104,9 @@
 	}
 
 	/**
-	 * Subclass should override this method if this textfields mappes on a different input type as
+	 * Subclass should override this method if this textfield is mapped on a different input type as
 	 * text. Like PasswordField or HiddenField.
-	 * 
+	 *
 	 * @return The input type of this textfield, default is null
 	 */
 	protected String getInputType()

Modified: wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/persistence/CookieValuePersister.java
URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/persistence/CookieValuePersister.java?rev=584893&r1=584892&r2=584893&view=diff
==============================================================================
--- wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/persistence/CookieValuePersister.java (original)
+++ wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/persistence/CookieValuePersister.java Mon Oct 15 13:18:27 2007
@@ -224,7 +224,7 @@
 	}
 
 	/**
-	 * Convinience method to get the http response.
+	 * Convenience method to get the http response.
 	 * 
 	 * @return WebResponse related to the RequestCycle
 	 */

Modified: wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/persistence/CookieValuePersisterSettings.java
URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/persistence/CookieValuePersisterSettings.java?rev=584893&r1=584892&r2=584893&view=diff
==============================================================================
--- wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/persistence/CookieValuePersisterSettings.java (original)
+++ wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/persistence/CookieValuePersisterSettings.java Mon Oct 15 13:18:27 2007
@@ -57,7 +57,7 @@
 	 * Sets the maximum age of the cookie in seconds.
 	 * 
 	 * @param maxAge
-	 *            the max age in secs.
+	 *            the max age in seconds.
 	 */
 	public void setMaxAge(int maxAge)
 	{

Modified: wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/upload/FileUpload.java
URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/upload/FileUpload.java?rev=584893&r1=584892&r2=584893&view=diff
==============================================================================
--- wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/upload/FileUpload.java (original)
+++ wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/upload/FileUpload.java Mon Oct 15 13:18:27 2007
@@ -54,13 +54,12 @@
 	}
 
 	/**
-	 * Close the streams which has been opened when getting the InputStream
-	 * using {@link #getInputStream()}. All the input streams are closed at the
-	 * end of the request. This is done when the FileUploadField, which is
-	 * associated with this FileUpload is detached.
+	 * Close the streams which has been opened when getting the InputStream using
+	 * {@link #getInputStream()}. All the input streams are closed at the end of the request. This
+	 * is done when the FileUploadField, which is associated with this FileUpload is detached.
 	 * <p>
-	 * If an exception is thrown when closing the input streams, we ignore it,
-	 * because the stream might have been closed already.
+	 * If an exception is thrown when closing the input streams, we ignore it, because the stream
+	 * might have been closed already.
 	 */
 	public final void closeStreams()
 	{
@@ -120,15 +119,14 @@
 	}
 
 	/**
-	 * Get an input stream for the file uploaded. Use this input stream if you
-	 * can't use {@link #writeTo(File)} for persisting the uploaded file. This
-	 * can be if you need to react upon the content of the file or need to
-	 * persist it elsewhere, i.e. a database or external filesystem.
+	 * Get an input stream for the file uploaded. Use this input stream if you can't use
+	 * {@link #writeTo(File)} for persisting the uploaded file. This can be if you need to react
+	 * upon the content of the file or need to persist it elsewhere, i.e. a database or external
+	 * filesystem.
 	 * <p>
 	 * <b>PLEASE NOTE!</b><br>
-	 * The InputStream return will be closed be Wicket at the end of the
-	 * request. If you need it across a request you need to hold on to this
-	 * FileUpload instead.
+	 * The InputStream return will be closed be Wicket at the end of the request. If you need it
+	 * across a request you need to hold on to this FileUpload instead.
 	 * 
 	 * @return Input stream with file contents.
 	 * @throws IOException
@@ -175,11 +173,11 @@
 	}
 
 	/**
-	 * Convinience method that copies the input stream returned by
-	 * {@link #getInputStream()} into a temporary file.
+	 * Convenience method that copies the input stream returned by {@link #getInputStream()} into a
+	 * temporary file.
 	 * <p>
-	 * Only use this if you actually need a {@link File} to work with, in all
-	 * other cases use {@link #getInputStream()} or {@link #getBytes()}
+	 * Only use this if you actually need a {@link File} to work with, in all other cases use
+	 * {@link #getInputStream()} or {@link #getBytes()}
 	 * 
 	 * @since 1.2
 	 * 

Modified: wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/upload/FileUploadField.java
URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/upload/FileUploadField.java?rev=584893&r1=584892&r2=584893&view=diff
==============================================================================
--- wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/upload/FileUploadField.java (original)
+++ wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/upload/FileUploadField.java Mon Oct 15 13:18:27 2007
@@ -179,7 +179,7 @@
 	 * The FileUploadField will close any input streams you have opened in its
 	 * FileUpload by default. If you wish to manage the stream yourself (e.g.
 	 * you want to use it in another thread) then you can override this method
-	 * to prevent this behaviour.
+	 * to prevent this behavior.
 	 * 
 	 * @return
 	 */

Modified: wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/upload/MultiFileUploadField.java
URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/upload/MultiFileUploadField.java?rev=584893&r1=584892&r2=584893&view=diff
==============================================================================
--- wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/upload/MultiFileUploadField.java (original)
+++ wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/upload/MultiFileUploadField.java Mon Oct 15 13:18:27 2007
@@ -46,18 +46,18 @@
 /**
  * Form component that allows the user to select multiple files to upload via a
  * single &lt;input type=&quot;file&quot;/&gt; field.
- * 
+ *
  * Notice that this component clears its model at the end of the request, so the
  * uploaded files MUST be processed within the request they were uploaded.
- * 
+ *
  * Uses javascript implementation from
  * http://the-stickman.com/web-development/javascript/upload-multiple-files-with-a-single-file-element/
- * 
+ *
  * For customizing caption text see {@link #RESOURCE_LIMITED} and
  * {@link #RESOURCE_UNLIMITED}
- * 
+ *
  * For an example of styling using CSS see the upload example in wicket-examples
- * 
+ *
  * @author Igor Vaynberg (ivaynberg)
  */
 public class MultiFileUploadField extends FormComponentPanel implements IHeaderContributor
@@ -71,17 +71,17 @@
 
 	/**
 	 * Resource key used to retrieve caption message for when a limit on the
-	 * number of uploads is specfied. The limit is represented via ${max}
+	 * number of uploads is specified. The limit is represented via ${max}
 	 * variable.
-	 * 
+	 *
 	 * Example: org.apache.wicket.mfu.caption.limited=Files (maximum ${max}):
 	 */
 	public static final String RESOURCE_LIMITED = "org.apache.wicket.mfu.caption.limited";
 
 	/**
 	 * Resource key used to retrieve caption message for when no limit on the
-	 * number of uploads is specfied.
-	 * 
+	 * number of uploads is specified.
+	 *
 	 * Example: org.apache.wicket.mfu.caption.unlimited=Files:
 	 */
 	public static final String RESOURCE_UNLIMITED = "org.apache.wicket.mfu.caption.unlimited";
@@ -105,7 +105,7 @@
 
 	/**
 	 * Constructor
-	 * 
+	 *
 	 * @param id
 	 */
 	public MultiFileUploadField(String id)
@@ -115,7 +115,7 @@
 
 	/**
 	 * Constructor
-	 * 
+	 *
 	 * @param id
 	 * @param max
 	 *            max number of files a user can upload
@@ -127,7 +127,7 @@
 
 	/**
 	 * Constructor
-	 * 
+	 *
 	 * @param id
 	 * @param model
 	 */
@@ -138,12 +138,12 @@
 
 	/**
 	 * Constructor
-	 * 
+	 *
 	 * @param id
 	 * @param model
 	 * @param max
 	 *            max number of files a user can upload
-	 * 
+	 *
 	 */
 	public MultiFileUploadField(String id, IModel model, int max)
 	{
@@ -344,7 +344,7 @@
 		// cleanup any caches
 		inputArrayCache = null;
 
-		// clean up the model because we dont want FileUpload objects in session
+		// clean up the model because we don't want FileUpload objects in session
 		Object modelObject = getModelObject();
 		if (modelObject != null && (modelObject instanceof Collection))
 		{
@@ -356,7 +356,7 @@
 
 	/**
 	 * Model that will construct the caption string
-	 * 
+	 *
 	 * @author ivaynberg
 	 */
 	private class CaptionModel extends AbstractReadOnlyModel

Modified: wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/validation/AbstractFormValidator.java
URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/validation/AbstractFormValidator.java?rev=584893&r1=584892&r2=584893&view=diff
==============================================================================
--- wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/validation/AbstractFormValidator.java (original)
+++ wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/validation/AbstractFormValidator.java Mon Oct 15 13:18:27 2007
@@ -28,26 +28,26 @@
 
 /**
  * Base class for {@link org.apache.wicket.markup.html.form.validation.IFormValidator}s.
- * 
+ *
  * @author Igor Vaynberg (ivaynberg)
  */
 public abstract class AbstractFormValidator implements IFormValidator
 {
 	/**
-	 * 
+	 *
 	 */
 	private static final long serialVersionUID = 1L;
 
 	/**
 	 * DEPRECATED/UNSUPPORTED
-	 * 
+	 *
 	 * Gets the default variables for interpolation.
-	 * 
+	 *
 	 * @return a map with the variables for interpolation
-	 * 
+	 *
 	 * @deprecated use {@link #variablesMap()} instead
 	 * @throws UnsupportedOperationException
-	 * 
+	 *
 	 * FIXME 2.0: remove asap
 	 */
 	protected final Map messageModel()
@@ -60,10 +60,10 @@
 	 * Reports an error against validatable using the map returned by
 	 * {@link #variablesMap()}for variable interpolations and
 	 * message key returned by {@link #resourceKey()}.
-	 * 
+	 *
 	 * @param fc
 	 *            form component against which the error is reported
-	 * 
+	 *
 	 */
 	public void error(FormComponent fc)
 	{
@@ -71,8 +71,8 @@
 	}
 
 	/**
-	 * Reports an error against the validatalbe using the given resource key
-	 * 
+	 * Reports an error against the validatable using the given resource key
+	 *
 	 * @param fc
 	 *            form component against which the error is reported
 	 * @param resourceKey
@@ -88,10 +88,10 @@
 	}
 
 	/**
-	 * Reports an error against the validatalbe using the given map for variable
+	 * Reports an error against the validatable using the given map for variable
 	 * interpolations and message resource key provided by
 	 * {@link #resourceKey()}
-	 * 
+	 *
 	 * @param fc
 	 *            form component against which the error is reported
 	 * @param vars
@@ -109,7 +109,7 @@
 	/**
 	 * Reports an error against the validatable using the specified resource key
 	 * and variable map
-	 * 
+	 *
 	 * @param fc
 	 *            form component against which the error is reported
 	 * @param resourceKey
@@ -154,7 +154,7 @@
 	 * FormComponent.labelModel or resource key [form-id].[form-component-id] in
 	 * that order</li>
 	 * </ul>
-	 * 
+	 *
 	 * @return a map with the variables for interpolation
 	 */
 	protected Map variablesMap()
@@ -194,7 +194,7 @@
 	/**
 	 * Gets the resource key for validator's error message from the
 	 * ApplicationSettings class.
-	 * 
+	 *
 	 * @return the resource key based on the form component
 	 */
 	protected String resourceKey()

Modified: wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/validation/FormComponentFeedbackBorder.java
URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/validation/FormComponentFeedbackBorder.java?rev=584893&r1=584892&r2=584893&view=diff
==============================================================================
--- wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/validation/FormComponentFeedbackBorder.java (original)
+++ wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/validation/FormComponentFeedbackBorder.java Mon Oct 15 13:18:27 2007
@@ -31,7 +31,7 @@
  * <p>
  * <strong>Note: </strong> Since this border checks its children do not use
  * setTransparentResolver(true) and add the children directly into the border
- * 
+ *
  * @author Jonathan Locke
  * @author Eelco Hillenius
  */
@@ -52,7 +52,7 @@
 
 		/**
 		 * Construct.
-		 * 
+		 *
 		 * @param id
 		 *            component id
 		 */
@@ -72,7 +72,7 @@
 
 	/**
 	 * Constructor.
-	 * 
+	 *
 	 * @param id
 	 *            See Component
 	 */
@@ -83,7 +83,7 @@
 	}
 
 	/**
-	 * Update the 'visible' flag to indicate the existance (or lack thereof) of feedback messages 
+	 * Update the 'visible' flag to indicate the existence (or lack thereof) of feedback messages
 	 */
 	public void updateFeedback()
 	{