fix some typos and links
git-svn-id: https://svn.apache.org/repos/asf/click/trunk/click@1175006 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/build/build.xml b/build/build.xml
index a90675f..41826c2 100644
--- a/build/build.xml
+++ b/build/build.xml
@@ -853,7 +853,7 @@
charset="UTF-8"
excludepackagenames="@{excludes}">
<classpath refid="@{classpath}"/>
- <link href="http://java.sun.com/j2se/1.5.0/docs/api/"/>
+ <link href="http://download.oracle.com/javase/1,5.0/docs/api/"/>
<link href="http://java.sun.com/j2ee/sdk_1.3/techdocs/api/"/>
<link href="http://jakarta.apache.org/commons/fileupload/apidocs/"/>
<link href="http://click.apache.org/docs/click-api/"/>
diff --git a/documentation/docs/click-online.html b/documentation/docs/click-online.html
index 3eb2053..43eea49 100644
--- a/documentation/docs/click-online.html
+++ b/documentation/docs/click-online.html
@@ -204,7 +204,7 @@
<div style="padding-left: 140px">
<a name="gswac" href="#"></a>
- <h4><a style="text-decoration: none" target="_blank" href="http://www.fdaoud.com/clickbook/">Getting Started With Apache Click</a></h4>
+ <h4><a style="text-decoration: none" target="_blank" href="http://www.fdaoud.com/en/click.html">Getting Started With Apache Click</a></h4>
This book is written by Frederic Daoud and is the first book on Apache
Click. The book is available as both an e-book and hard copy.
diff --git a/documentation/docs/faq.html b/documentation/docs/faq.html
index 7edca5f..e8c8e0f 100644
--- a/documentation/docs/faq.html
+++ b/documentation/docs/faq.html
@@ -145,13 +145,13 @@
plugin.
<p/>
To use the ClickIDE plugin, create a "Dynamic Web Project" and select the
- "Click" Project Faclet.
+ "Click" Project Facet.
<p/>
<img alt="ClickIDE Config Editor" src="../images/clickide_config_editor_1.png"/>
<br/>
</li>
<li>
- <a target="blank" class="external" href="http://code.google.com/p/click4nb/">Netbeans Plug-in</a>
+ <a target="blank" class="external" href="http://code.google.com/p/click4nb/">NetBeans Plug-in</a>
<p/>
NetBeans plug-in for Click is under development by
<a href="http://hantsy.blogspot.com/" class="external" target="_blank">Hantsy Bai</a>.
@@ -780,7 +780,7 @@
Examples include:
<p/>
<ul>
- <li>WAR/EAR is not unpacked - common with WebLogic and Websphere servers</li>
+ <li>WAR/EAR is not unpacked - common with WebLogic and WebSphere servers</li>
<li>File system permissions are restricted</li>
<li>Hosting applications on <a href="http://code.google.com/appengine/docs/java/overview.html">Google App Engine</a></li>
</ul>
diff --git a/documentation/docs/roadmap-changes.html b/documentation/docs/roadmap-changes.html
index 6b86d9d..18b82f6 100644
--- a/documentation/docs/roadmap-changes.html
+++ b/documentation/docs/roadmap-changes.html
@@ -1821,7 +1821,7 @@
[<a target='_blank' href="https://issues.apache.org/jira/browse/CLK-141">141</a>].
</li>
<li class="change">
- Added support for Hibernate AnnocationConfiguration. This issue was fixed by Jean-Francois.
+ Added support for Hibernate AnnotationConfiguration. This issue was fixed by Jean-Francois.
[<a target='_blank' href="https://issues.apache.org/jira/browse/CLK-355">355</a>].
</li>
<li class="change">
@@ -1897,7 +1897,7 @@
which enables conditional checking for Ajax requests.
</li>
<li class="change">
- Upgradeded to Scriptaculous 1.8.1 to fix auto form submit. This issue was raised by Andy Key.
+ Upgraded to Scriptaculous 1.8.1 to fix auto form submit. This issue was raised by Andy Key.
[<a target='_blank' href="https://issues.apache.org/jira/browse/CLK-336">336</a>].
</li>
<li class="change">
@@ -2052,7 +2052,7 @@
[<a target='_blank' href="https://issues.apache.org/jira/browse/CLK-250">250</a>].
</li>
<li class="change">
- Fixed exception when using <tt>Form.onSecurtyCheck</tt> in a stateful form.
+ Fixed exception when using <tt>Form.onSecurityCheck</tt> in a stateful form.
This issue was raised by Joel Schmidt
[<a target='_blank' href="https://issues.apache.org/jira/browse/CLK-267">267</a>].
</li>
@@ -2191,7 +2191,7 @@
[<a target='_blank' href="https://issues.apache.org/jira/browse/CLK-272">CLK-272</a>].
</li>
<li class="change">
- Fixed ClickUtils <tt>getMimieType()</tt> not supporting upper case file extensions.
+ Fixed ClickUtils <tt>getMimeType()</tt> not supporting upper case file extensions.
This issue was raised by Ben Warner
[<a target='_blank' href="https://issues.apache.org/jira/browse/CLK-276">CLK-276</a>].
</li>
@@ -2391,7 +2391,7 @@
Improved <a href="extras-api/org/apache/click/extras/control/EmailField.html">EmailField</a> validation.
</li>
<li class="change">
- Changed default <a href="click-api/org/apache/click/control/Form.html">Form</a> errorPostion from <tt>"middle"</tt> to <tt>"top"</tt>.
+ Changed default <a href="click-api/org/apache/click/control/Form.html">Form</a> errorPosition from <tt>"middle"</tt> to <tt>"top"</tt>.
</li>
<li class="change">
Fixed <a href="extras-api/org/apache/click/extras/cayenne/CayenneForm.html">CayenneForm</a>
@@ -3783,7 +3783,7 @@
</li>
<li class="change">Added optional Form validation. A
<a href="click-api/org/apache/click/control/Form.html#validate">validate</a>
- property has beed added to Form and a <a href="click-api/org/apache/click/control/Field.html#validate()">validate()</a>
+ property has been added to Form and a <a href="click-api/org/apache/click/control/Field.html#validate()">validate()</a>
method to Field. Field subclasses have been modified to support optional
validation. See the Click Examples Form Properties page for a demonstration.
</li>
diff --git a/documentation/xdocs/src/docbook/click/chapter-ajax.xml b/documentation/xdocs/src/docbook/click/chapter-ajax.xml
index a65c5f3..b176d0d 100644
--- a/documentation/xdocs/src/docbook/click/chapter-ajax.xml
+++ b/documentation/xdocs/src/docbook/click/chapter-ajax.xml
@@ -54,7 +54,7 @@
logic necessary to make the Ajax request, process the server response
and handle errors. This is easier than it sounds though as there is a wide
range of free JavaScript libraries and plugins available to help develop
- rich HTML front-ened. Since Click is a stateless framework and Page URLs
+ rich HTML front-ends. Since Click is a stateless framework and Page URLs
are bookmarkable, it is easy to integrate Click with existing JavaScript
technologies such as:
@@ -166,7 +166,7 @@
- determines whether the AjaxBehavior is the request target or not. Click
will only invoke the AjaxBehavior <methodname>onAction</methodname> method
if <methodname>isAjaxTarget</methodname> returns true. This
- allows for fine grained control over the exection of the <methodname>onAction</methodname>
+ allows for fine grained control over the execution of the <methodname>onAction</methodname>
method.
</para>
</listitem>
diff --git a/documentation/xdocs/src/docbook/click/chapter-best-practices.xml b/documentation/xdocs/src/docbook/click/chapter-best-practices.xml
index c4bbd05..69f3a25 100644
--- a/documentation/xdocs/src/docbook/click/chapter-best-practices.xml
+++ b/documentation/xdocs/src/docbook/click/chapter-best-practices.xml
@@ -255,7 +255,7 @@
</web-app></programlisting>
</sect2>
- <sect2 id="alternatve-security-solutions" remap="h4">
+ <sect2 id="alternative-security-solutions" remap="h4">
<title>Alternative Security solutions</title>
<para> There are also alternative security solutions that provide extra
diff --git a/documentation/xdocs/src/docbook/click/chapter-configuration.xml b/documentation/xdocs/src/docbook/click/chapter-configuration.xml
index 012d655..801eb8a 100644
--- a/documentation/xdocs/src/docbook/click/chapter-configuration.xml
+++ b/documentation/xdocs/src/docbook/click/chapter-configuration.xml
@@ -420,7 +420,7 @@
template to a page class, Click converts the template path to the Page
classname. In the example above, Click will convert the template
<token>search.htm</token> to the class <token>Search</token> by
- capitilizing the template name and removing the <literal>.htm</literal>
+ capitalizing the template name and removing the <literal>.htm</literal>
extension. Of course this is not enough to map the template to the class.
what is missing is the class package, <token>com.mycorp.page</token>.
To help Click map the page, you can set the base <literal>package</literal>
diff --git a/documentation/xdocs/src/docbook/click/chapter-pages.xml b/documentation/xdocs/src/docbook/click/chapter-pages.xml
index 9f63aba..fea6f80 100644
--- a/documentation/xdocs/src/docbook/click/chapter-pages.xml
+++ b/documentation/xdocs/src/docbook/click/chapter-pages.xml
@@ -1162,7 +1162,7 @@
<para>When handling a Page Action you might need to set the HTTP response
headers or status code. You do this through the Servlet API's,
- <classname>HttpServetlResponse</classname> which can be accessed
+ <classname>HttpServletResponse</classname> which can be accessed
through the <classname>Context</classname>.
</para>
diff --git a/framework/src/org/apache/click/ClickServlet.java b/framework/src/org/apache/click/ClickServlet.java
index 878d42c..bb83d05 100644
--- a/framework/src/org/apache/click/ClickServlet.java
+++ b/framework/src/org/apache/click/ClickServlet.java
@@ -1834,7 +1834,7 @@
// check isForward?
if (controlRegistry.hasAjaxTargetControls() && !context.isForward()) {
- // Perform onProcess for regsitered Ajax target controls
+ // Perform onProcess for registered Ajax target controls
processAjaxTargetControls(context, eventDispatcher, controlRegistry);
// Fire AjaxBehaviors registered during the onProcess event
diff --git a/framework/src/org/apache/click/ControlRegistry.java b/framework/src/org/apache/click/ControlRegistry.java
index a2b6ab8..d90704c 100644
--- a/framework/src/org/apache/click/ControlRegistry.java
+++ b/framework/src/org/apache/click/ControlRegistry.java
@@ -239,7 +239,7 @@
* Register the source control and associated interceptor.
*
* @param source the interceptor source control
- * @param interceptor the control interceptor to register
+ * @param controlInterceptor the control interceptor to register
*/
void internalRegisterInterceptor(Control source, Behavior controlInterceptor) {
Validate.notNull(source, "Null source parameter");