click-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From take...@apache.org
Subject svn commit: r765835 [3/5] - in /incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation: ./ docs/ docs/click-online/ docs/css2/ docs/developer-guide/ docs/html/ docs/servlet-api/ docs/velocity/ images/
Date Fri, 17 Apr 2009 02:18:32 GMT
Modified: incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/docs/pages.html
URL: http://svn.apache.org/viewvc/incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/docs/pages.html?rev=765835&r1=765834&r2=765835&view=diff
==============================================================================
--- incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/docs/pages.html
(original)
+++ incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/docs/pages.html
Fri Apr 17 02:18:30 2009
@@ -1,12 +1,30 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
  "http://www.w3.org/TR/html4/loose.dtd">
+<!--
+   Licensed to the Apache Software Foundation (ASF) under one
+   or more contributor license agreements.  See the NOTICE file
+   distributed with this work for additional information
+   regarding copyright ownership.  The ASF licenses this file
+   to you under the Apache License, Version 2.0 (the
+   "License"); you may not use this file except in compliance
+   with the License.  You may obtain a copy of the License at
+
+     http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing,
+   software distributed under the License is distributed on an
+   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+   KIND, either express or implied.  See the License for the
+   specific language governing permissions and limitations
+   under the License.
+-->
 <html>
 <head>
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
  <meta name="Author" content="Malcolm Edgar"/>
- <meta name="description" lang="en" content="Click Java web application framework"/>
- <meta name="keywords" lang="en" content="Click Framework, Java, JEEE, web application
framework, open source"/>
- <title>Click Framework</title>
+ <meta name="description" lang="en" content="Apache Click Java web application framework"/>
+ <meta name="keywords" lang="en" content="Apache Click, Click Framework, Java, JEE, J2EE,
web application framework, open source"/>
+ <title>Apache Click</title>
  <link rel="stylesheet" type="text/css" href="../help.css"/>
 </head>
 <body> 
@@ -64,7 +82,7 @@
 <a name="page-class" class="heading"></a><h2>1.&nbsp; Classes</h2>
 
 All custom Click pages must subclass the
-<a target="topic" href="click-api/net/sf/click/Page.html">Page</a> base class.
+<a target="topic" href="click-api/org/apache/click/Page.html">Page</a> base class.
 The Page class and its associated companion classes, Context and Control, are depicted 
 below in Figure 1.
 
@@ -75,27 +93,29 @@
 - <span class="sparx">created with Enterprise Architect courtesy <a target="blank"
href="http://www.sparxsystems.com.au">Sparx Systems</a></span>
 </p>
 
-The Page class provides a <a href="click-api/net/sf/click/Page.html#model">model</a>
+The Page class provides a <a href="click-api/org/apache/click/Page.html#model">model</a>
 attribute which is used to hold all the objects that are rendered in the page's 
 Velocity template. The model may also contain
-<a target="topic" href="click-api/net/sf/click/Control.html">Control</a> objects,
which
+<a target="topic" href="click-api/org/apache/click/Control.html">Control</a>
objects, which
 provide user interface controls on the Page.
 <p/>
 Pages also have an associated  
-<a target="topic" href="click-api/net/sf/click/Context.html">Context</a> object
+<a target="topic" href="click-api/org/apache/click/Context.html">Context</a>
object
 which references all the javax.servlet objects associated with the request. When 
 programming in Click you use the Context object to access HttpServletRequest attributes,

 parameters and the HttpSession object.
 <p/>
+
+<a name="page-execution" class="heading"></a><h2>2.&nbsp; Execution</h2>
 The Page class provide a number of empty handler methods which subclasses can override to
 provide functionality:
 <ul>
-  <li><a href="click-api/net/sf/click/Page.html#onSecurityCheck()">onSecurityCheck()</a></li>
-  <li><a href="click-api/net/sf/click/Page.html#onInit()">onInit()</a></li>
-  <li><a href="click-api/net/sf/click/Page.html#onGet()">onGet()</a></li>
-  <li><a href="click-api/net/sf/click/Page.html#onPost()">onPost()</a></li>
-  <li><a href="click-api/net/sf/click/Page.html#onRender()">onRender()</a></li>
-  <li><a href="click-api/net/sf/click/Page.html#onDestroy()">onDestroy()</a></li>
+  <li><a href="click-api/org/apache/click/Page.html#onSecurityCheck()">onSecurityCheck()</a></li>
+  <li><a href="click-api/org/apache/click/Page.html#onInit()">onInit()</a></li>
+  <li><a href="click-api/org/apache/click/Page.html#onGet()">onGet()</a></li>
+  <li><a href="click-api/org/apache/click/Page.html#onPost()">onPost()</a></li>
+  <li><a href="click-api/org/apache/click/Page.html#onRender()">onRender()</a></li>
+  <li><a href="click-api/org/apache/click/Page.html#onDestroy()">onDestroy()</a></li>
 </ul>
 The ClickServlet relies on instantiating Pages using a public no arguments constructor, 
 so when you create Page subclasses you must ensure you don't add an incompatible
@@ -124,7 +144,7 @@
 after a Page's <tt>onInit()</tt> is called, each Control, available at that stage,
 will have their <tt>onInit()</tt> method called.
 <p/>
-The next step is the processing of the Page's <a href="click-api/net/sf/click/Page.html#controls">controls</a>.
+The next step is the processing of the Page's <a href="click-api/org/apache/click/Page.html#controls">controls</a>.
 The ClickSerlvet gets the list of 
 Controls from the page and then iterates through the list calling <tt>onProcess()</tt>.

 If any of the Control's <tt>onProcess()</tt> methods return false, processing
of 
@@ -144,42 +164,42 @@
   </li>  
   <li>cssImports &nbsp; - &nbsp; 
     the CSS imports and style blocks to include in the pages header. 
-    Please see <a href="../click-api/net/sf/click/util/PageImports.html">PageImports</a>

+    Please see <a href="../click-api/org/apache/click/util/PageImports.html">PageImports</a>

     for more details.
   </li>
   <li>format &nbsp; - &nbsp; 
-    the <a href="../click-api/net/sf/click/util/Format.html">Format</a> 
+    the <a href="../click-api/org/apache/click/util/Format.html">Format</a> 
     object for formatting the display of objects.
   </li>
   <li>imports &nbsp; - &nbsp; 
     the CSS and JavaScript imports to include in the pages header.
-    Please see <a href="../click-api/net/sf/click/util/PageImports.html">PageImports</a>

+    Please see <a href="../click-api/org/apache/click/util/PageImports.html">PageImports</a>

     for more details.
   </li>
   <li>jsImports &nbsp; - &nbsp; 
     the JavaScript imports and script blocks to include in the pages footer. 
-    Please see <a href="../click-api/net/sf/click/util/PageImports.html">PageImports</a>

+    Please see <a href="../click-api/org/apache/click/util/PageImports.html">PageImports</a>

     for more details.
   </li>
   <li>messages &nbsp; - &nbsp; 
-   the <a target="topic" href="click-api/net/sf/click/util/MessagesMap.html">MessagesMap</a>
adaptor
-   for the Page <a href="click-api/net/sf/click/Page.html#getMessage(java.lang.String)">getMessage()</a>
+   the <a target="topic" href="click-api/org/apache/click/util/MessagesMap.html">MessagesMap</a>
adaptor
+   for the Page <a href="click-api/org/apache/click/Page.html#getMessage(java.lang.String)">getMessage()</a>
    method
   </li>
-  <li>path &nbsp; - &nbsp; the <a href="click-api/net/sf/click/Page.html#path">path</a>

+  <li>path &nbsp; - &nbsp; the <a href="click-api/org/apache/click/Page.html#path">path</a>

     of the page template to render
   </li>
   <li>request &nbsp; - &nbsp; 
-    the pages <a href="servlet-api/javax/servlet/http/HttpServletRequest.html">HttpServletRequest</a>
+    the pages <a class="external" target="_blank" href="http://java.sun.com/products/servlet/2.3/javadoc/javax/servlet/http/HttpServletRequest.html">HttpServletRequest</a>
     object
   </li>
   <li>response &nbsp; - &nbsp; 
-    the pages <a href="servlet-api/javax/servlet/http/HttpServletResponse.html">HttpServletResponse</a>
+    the pages <a class="external" target="_blank" href="http://java.sun.com/products/servlet/2.3/javadoc/javax/servlet/http/HttpServletResponse.html">HttpServletResponse</a>
     object
   </li>
   <li>session &nbsp; - &nbsp; 
-   the <a href="click-api/net/sf/click/util/SessionMap.html">SessionMap</a> adaptor
-   for the users <a href="servlet-api/javax/servlet/http/HttpSession.html">HttpSession</a>
+   the <a href="click-api/org/apache/click/util/SessionMap.html">SessionMap</a>
adaptor
+   for the users <a class="external" target="_blank" href="http://java.sun.com/products/servlet/2.3/javadoc/javax/servlet/http/HttpSession.html">HttpSession</a>
   </li>
 </ul>
 
@@ -267,9 +287,9 @@
 BigDecimal, String and the various Date classes. 
 <p/>
 By default type conversion is performed by the 
-<a target="topic" href="click-api/net/sf/click/util/RequestTypeConverter.html">RequestTypeConverter</a>
class
+<a target="topic" href="click-api/org/apache/click/util/RequestTypeConverter.html">RequestTypeConverter</a>
class
 which is used by the ClickServlet method
-<a target="topic" href="click-api/net/sf/click/ClickServlet.html#getTypeConverter()">getTypeConverter()</a>.
+<a target="topic" href="click-api/org/apache/click/ClickServlet.html#getTypeConverter()">getTypeConverter()</a>.
 <p/>
 If you need to add support for additional types, you would write your own type
 converter class and subclass the ClickSerlvet to use your custom converter.
@@ -333,7 +353,7 @@
 <a name="page-security" class="heading"></a><h2>4.&nbsp; Security</h2>
 
 Pages provide an 
-<a target="topic" href="click-api/net/sf/click/Page.html#onSecurityCheck()">onSecurityCheck</a>

+<a target="topic" href="click-api/org/apache/click/Page.html#onSecurityCheck()">onSecurityCheck</a>

 event handler which application pages can override to implement a programmatic security 
 model. 
 <p/>
@@ -380,7 +400,7 @@
      */</span>
     <span class="kw">public boolean</span> onSecurityCheck() {
     
-        <span class="kw">if</span> (getContext().getRequest().<a target="topic"
href="servlet-api/javax/servlet/http/HttpServletRequest.html#getRemoteUser()">getRemoteUser</a>()
!= <span class="kw">null</span>) {
+        <span class="kw">if</span> (getContext().getRequest().<a target="_blank"
href="http://java.sun.com/products/servlet/2.3/javadoc/javax/servlet/http/HttpServletRequest.html#getRemoteUser()">getRemoteUser</a>()
!= <span class="kw">null</span>) {
             <span class="kw">return true</span>;
             
         } <span class="kw">else</span> {
@@ -405,7 +425,7 @@
      */</span>
     <span class="kw">public boolean</span> onSecurityCheck() {
     
-        <span class="kw">if</span> (getContext().getRequest().<a target="topic"
href="servlet-api/javax/servlet/http/HttpServletRequest.html#isUserInRole(java.lang.String)">isUserInRole</a>(<span
class="st">"admin"</span>)) {
+        <span class="kw">if</span> (getContext().getRequest().<a target="_blank"
href="http://java.sun.com/products/servlet/2.3/javadoc/javax/servlet/http/HttpServletRequest.html#isUserInRole(java.lang.String)">isUserInRole</a>(<span
class="st">"admin"</span>)) {
             <span class="kw">return true</span>;
 
         } <span class="kw">else</span> {
@@ -427,7 +447,7 @@
      * @see Page#onInit()
      */</span>
     <span class="kw">public void</span> onInit() {
-        getContext().getSession().<a target="topic" href="servlet-api/javax/servlet/http/HttpSession.html#invalidate()">invalidate</a>();
+        getContext().getSession().<a target="_blank" href="http://java.sun.com/products/servlet/2.3/javadoc/javax/servlet/http/HttpSession.html#invalidate()">invalidate</a>();
     }
 } 
 </pre>
@@ -441,7 +461,7 @@
 <a name="page-foward" class="heading"></a><h3>5.1&nbsp; Forward</h3>
 
 To forward to another page using the servlet 
-<a target="topic" href="servlet-api/javax/servlet/RequestDispatcher.html">RequestDispatcher</a>,
+<a class="external" target="_blank" href="http://java.sun.com/products/servlet/2.3/javadoc/javax/servlet/RequestDispatcher.html">RequestDispatcher</a>,
 set the Page's forward property. For example to forward to a page with a path 
 <span class="html">index.htm</span>:
 
@@ -509,7 +529,7 @@
 
 Page forwarding is another way of passing information between pages. In this case
 you create the page to be forwarded to using the Context
-<a href="click-api/net/sf/click/Context.html#createPage(java.lang.String)">createPage()</a>

+<a href="click-api/org/apache/click/Context.html#createPage(java.lang.String)">createPage()</a>

 method and then set properties directly on the Page.
 Finally set this page as the page to forward the request to. For example:
 
@@ -581,13 +601,13 @@
 Note how the <font color="red">customer</font> object is passed through to the
template in the Page model. This
 approach of using the Page model is not available when you forward to another Page, as
 the first Page object is 
-"<a target="topic" href="click-api/net/sf/click/Page.html#onDestroy()">destroyed</a>"
+"<a target="topic" href="click-api/org/apache/click/Page.html#onDestroy()">destroyed</a>"
 before the second Page object is created and any model values would be lost.
 
 <a name="page-redirect" class="heading"></a><h3>5.3&nbsp; Redirect</h3>
 
 Redirects are another very useful way to navigate between pages. See 
-HttpServletResponse.<a target="topic" href="servlet-api/javax/servlet/http/HttpServletResponse.html#sendRedirect(java.lang.String)">sendRedirect</a>(location)
+HttpServletResponse.<a target="_blank" href="http://java.sun.com/products/servlet/2.3/javadoc/javax/servlet/http/HttpServletResponse.html#sendRedirect(java.lang.String)">sendRedirect</a>(location)
 for details.
 <p/>
 The great thing about redirects are that they provide a clean URL in the users browser 
@@ -642,7 +662,7 @@
 
 You can pass information between redirected pages using URL request parameters. 
 The ClickServlet will encode the URL for you using
-HttpServletResponse.<a target="topic" href="servlet-api/javax/servlet/http/HttpServletResponse.html#encodeRedirectURL(java.lang.String)">encodeRedirectURL</a>(url).

+HttpServletResponse.<a target="_blank" href="http://java.sun.com/products/servlet/2.3/javadoc/javax/servlet/http/HttpServletResponse.html#encodeRedirectURL(java.lang.String)">encodeRedirectURL</a>(url).
 <p/>
 In the example below a user will click on an OK button to confirm a payment. The 
 <tt>onOkClick()</tt> button handler processes the payment, gets the payment transaction
id, and then 
@@ -710,7 +730,7 @@
 <p/>
 To implement templating define a border template base Page 
 which content Pages should extend. The template base Page class overrides the
-Page <a href="click-api/net/sf/click/Page.html#getTemplate()">getTemplate()</a>
+Page <a href="click-api/org/apache/click/Page.html#getTemplate()">getTemplate()</a>
 method, returning the path of the border template to render. For example:
 
 <pre class="codeJava"><span class="kw">public class</span> BorderedPage
<span class="kw">extends</span> Page {
@@ -743,7 +763,7 @@
  
 Other pages insert their content into this template using the Velocity 
 <a href="velocity/vtl-reference-guide.html#parse">#parse</a> directive,
-passing it their contents pages <a href="click-api/net/sf/click/Page.html#path">path</a>.
+passing it their contents pages <a href="click-api/org/apache/click/Page.html#path">path</a>.
 The <span class="blue">$path</span> value is automatically added to 
 the VelocityContext by the ClickServlet.
 <p/>
@@ -884,7 +904,7 @@
 </ul>
 
 To make a page stateful you simply need to set the page
-<a target="topic" href="click-api/net/sf/click/Page.html#stateful">stateful</a>

+<a target="topic" href="click-api/org/apache/click/Page.html#stateful">stateful</a>

 property to true, have the page implement the <tt>Serializable</tt> interface
 and set the <tt>serialVersionUID</tt> indicator. For example:
 
@@ -893,7 +913,7 @@
 
 <span class="kw">import</span> java.io.Serializable;
 
-<span class="kw">import</span> net.sf.click.Page;
+<span class="kw">import</span> org.apache.click.Page;
  
 <span class="kw">public class</span> SearchPage <span class="kw">extends</span>
Page <span class="kw">implements</span> Serializable {
 
@@ -907,7 +927,7 @@
 </pre>
 
 Stateful page instances are stored in the user's  
-<a target="topic" href="servlet-api/javax/servlet/http/HttpSession.html">HttpSession</a>
+<a class="external" target="_blank" href="http://java.sun.com/products/servlet/2.3/javadoc/javax/servlet/http/HttpSession.html">HttpSession</a>
 using the pages class name as the key. In the example above the page would be stored in 
 the users session using the class name: <tt>com.mycorp.page.SearchPage</tt>
 
@@ -942,18 +962,18 @@
 methods are invoked, and then the Page's <tt>onDestroy()</tt> method is invoked.
This
 is your opportunity to de-reference any large sets or graphs. For example the Table 
 control by default de-references its rowList in its
-<a target="topic" href="click-api/net/sf/click/control/Table.html#onDestroy()">onDestory()</a>
+<a target="topic" href="click-api/org/apache/click/control/Table.html#onDestroy()">onDestory()</a>
 method.
 
 <a name="page-error-handling" class="heading"></a><h2>9.&nbsp; Error
Handling</h2>
 
 If an Exception occurs processing a Page object or rendering a template the error
 is delegated to the registered handler. The default Click error handler is the
-<a target="topic" href="click-api/net/sf/click/util/ErrorPage.html">ErrorPage</a>,
+<a target="topic" href="click-api/org/apache/click/util/ErrorPage.html">ErrorPage</a>,
 which is automatically configured as:
 
 <pre class="codeConfig">
-&lt;page path="<span class="blue">click/error.htm</span>" classname="<span
class="red">net.sf.click.util.ErrorPage</span>"/&gt; 
+&lt;page path="<span class="blue">click/error.htm</span>" classname="<span
class="red">org.apache.click.util.ErrorPage</span>"/&gt; 
 </pre>
 
 To register an alternative error handler you must subclass ErrorPage and define
@@ -989,7 +1009,7 @@
 The Click not found page is automatically configured as:
 
 <pre class="codeConfig">
-&lt;page path="<span class="blue">click/not-found.htm</span>" classname="<span
class="red">net.sf.click.Page</span>"/&gt; 
+&lt;page path="<span class="blue">click/not-found.htm</span>" classname="<span
class="red">org.apache.click.Page</span>"/&gt; 
 </pre>
 
 You can override the default configuration and specify your own class, but you cannot change
the path.
@@ -1003,8 +1023,8 @@
 <a name="page-messages" class="heading"></a><h2>11.&nbsp; Message Properties</h2>
 
 The Page class provides a 
-<a href="click-api/net/sf/click/Page.html#messages">messages</a> property which
-is a <a href="click-api/net/sf/click/util/MessagesMap.html">MessagesMap</a>
+<a href="click-api/org/apache/click/Page.html#messages">messages</a> property
which
+is a <a href="click-api/org/apache/click/util/MessagesMap.html">MessagesMap</a>
 of localized messages for the page. These messages are made available
 in the VelocityContext when the page is rendered under the key <tt>messages</tt>.
 So for example if you had a page title message you would access it in your page template
as:

Modified: incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/docs/quick-start.html
URL: http://svn.apache.org/viewvc/incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/docs/quick-start.html?rev=765835&r1=765834&r2=765835&view=diff
==============================================================================
--- incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/docs/quick-start.html
(original)
+++ incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/docs/quick-start.html
Fri Apr 17 02:18:30 2009
@@ -1,24 +1,40 @@
 <!DOCTYPE' HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
  "http://www.w3.org/TR/html4/loose.dtd">
+<!--
+   Licensed to the Apache Software Foundation (ASF) under one
+   or more contributor license agreements.  See the NOTICE file
+   distributed with this work for additional information
+   regarding copyright ownership.  The ASF licenses this file
+   to you under the Apache License, Version 2.0 (the
+   "License"); you may not use this file except in compliance
+   with the License.  You may obtain a copy of the License at
+
+     http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing,
+   software distributed under the License is distributed on an
+   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+   KIND, either express or implied.  See the License for the
+   specific language governing permissions and limitations
+   under the License.
+-->
 <html>
 <head>
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
  <meta name="Author" content="Malcolm Edgar"/>
- <meta name="description" lang="en" content="Click Java web application framework"/>
- <meta name="keywords" lang="en" content="Click Framework, Java, JEEE, web application
framework, open source"/>
- <title>Click Framework</title>
+ <meta name="description" lang="en" content="Apache Click Java web application framework"/>
+ <meta name="keywords" lang="en" content="Apache Click, Click Framework, Java, JEE, J2EE,
web application framework, open source"/>
+ <title>Apache Click</title>
  <link rel="stylesheet" type="text/css" href="../help.css"/>
 </head>
 <body>
   
 <h1>Quick Start Guide</h1>
 
-This section discusses how to get a Click web application up quickly. This section
-will not discuss how to configure your build system or IDE, but will focus on all 
+This section discusses how to get a Click web application up and running quickly. We
+will not look at how to configure your build system or IDE, but will focus on all 
 the basic pieces you need to get a Click application running.
 <p/>
-A Quick Start application is also included in the <a href="examples.html">Examples</a>.
-<p/>
 The following topics are covered:
 <ol>
   <li><a href="#web">Web Application Structure</a>
@@ -88,7 +104,7 @@
 
   &lt;servlet&gt;
     &lt;servlet-name&gt;ClickServlet&lt;/servlet-name&gt;
-    &lt;servlet-class&gt;net.sf.click.ClickServlet&lt;/servlet-class&gt;
+    &lt;servlet-class&gt;org.apache.click.ClickServlet&lt;/servlet-class&gt;
     &lt;load-on-startup&gt;0&lt;/load-on-startup&gt;
   &lt;/servlet&gt;
   
@@ -111,10 +127,13 @@
 Add the following JAR files to your application <tt>WEB-INF/lib</tt>:
 
 <ul>
-<li>click-1.x.jar</li>
-<li>click-extras-1.x.jar</li>
+<li>click-x.x.x-incubating.jar</li>
+<li>click-extras-x.x.x-incubating.jar</li>
 </ul>
 
+where <tt>x.x.x</tt> is the version of Click.
+
+<p/>
 You can obtain these files from the Click distribution <tt>dist</tt> directory.
 
 <a name="welcome" class="heading"></a><h2>3.&nbsp; Welcome File</h2>
@@ -147,7 +166,7 @@
 <pre class="codeJava">
 <span class="kw">package</span> com.quickstart.page;
 
-<span class="kw">import</span> net.sf.click.Page;
+<span class="kw">import</span> org.apache.click.Page;
 
 <span class="kw">public class</span> HomePage <span class="kw">extends</span>
Page {
 
@@ -277,7 +296,7 @@
 <pre class="codeJava">
 <span class="kw">package</span> com.quickstart.page;
 
-<span class="kw">import</span> net.sf.click.Page;
+<span class="kw">import</span> org.apache.click.Page;
 
 <span class="kw">public class</span> BorderPage <span class="kw">extends</span>
Page {
 
@@ -424,7 +443,7 @@
 <li>
  Review the Click <a href="examples.html">Examples</a> application. 
  <p/>
- There is lot of good code examples and patterns you can lift into your application.
+ There is a lot of good code examples and patterns you can lift into your application.
 </li>
 </ol>
 
@@ -467,14 +486,16 @@
 Buildfile: build.xml
 
 project-quick-start:
-    [input] Please enter the project name (e.g. quickstart):
+    [input] Please enter the project name (e.g. quickstart): [quickstart]
 <span class="yellow">quickstart</span>
-    [input] Please enter the root package name (e.g. com.quickstart):
+    [input] Please enter the root package name (e.g. com.quickstart): [com.quickstart]
 <span class="yellow">com.quickstart</span>
     [input] Please enter the web app context path: [quickstart]
 <span class="yellow">quickstart</span>
-     [copy] Copying 37 files to C:\quickstart\WebContent
-     [copy] Copied 15 empty directories to 1 empty directory under C:\quickstart\WebContent
+    [input] The directory 'C:\quickstart' will be deleted. Continue (y/n)? (y, n)
+<span class="yellow">y</span>
+     [copy] Copying 20 files to C:\quickstart\WebContent
+     [copy] Copied 9 empty directories to 2 empty directory under C:\quickstart\WebContent
      [copy] Copying 1 file to C:\quickstart\WebContent\WEB-INF\lib
      [copy] Copying 1 file to C:\quickstart\WebContent\WEB-INF\lib
      [copy] Copying 1 file to C:\quickstart\WebContent\WEB-INF\lib



Mime
View raw message