click-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From take...@apache.org
Subject svn commit: r765835 [2/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/controls.html
URL: http://svn.apache.org/viewvc/incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/docs/controls.html?rev=765835&r1=765834&r2=765835&view=diff
==============================================================================
--- incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/docs/controls.html (original)
+++ incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/docs/controls.html Fri Apr 17 02:18:30 2009
@@ -1,13 +1,31 @@
 <!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>
  <!-- saved from url=(0014)about:internet -->
  <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"/>
  <link rel="stylesheet" type="text/css" href="../syntax-highlighter.css"/>
 </head>
@@ -46,7 +64,7 @@
 
 
 While this section provides an overview how Controls work please see the 
-<a target="topic" href="click-api/net/sf/click/control/package-summary.html">Javadoc</a>,
+<a target="topic" href="click-api/org/apache/click/control/package-summary.html">Javadoc</a>,
 which provides extensive information and examples.
 
 <a name="control-interface" class="heading"></a><h2>1.&nbsp; Control Interface</h2>
@@ -54,7 +72,7 @@
 display to the user. Controls are equivalent to Visual Basic Controls or Delphi Components.
 <p/>
 Controls handle the processing of user input in the 
-<a target="topic" href="click-api/net/sf/click/Control.html#onProcess()">onProcess</a>
+<a target="topic" href="click-api/org/apache/click/Control.html#onProcess()">onProcess</a>
 method and render their HTML display using the toString() method. The execution
 sequence for a Control being processed and rendered is illustrated below in Figure 1.
 <p/>
@@ -67,7 +85,7 @@
 
 
 In Click all control classes must implement the 
-<a target="topic" href="click-api/net/sf/click/Control.html">Control</a> interface.
+<a target="topic" href="click-api/org/apache/click/Control.html">Control</a> interface.
 The Control interface is depicted below in Figure 2.
 <p>
 <img src="../images/control-class-diagram.png"/>
@@ -78,41 +96,41 @@
 Methods on the Control interface include:
 <ul>
   <li>
-   <a href="click-api/net/sf/click/Control.html#getHtmlImports()">getHtmlImports()</a>
+   <a href="click-api/org/apache/click/Control.html#getHtmlImports()">getHtmlImports()</a>
    &nbsp; - &nbsp; defines the controls HTML header imports.
   </li>
   <li>
-   <a href="click-api/net/sf/click/Control.html#getMessages()">getMessages()</a>
+   <a href="click-api/org/apache/click/Control.html#getMessages()">getMessages()</a>
    &nbsp; - &nbsp; defines the controls localized messages map.
   </li>  
   <li>
-   <a href="click-api/net/sf/click/Control.html#getName()">getName()</a> /
-   <a href="click-api/net/sf/click/Control.html#setName(java.lang.String)">setName()</a>
+   <a href="click-api/org/apache/click/Control.html#getName()">getName()</a> /
+   <a href="click-api/org/apache/click/Control.html#setName(java.lang.String)">setName()</a>
    &nbsp; - &nbsp; defines the controls name in the Page model or Form fields.
   </li>
   <li>
-   <a href="click-api/net/sf/click/Control.html#getParent()">getParent()</a> /
-   <a href="click-api/net/sf/click/Control.html#setParent(java.lang.Object)">setParent()</a>
+   <a href="click-api/org/apache/click/Control.html#getParent()">getParent()</a> /
+   <a href="click-api/org/apache/click/Control.html#setParent(java.lang.Object)">setParent()</a>
    &nbsp; - &nbsp; defines the controls parent.
   </li>  
   <li>
-   <a href="click-api/net/sf/click/Control.html#onDeploy(javax.servlet.ServletContext)">onDeploy()</a>
+   <a href="click-api/org/apache/click/Control.html#onDeploy(javax.servlet.ServletContext)">onDeploy()</a>
    &nbsp; - &nbsp; deploy resources on startup.
   </li>
   <li>
-   <a href="click-api/net/sf/click/Control.html#onInit()">onInit()</a>
+   <a href="click-api/org/apache/click/Control.html#onInit()">onInit()</a>
    &nbsp; - &nbsp; on initialize event handler.
   </li>
   <li>
-   <a href="click-api/net/sf/click/Control.html#onProcess()">onProcess()</a>
+   <a href="click-api/org/apache/click/Control.html#onProcess()">onProcess()</a>
    &nbsp; - &nbsp; process request event handler.
   </li>
   <li>
-   <a href="click-api/net/sf/click/Control.html#onDestroy()">onDestroy()</a>
+   <a href="click-api/org/apache/click/Control.html#onDestroy()">onDestroy()</a>
    &nbsp; - &nbsp; on destroy event handler.
   </li>
   <li>
-   <a href="click-api/net/sf/click/Control.html#render(net.sf.click.util.HtmlStringBuffer)">render()</a>
+   <a href="click-api/org/apache/click/Control.html#render(org.apache.click.util.HtmlStringBuffer)">render()</a>
    &nbsp; - &nbsp; generate the control's HTML representation.
   </li>
 </ul>
@@ -178,11 +196,11 @@
 <a name="control-class" class="heading"></a><h2>3.&nbsp; Control Classes</h2>
 
 Core control classes are defined in the package 
-<a target="topic" href="click-api/net/sf/click/control/package-summary.html">net.sf.click.control</a>.
+<a target="topic" href="click-api/org/apache/click/control/package-summary.html">org.apache.click.control</a>.
 This package includes controls for the essential HTML elements.
 <p/>
 Extended control classes are provided in the Click Extras package
-<a target="topic" href="extras-api/net/sf/click/extras/control/package-summary.html">net.sf.click.extras.control</a>.
+<a target="topic" href="extras-api/org/apache/click/extras/control/package-summary.html">org.apache.click.extras.control</a>.
 Click Extras classes can contain dependencies to 3rd party frameworks.
 <p/>
 A subset of these control classes are depicted below in Figure 3.
@@ -197,19 +215,19 @@
 
 The key control classes include:
 <ul>
-<li><a href="click-api/net/sf/click/control/ActionLink.html">ActionLink</a>
+<li><a href="click-api/org/apache/click/control/ActionLink.html">ActionLink</a>
 - provides an anchor link which can invoke callback listeners. 
 <p></li>
-<li><a href="click-api/net/sf/click/control/Field.html">Field</a>
+<li><a href="click-api/org/apache/click/control/Field.html">Field</a>
 - provides the abstract form field control.
 <p></li>
-<li><a href="click-api/net/sf/click/control/Form.html">Form</a>
+<li><a href="click-api/org/apache/click/control/Form.html">Form</a>
 - provides a form control for processing, validation and rendering.   
 <p></li>
-<li><a href="click-api/net/sf/click/control/Submit.html">Submit</a>
+<li><a href="click-api/org/apache/click/control/Submit.html">Submit</a>
 - provides an input type submit control which can invoke callback listeners.  
 <p></li>
-<li><a href="click-api/net/sf/click/control/TextField.html">TextField</a>
+<li><a href="click-api/org/apache/click/control/TextField.html">TextField</a>
 - provides an input type text control which can invoke callback listeners.  
 <p></li>
 </ul> 
@@ -219,8 +237,8 @@
 accessor methods.
 <p/>
 You can also aggregate controls to build more complex controls. For example the 
-<a href="extras-api/net/sf/click/extras/control/CreditCardField.html">CreditCardField</a>
-uses a <a href="click-api/net/sf/click/control/Select.html">Select</a>
+<a href="extras-api/org/apache/click/extras/control/CreditCardField.html">CreditCardField</a>
+uses a <a href="click-api/org/apache/click/control/Select.html">Select</a>
 control to render the different credit card types. 
 
 <a name="message-properties" class="heading"></a><h2>4.&nbsp; Message Properties</h2>
@@ -343,12 +361,12 @@
 accessed through the Field methods:
 
 <ul>
- <li><a href="click-api/net/sf/click/control/AbstractControl.html#getMessage(java.lang.String)">getMessage(String)</a></li>
- <li><a href="click-api/net/sf/click/control/AbstractControl.html#getMessage(java.lang.String, java.lang.Object)">getMessage(String, Object)</a></li>
- <li><a href="click-api/net/sf/click/control/AbstractControl.html#getMessage(java.lang.String, java.lang.Object[])">getMessage(String, Object[])</a></li>
- <li><a href="click-api/net/sf/click/control/AbstractControl.html#getMessages()">getMessages()</a></li>
- <li><a href="click-api/net/sf/click/control/Field.html#setErrorMessage(java.lang.String)">setErrorMessage(String)</a></li>
- <li><a href="click-api/net/sf/click/control/Field.html#setErrorMessage(java.lang.String, java.lang.Object)">setErrorMessage(String, Object)</a></li>
+ <li><a href="click-api/org/apache/click/control/AbstractControl.html#getMessage(java.lang.String)">getMessage(String)</a></li>
+ <li><a href="click-api/org/apache/click/control/AbstractControl.html#getMessage(java.lang.String, java.lang.Object)">getMessage(String, Object)</a></li>
+ <li><a href="click-api/org/apache/click/control/AbstractControl.html#getMessage(java.lang.String, java.lang.Object[])">getMessage(String, Object[])</a></li>
+ <li><a href="click-api/org/apache/click/control/AbstractControl.html#getMessages()">getMessages()</a></li>
+ <li><a href="click-api/org/apache/click/control/Field.html#setErrorMessage(java.lang.String)">setErrorMessage(String)</a></li>
+ <li><a href="click-api/org/apache/click/control/Field.html#setErrorMessage(java.lang.String, java.lang.Object)">setErrorMessage(String, Object)</a></li>
 </ul>
 
 These methods use the <tt>Locale</tt> of the request to lookup the string resource
@@ -356,19 +374,19 @@
 
 
 <a name="container" class="heading"></a><h2>5.&nbsp; Container</h2>
-<a href="click-api/net/sf/click/control/Container.html">Container</a> is a
+<a href="click-api/org/apache/click/control/Container.html">Container</a> is a
 Control that can contain other Controls, thus forming a hierarchy of components.
 <p/>
 Container enables components to add, remove and retrieve other controls.
 <p/>
 Listed below are example Containers:
 <ul style="margin-top:0.5em;">
-   <li class="item"><a href="click-api/net/sf/click/control/Form.html">Form</a>
+   <li class="item"><a href="click-api/org/apache/click/control/Form.html">Form</a>
    - an HTML form which provides default layout of fields and error feedback.</li>
-   <li class="item"><a href="click-api/net/sf/click/control/Panel.html">Panel</a> - similar to
-   <a href="click-api/net/sf/click/Page.html">Page</a>, this Container provides
+   <li class="item"><a href="click-api/org/apache/click/control/Panel.html">Panel</a> - similar to
+   <a href="click-api/org/apache/click/Page.html">Page</a>, this Container provides
    its own template and model.</li>
-   <li class="item"><a href="click-api/net/sf/click/control/FieldSet.html">FieldSet</a> - draws
+   <li class="item"><a href="click-api/org/apache/click/control/FieldSet.html">FieldSet</a> - draws
    a legend (border) around its child Controls.</li>
 </ul>
 <br/>
@@ -384,8 +402,8 @@
 
 The following classes provides convenient extension points for creating custom Containers:
 <ul style="margin-top:0.5em;">
-  <li class="item"><a href="click-api/net/sf/click/control/AbstractContainer.html">AbstractContainer</a></li>
-  <li class="item"><a href="click-api/net/sf/click/extras/control/AbstractContainerField.html">AbstractContainerField</a></li>
+  <li class="item"><a href="click-api/org/apache/click/control/AbstractContainer.html">AbstractContainer</a></li>
+  <li class="item"><a href="click-api/org/apache/click/extras/control/AbstractContainerField.html">AbstractContainerField</a></li>
 </ul>
 
 Lets cover each of them here.
@@ -487,7 +505,7 @@
 
 <a name="layout" class="heading"></a><h2>6.&nbsp; Layouts</h2>
 
-Controls such as <a href="click-api/net/sf/click/control/Form.html">Form</a>
+Controls such as <a href="click-api/org/apache/click/control/Form.html">Form</a>
 takes care of layout and error reporting automatically, and for many use cases
 auto-layout is good enough.
 
@@ -508,7 +526,7 @@
 
 <a name="template-layout" class="heading"></a><h3>6.1&nbsp; Template layout</h3>
 
-Taking the <a href="click-api/net/sf/click/control/Form.html#manual-layout">Template</a>
+Taking the <a href="click-api/org/apache/click/control/Form.html#manual-layout">Template</a>
 approach works well and it separates the Page and layout logic. For example:
 <pre class="prettyprint">
 // EmployeePage.java
@@ -566,8 +584,8 @@
     ${form.fields.submit}
 ${form.endTag()} </pre>
 
-Using a CSS stylesheet, the markup above can be transformed into a great looking form as shown 
-in this <a target="_blank" href="http://www.sitepoint.com/print/fancy-form-design-css">article</a>.
+Using a CSS stylesheet, the markup above can be styled and transformed into
+a fancy looking form.
 
 <p/>
 There are pros and cons to using the template approach.
@@ -590,7 +608,7 @@
 
 <p>
 It is also possible to "generify" the layout using template engines.
-<a href="click-api/net/sf/click/control/Form.html#velocity-macros">Macro.vm</a>
+<a href="click-api/org/apache/click/control/Form.html#velocity-macros">Macro.vm</a>
 is an example of a generic form layout using Velocity.
 </p>
 
@@ -601,8 +619,8 @@
 layouts.
 <p/>
 Click extras provides two useful classes in this situation namely,
-<a href="click-api/net/sf/click/extras/control/HtmlForm.html">HtmlForm</a>
-and <a href="click-api/net/sf/click/extras/control/HtmlFieldSet.html">HtmlFieldSet</a>.
+<a href="click-api/org/apache/click/extras/control/HtmlForm.html">HtmlForm</a>
+and <a href="click-api/org/apache/click/extras/control/HtmlFieldSet.html">HtmlFieldSet</a>.
 <p/>
 Unlike Form and FieldSet which renders its controls using a Table layout, HtmlForm
 and HtmlFieldSet renders its controls in the order they were added and does not add
@@ -779,13 +797,12 @@
     &lt;input type="submit" name="submit" id="form_submit" value="Add Employee"/&gt;
 &lt;/form&gt; </pre>
 
-Again using a CSS stylesheet, the markup above can be transformed into a great looking form as shown 
-in this <a target="_blank" href="http://www.sitepoint.com/print/fancy-form-design-css">article</a>.
+Again using a CSS stylesheet, the markup above can be styled and transformed into
+a fancy looking form.
 
 <p/>
-You can see a <a target="_blank" href="http://www.avoka.com/click-examples/form/contact-details.htm">live demo</a>
-of the above example. Note that the demo adds a couple of features, including error reporting,
-not covered here.
+There is a <a target="_blank" href="http://www.avoka.com/click-examples/form/contact-details.htm">live demo</a>
+showing the programmatic approach.
 
 <p/>
 The advantage of the programmatic approach is that there is no redundancy. Each Field is
@@ -794,8 +811,8 @@
 
 <p/>
 If new requirements arrive and more fields added, only the Page has to be updated.
-No need to change the template as the layout is taken care of by markup produced
-by the components.
+No need to change the template as the layout is taken care of by the CSS and
+markup produced by the components.
 
 <p/>
 A disadvantage is that it is harder to <em>visualize</em> what output would be rendered by the containers.

Modified: incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/docs/core-overview.html
URL: http://svn.apache.org/viewvc/incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/docs/core-overview.html?rev=765835&r1=765834&r2=765835&view=diff
==============================================================================
--- incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/docs/core-overview.html (original)
+++ incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/docs/core-overview.html Fri Apr 17 02:18:30 2009
@@ -1,3 +1,22 @@
+<!--
+   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.
+-->
+
 <body>
 
 <p>

Modified: incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/docs/error-npe.html
URL: http://svn.apache.org/viewvc/incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/docs/error-npe.html?rev=765835&r1=765834&r2=765835&view=diff
==============================================================================
--- incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/docs/error-npe.html (original)
+++ incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/docs/error-npe.html Fri Apr 17 02:18:30 2009
@@ -1,3 +1,21 @@
+<!--
+   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><title>Error Page</title>
 
 <style>
@@ -35,11 +53,11 @@
 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 	at java.lang.reflect.Method.invoke(Method.java:324)
-	at net.sf.click.util.ClickUtils.invokeListener(ClickUtils.java:188)
-	at net.sf.click.control.ActionLink.onProcess(ActionLink.java:510)
-	at net.sf.click.ClickServlet.processPage(ClickServlet.java:324)
-	at net.sf.click.ClickServlet.handleRequest(ClickServlet.java:210)
-	at net.sf.click.ClickServlet.doGet(ClickServlet.java:154)
+	at org.apache.click.util.ClickUtils.invokeListener(ClickUtils.java:188)
+	at org.apache.click.control.ActionLink.onProcess(ActionLink.java:510)
+	at org.apache.click.ClickServlet.processPage(ClickServlet.java:324)
+	at org.apache.click.ClickServlet.handleRequest(ClickServlet.java:210)
+	at org.apache.click.ClickServlet.doGet(ClickServlet.java:154)
 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)

Modified: incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/docs/error-parsing.html
URL: http://svn.apache.org/viewvc/incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/docs/error-parsing.html?rev=765835&r1=765834&r2=765835&view=diff
==============================================================================
--- incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/docs/error-parsing.html (original)
+++ incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/docs/error-parsing.html Fri Apr 17 02:18:30 2009
@@ -1,3 +1,21 @@
+<!--
+   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><title>Error Page</title>
 
 <style>

Modified: incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/docs/examples.html
URL: http://svn.apache.org/viewvc/incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/docs/examples.html?rev=765835&r1=765834&r2=765835&view=diff
==============================================================================
--- incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/docs/examples.html (original)
+++ incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/docs/examples.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>
@@ -53,24 +71,24 @@
 A performance test bench webapplication.
 <p/>
 You can checkout this application from
-<a target="blank" class="external" href="https://click.svn.sourceforge.net/svnroot/click/trunk/examples/click-bench/">https://click.svn.sourceforge.net/svnroot/click/trunk/examples/click-bench/</a>    
+<a target="blank" class="external" href="http://svn.apache.org/repos/asf/incubator/click/trunk/examples/click-bench/">http://svn.apache.org/repos/asf/incubator/click/trunk/examples/click-bench/</a>
 
 <h4>Click Cayenne</h4>
 A very simple demo webapplication based only on Click and Cayenne.
 <p/>
 You can checkout this application from
-<a target="blank" class="external" href="https://click.svn.sourceforge.net/svnroot/click/trunk/examples/click-cayenne/">https://click.svn.sourceforge.net/svnroot/click/trunk/examples/click-cayenne/</a>
+<a target="blank" class="external" href="http://svn.apache.org/repos/asf/incubator/click/trunk/examples/click-cayenne/">http://svn.apache.org/repos/asf/incubator/click/trunk/examples/click-cayenne/</a>
 
 <h4>Click Spring Cayenne</h4>
 A webapplication based on Click, Spring and Cayenne. This application is derrived from the classical
 Petclinic webapplication.
 <p/>
 You can checkout this application from
-<a target="blank" class="external" href="https://click.svn.sourceforge.net/svnroot/click/trunk/examples/click-spring-cayenne/">https://click.svn.sourceforge.net/svnroot/click/trunk/examples/click-spring-cayenne/</a>
+<a target="blank" class="external" href="http://svn.apache.org/repos/asf/incubator/click/trunk/examples/click-spring-cayenne/">http://svn.apache.org/repos/asf/incubator/click/trunk/examples/click-spring-cayenne/</a>
 <p/>
 For details about the original Petclinic application used here, please also see the <tt>petclinic/war/petclinic.html</tt> file.
 <p/>
-To build this webapplication, please also see the <tt><a target="blank" class="external" href="https://click.svn.sourceforge.net/svnroot/click/trunk/examples/click-spring-cayenne/">README.txt</a></tt> file about how to proceed.
+To build this webapplication, please also see the <tt><a target="blank" class="external" href="http://svn.apache.org/repos/asf/incubator/click/trunk/examples/click-spring-cayenne/">README.txt</a></tt> file about how to proceed.
 </body>
 </html>
 

Modified: incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/docs/extras-overview.html
URL: http://svn.apache.org/viewvc/incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/docs/extras-overview.html?rev=765835&r1=765834&r2=765835&view=diff
==============================================================================
--- incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/docs/extras-overview.html (original)
+++ incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/docs/extras-overview.html Fri Apr 17 02:18:30 2009
@@ -1,3 +1,21 @@
+<!--
+   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.
+-->
 <body>
 
 <p>
@@ -8,83 +26,31 @@
 Click Extras are packaged as a separated JAR which 
 you can deploy with your application. Extra packages include:
 <ul style="margin-top:0.75em;">
- <li><a href="net/sf/click/extras/cayenne/package-summary.html">Cayenne</a> 
+ <li><a href="org/apache/click/extras/cayenne/package-summary.html">Cayenne</a> 
  - provides Cayenne data aware controls</li>
- <li><a href="net/sf/click/extras/control/package-summary.html">Control</a> 
+ <li><a href="org/apache/click/extras/control/package-summary.html">Control</a> 
  - provides extra controls</li>
- <li><a href="net/sf/click/extras/filter/package-summary.html">Filter</a> 
+ <li><a href="org/apache/click/extras/filter/package-summary.html">Filter</a> 
  - provides GZIP compression Filter</li>
- <li><a href="net/sf/click/extras/graph/package-summary.html">Graphics</a>
+ <li><a href="org/apache/click/extras/graph/package-summary.html">Graphics</a>
  - provides graphic controls</li> 
- <li><a href="net/sf/click/extras/hibernate/package-summary.html">Hibernate</a>
+ <li><a href="org/apache/click/extras/hibernate/package-summary.html">Hibernate</a>
  - provides Hibernate data aware controls</li>
- <li><a href="net/sf/click/extras/panel/package-summary.html">Panel</a> 
+ <li><a href="org/apache/click/extras/panel/package-summary.html">Panel</a> 
  - provides Page Panel containers</li>
- <li><a href="net/sf/click/extras/spring/package-summary.html">Spring</a> 
+ <li><a href="org/apache/click/extras/spring/package-summary.html">Spring</a> 
  - provides Spring integration SpringClickServlet</li>
 </ul>
 </p>
 
-<h2>Contributing</h2>
-
-Click Extras provides a place for people to contribute their own code to the
-Click project and have it package with the standard distribution. Contributed
-code will be subject to review and may require modifications before it is
-included in the Click distribution.
-<p/>
-
-<h3>Design</h3>
-One of the overriding design principles with Click is to keep it simple, this
-makes to code easier to understand and more reliable. 
-<p/>
-Another guiding principle is YAGNI (You Ain't Going to Need It), or don't build 
-it until you really really need it. Click is trying to provide an 80/20 rule framework 
-where 80% of peoples needs are meet by a framework which is only 20% in size.
-<p/>
-When developing Click Extras contributions please follow these principles.
-
-<h3>Dependencies</h3>
-
-Components and controls should have minimal dependencies. This is to support easy 
-deployment of the click-examples and keeps the click build process simple. 
-See <a href="../building.html#extras-dependencies">Extras Dependencies</a> for 
-details.
 <p/>
-Please Note the Cayenne and Spring dependencies are only required if you use these particular features.
-For example if you are using Hibernate for your persistence framework, the 
-<a href="net/sf/click/extras/cayenne/CayenneForm.html">CayenneForm</a> 
+Please Note the Cayenne, Hibernate and Spring dependencies are only required if you use these particular features.
+For example if you are using Hibernate for your persistence framework, the
+<a href="../extras-api/org/apache/click/extras/cayenne/CayenneForm.html">CayenneForm</a>
 control will not cause any issues as this class would never be loaded by your application.
 
-<h3>Auto File Deployment</h3>
-
-The Click framework uses the Velocity Tools <tt>WebappLoader</tt> for loading templates. 
-This avoids issues associate with using the Velocity <tt>ClasspathResourceLoader</tt> and
-<tt>FileResourceLoader</tt> on JEE application servers.
 <p/>
-To make preconfigured resources (templates, stylesheets, etc.) available to web applications
-Click automatically deploys configured classpath resources to the <tt class="blue">/click</tt> 
-directory at startup (existing files will not be overwritten).
-<p/>
-To enable your controls to deploy resources on startup it should use the Control
-<a href="../click-api/net/sf/click/Control.html#on-deploy">onDeploy()</a> method.
-Click extra controls which use this method should be registered in Click Extras
-JAR <tt>extras-controls.xml</tt> file.
-
-<h3>Coding Style and Practices</h3>
-
-Click follows the Sun conversions for Java code style. Other style convertions
-and practices include:
-<ul style="margin-top:0.75em;margin-bottom:0.75em;">
-<li>indents are 4 spaces wide and no tabs are used</li>
-<li>public and protected visibility members require Javadoc</li>
-<li>private and package visiblity members do not require Javadoc</li>
-<li>favour the use of unchecked <tt>RuntimeException</tt> and avoid creating new Exception classes</li>
-<li>check method parametes and throw <tt>IllegalArguementException</tt> if parameters are null or invalid</li>
-<li>avoid creating any more classes than you need to get the job done</li>
-<li>localize control messages in the classe's <tt>properties</tt> files</li>
-<li>use the <tt>Context.getLocale()</tt> method to obtain a users locale</li>
-<li>before checking in code run the Ant task: <tt>ant format-java</tt>
-</ul>
+For a detailed list of dependencies please see <a href="building.html#extras-dependencies">Extras Dependencies</a>.
 
 </body>
 

Modified: incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/docs/faq.html
URL: http://svn.apache.org/viewvc/incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/docs/faq.html?rev=765835&r1=765834&r2=765835&view=diff
==============================================================================
--- incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/docs/faq.html (original)
+++ incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/docs/faq.html Fri Apr 17 02:18:30 2009
@@ -1,19 +1,39 @@
 <!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"/>
+ <link rel="stylesheet" type="text/css" href="../syntax-highlighter.css"/>
  <style type="text/css">
    dt { margin-top:2em; }
    dd { margin:1em; margin-left:2em; }
  </style>
+ <script type="text/javascript" src="../syntax-highlighter.js"></script>
 </head>
-<body>
+<body onload="prettyPrint();">
   
 <h1>Frequently Asked Questions</h1>
 <ol>
@@ -24,10 +44,12 @@
   <li><a href="#tool-support">What development tools are there?</a>
   </li>
   <li><a href="#html-control">How can the GUI designer define the HTML if Click Controls generates everything?</a>
-  </li> 
+  </li>
+  <li><a href="#customize-look-and-feel">How can I customize a control's look and feel (Stylesheet, JavaScript and other resources)?</a>
+  </li>
   <li><a href="#shared-template">How can I have many Pages using the same HTML template?</a>
   </li>
-  <li><a href="#listener-returns">Why do control listeners methods have to return a boolean value?</a>
+  <li><a href="#listener-returns">Why do control listener methods have to return a boolean value?</a>
   </li> 
   <li><a href="#exclude-fields">Can you exclude some fields from a Form?</a>
   </li> 
@@ -49,6 +71,8 @@
   </li>
   <li><a href="#jsp-support">Does Click support JSP?</a>
   </li>
+  <li><a href="#pdf-and-excel-rendering">How can I render PDF and Excel documents?</a>
+  </li>
   <li><a href="#performance">What is the performance of Click?</a>
   </li>
   <li><a href="#unit-testing">How do I unit test Click pages?</a>
@@ -162,7 +186,7 @@
   not meet all your UI style requirements. 
   <p/>
   Please note the Forms control provides many 
-  <a href="click-api/net/sf/click/control/Form.html#auto-layout">auto layout</a> 
+  <a href="click-api/org/apache/click/control/Form.html#auto-layout">auto layout</a> 
   options, see the <a href="examples.html">click-examples</a> 'Form Properties' 
   for a demonstration. 
   <p/>
@@ -189,7 +213,7 @@
   <u>Use Panel to class to create reusable HTML blocks.</u> 
   <p/>
   The 
-  <a href="click-api/net/sf/click/control/Panel.html">Panel</a> 
+  <a href="click-api/org/apache/click/control/Panel.html">Panel</a> 
   control support custom Velocity templates, which is an ideal way
   to create reusable HTML sections which you can include in many pages.
   Panels also support nested controls, enabling your sections to support 
@@ -200,7 +224,7 @@
   This is easy to do and gives you good reuse across your web application.
   <p/>
   Please see the Form 
-  <a href="click-api/net/sf/click/control/Form.html#velocity-macros">velocity macros</a> 
+  <a href="click-api/org/apache/click/control/Form.html#velocity-macros">velocity macros</a> 
   example, and also see the <a href="examples.html">click-examples</a> 'Velocity Macro' 
   demonstration. 
   </li><li>
@@ -210,16 +234,23 @@
   across your web application. 
   <p/>
   Please see the Form
-  <a href="click-api/net/sf/click/control/Form.html#manual-layout">manual layout</a>
+  <a href="click-api/org/apache/click/control/Form.html#manual-layout">manual layout</a>
   example.
   </li>
   </ol>
   </dd>
 
 
-  
+  <a name="customize-look-and-feel" class="heading"></a>
+  <dt><b>5.&nbsp; How can I customize a control's look and feel (Stylesheet, JavaScript and other resources)?</b></dt>
+  <dd>
+   See the section <a href="configuration.html#auto-deployed-files">aut deployed files</a>
+   for details on how to customize and override a control's resources.
+  </dd>
+
+
   <a name="shared-template" class="heading"></a>
-  <dt><b>5.&nbsp; How can I have many Pages using the same HTML template?</b></dt>
+  <dt><b>6.&nbsp; How can I have many Pages using the same HTML template?</b></dt>
   <dd>
    To do this use the Page templating technique detailed in the 
    <a href="pages.html#page-templating">Page Templating</a> topic. 
@@ -238,7 +269,7 @@
 
     
   <a name="listener-returns" class="heading"></a>
-  <dt><b>6.&nbsp; Why do control listeners methods have to return a boolean value?</b></dt>
+  <dt><b>7.&nbsp; Why do control listeners methods have to return a boolean value?</b></dt>
   <dd>
   Control listener methods have to return a boolean value to state whether the
   Pages controls and methods should continue to be processed. To continue
@@ -263,10 +294,10 @@
 
 
   <a name="exclude-fields" class="heading"></a>
-  <dt><b>7.&nbsp; Can you exclude some fields from a Form?</b></dt>
+  <dt><b>8.&nbsp; Can you exclude some fields from a Form?</b></dt>
   <dd>
    To exclude some fields from being displayed in a shared Form class use the
-   <a href="click-api/net/sf/click/control/Form.html#removeFields(java.util.List)">Form.removeFields()</a>
+   <a href="click-api/org/apache/click/control/Form.html#removeFields(java.util.List)">Form.removeFields()</a>
    method. 
    <p/>
    You can even do this in your page template. Just make sure you call you call 
@@ -281,7 +312,7 @@
 
   
   <a name="localization" class="heading"></a>
-  <dt><b>8.&nbsp; How do you internationalize Pages and Controls?</b></dt>
+  <dt><b>9.&nbsp; How do you internationalize Pages and Controls?</b></dt>
   <dd>
    Click provides good support for application localization and 
    internationalization (I18N) requirements.
@@ -290,7 +321,7 @@
 
    The Page class supports page specific string localisation bundles using the 
    method 
-   <a href="click-api/net/sf/click/Page.html#getMessage(java.lang.String)">getMessage(String)</a>.
+   <a href="click-api/org/apache/click/Page.html#getMessage(java.lang.String)">getMessage(String)</a>.
    For example a Login class with three locale string property files on the classpath:
 <pre class="codeConfig">
 /com/mycorp/pages/Login.properties
@@ -306,7 +337,7 @@
 } </pre>
 
    In your HTML page template you can also access the localize message using
-   the <a href="click-api/net/sf/click/util/MessagesMap.html">MessagesMap</a>
+   the <a href="click-api/org/apache/click/util/MessagesMap.html">MessagesMap</a>
    object which is added to the template using the name "messages". For example:
 
     <pre class="codeHtml">
@@ -317,19 +348,19 @@
    the Javadoc:
    <ul style="margin-top:1em;">
     <li>
-     <a href="click-api/net/sf/click/control/ActionLink.html#getLabel()">ActionLink.getLabel()</a>
+     <a href="click-api/org/apache/click/control/ActionLink.html#getLabel()">ActionLink.getLabel()</a>
     </li>
     <li>
-     <a href="click-api/net/sf/click/control/ActionLink.html#getTitle()">ActionLink.getTitle()</a>
+     <a href="click-api/org/apache/click/control/ActionLink.html#getTitle()">ActionLink.getTitle()</a>
     </li>
     <li>
-     <a href="click-api/net/sf/click/control/Field.html#getLabel()">Field.getLabel()</a>
+     <a href="click-api/org/apache/click/control/Field.html#getLabel()">Field.getLabel()</a>
     </li>
     <li>
-     <a href="click-api/net/sf/click/control/Field.html#getTitle()">Field.getTitle()</a>
+     <a href="click-api/org/apache/click/control/Field.html#getTitle()">Field.getTitle()</a>
     </li>
     <li>
-     <a href="click-api/net/sf/click/control/FieldSet.html#getLegend()">FieldSet.getLegend()</a>
+     <a href="click-api/org/apache/click/control/FieldSet.html#getLegend()">FieldSet.getLegend()</a>
     </li>
    </ul>
 
@@ -340,14 +371,14 @@
 /click-control.properties </pre>  
 
    The field class provides a number of 
-   <a href="click-api/net/sf/click/control/Field.html#getMessage(java.lang.String)">getMessage(String)</a>
+   <a href="click-api/org/apache/click/control/Field.html#getMessage(java.lang.String)">getMessage(String)</a>
    methods which support localized strings and message formatting.
    Please also see the Control topic <a href="controls.html#message-properties">Message Properties</a>.   
   </dd>
 
 
   <a name="utf8-encoding" class="heading"></a>
-  <dt><b>9.&nbsp; How do you encode Pages in the UTF-8 character set?</b></dt>
+  <dt><b>10.&nbsp; How do you encode Pages in the UTF-8 character set?</b></dt>
   <dd>
   To encode pages in the UTF-8 character set you need to create a
   <tt>WEB-INF/velocity.properties</tt> file with the properties:
@@ -368,13 +399,13 @@
 &lt;/click&gt; </pre>
   This will set the pages <tt>HttpServletResponse</tt> "Content-Type" header to be 
   "text/html;charset=UTF-8". Alternatively you can override the Page 
-  <a href="click-api/net/sf/click/Page.html#getContentType()">getContentType()</a> method
+  <a href="click-api/org/apache/click/Page.html#getContentType()">getContentType()</a> method
   to this content type.
   </dd>
 
 
   <a name="charset" class="heading"></a>
-  <dt><b>10.&nbsp; How do you specify the character set which is used in your application?</b></dt>
+  <dt><b>11.&nbsp; How do you specify the character set which is used in your application?</b></dt>
   <dd>
   
   You can specify your application character set in <tt>WEB-INF/click.xml</tt>:
@@ -396,7 +427,7 @@
   
       
   <a name="multiple-posts" class="heading"></a>
-  <dt><b>11.&nbsp; How can you prevent multiple form posts?</b></dt>
+  <dt><b>12.&nbsp; How can you prevent multiple form posts?</b></dt>
   <dd>
   You can prevent multiple form posts by using the Post Redirect pattern. With 
   this pattern once the user has posted a form you redirect to another page. 
@@ -408,7 +439,7 @@
   <p/>
   To prevent users resubmitting a form with the browser back button use the
   Form 
-  <a href="click-api/net/sf/click/control/Form.html#onSubmitCheck(net.sf.click.Page, java.lang.String)">onSubmitCheck()</a>
+  <a href="click-api/org/apache/click/control/Form.html#onSubmitCheck(org.apache.click.Page, java.lang.String)">onSubmitCheck()</a>
   method:
   
 <pre class="codeJava">
@@ -427,7 +458,7 @@
 
 
   <a name="html-pages"></a>
-  <dt><b>12.&nbsp; How can I use *.html Click pages?</b></dt>
+  <dt><b>13.&nbsp; How can I use *.html Click pages?</b></dt>
   <dd>
   Click does not support *.html files as Click pages. These files are not
   processed by the ClickServlet and are intended for use as static content.
@@ -436,7 +467,7 @@
 
 
   <a name="alternative-extension"></a>
-  <dt><b>13.&nbsp; Can Click be mapped to an extension other than *.htm?</b></dt>
+  <dt><b>14.&nbsp; Can Click be mapped to an extension other than *.htm?</b></dt>
   <dd>
   Currently Click only supports *.htm extension. You cannot create templates
   with a different extension for example '.xml'.
@@ -453,7 +484,7 @@
 
 
   <a name="cayenne-integration" class="heading"></a>
-  <dt><b>14.&nbsp; What JARs should I use with Click and Cayenne?</b></dt>
+  <dt><b>15.&nbsp; What JARs should I use with Click and Cayenne?</b></dt>
   <dd>
    To get Click and Cayenne to work happily with each other you will need to 
    include the following JAR files in your WEB-INF/lib directory:
@@ -474,10 +505,10 @@
 
 
   <a name="spring-integration" class="heading"></a>
-  <dt><b>15.&nbsp; How can you integrate Click into Spring?</b></dt>
+  <dt><b>16.&nbsp; How can you integrate Click into Spring?</b></dt>
   <dd>
    To integrate Spring with Click configure the
-   <a href="extras-api/net/sf/click/extras/spring/SpringClickServlet.html">SpringClickServlet</a>
+   <a href="extras-api/org/apache/click/extras/spring/SpringClickServlet.html">SpringClickServlet</a>
    instead of the normal ClickServlet. The SpringClickServlet is contained in the 
    <a href="extras.html">Extras</a> library.
    <p/>
@@ -502,7 +533,7 @@
 
 
   <a name="jsp-support" class="heading"></a>
-  <dt><b>16.&nbsp; Does Click support JSP?</b></dt>
+  <dt><b>17.&nbsp; Does Click support JSP?</b></dt>
   <dd>
    Click fully supports JSP pages. 
    <p/>
@@ -521,18 +552,18 @@
    the Servlet context path, e.g. <span class="">/mycorp</span>
   </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>forward &nbsp; - &nbsp; 
    the page JSP resource (.jsp file)
   </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 mapped request <a href="click-api/net/sf/click/Page.html#path">path</a> 
+  <li>path &nbsp; - &nbsp; the mapped request <a href="click-api/org/apache/click/Page.html#path">path</a> 
     of the page. Note this will have a .htm not a .jsp extension
   </li>
    </ul>
@@ -540,9 +571,92 @@
   </dd>
 
 
-    
+ <a name="pdf-and-excel-rendering" class="heading"></a>
+  <dt><b>18.&nbsp; How can I render PDF and Excel documents?</b></dt>
+  <dd>
+   By making use of the <a href="pages.html#page-direct-rendering">Direct Rendering</a>
+   support you can render directly to the servlet response and bypass the page
+   template rendering.
+   <p/>
+   Here is an example to render either a PDF or Excel document:
+<pre class="prettyprint">
+
+public MyPage extends Page {
+
+    /** The PDF report type request parameter. */
+    public static final String PDF = "pdf";
+
+    /** The Excel report type request parameter. */
+    public static final String EXCEL = "excel";
+
+    /**
+     * The Page#onGet renders the report to the servlet output stream.
+     */
+    public void onGet() {
+        HttpServletResponse response = getContext().getResponse();
+
+        // report type is a request parameter which specifies either PDF or Excel
+        String reportType = getContext().getRequestParameter("reportType");
+
+        // Retrieve either a PDF or Excel document as an InputStream
+        InputStream inputStream = getInputStream(reportType);
+
+        // Set response headers
+        String mimeType = getMimeType(reportType);
+        response.setHeader("Content-Disposition", "attachment; filename=\"report.pdf\"");
+        response.setContentType(mimeType);
+        response.setHeader("Pragma", "no-cache");
+
+        OutputStream outputStream = null;
+        try {
+            outputStream = response.getOutputStream();
+
+            // Write out PDF Document to response stream
+            IOUtils.copy(inputStream, outputStream);
+
+            // By setting the Page path to null, we bypass template rendering
+            setPath(null);
+
+        } catch (IOException ioe) {
+            throw new RuntimeException(ioe);
+
+        } finally {
+            ClickUtils.close(outputStream);
+        }
+    }
+
+    /**
+     * This method should contain the logic to retrieve the report as either a PDF
+     * or Excel document.
+     */
+    public InputStream getReport(String reportType) {
+        InputStream intputStream = null;
+        if (PDF.equals(reportType)) {
+            ...
+        } else if (EXCEL.equals(reportType)) {
+            ...
+        }
+        return intputStream;
+    }
+
+    /**
+     * This method returns the report mime type based on the specified report type.
+     */
+    public String getMimeType(String reportType) {
+        if (PDF.equals(reportType)) {
+            return ClickUtils.getMimeType(".pdf");
+        } else if (EXCEL.equals(reportType)) {
+            return ClickUtils.getMimeType(".xls");
+        }
+    }
+}
+</pre>
+  <p/>
+  </dd>
+
+
   <a name="performance" class="heading"></a>
-  <dt><b>17.&nbsp; What is the performance of Click?</b></dt>
+  <dt><b>19.&nbsp; What is the performance of Click?</b></dt>
   <dd>
   Click is fast. 
   <p/>
@@ -584,7 +698,7 @@
 
 
   <a name="unit-testing"></a>
-  <dt><b>18.&nbsp; How do I unit test Click pages?</b></dt>
+  <dt><b>20.&nbsp; How do I unit test Click pages?</b></dt>
   <dd>
   It is generally recommended that you don't write JUnit style automated unit 
   tests for Click pages as the cost to benefit ratio is quite poor.
@@ -594,13 +708,13 @@
   <p/>
   If you still need to write unit tests for your Click pages, please read the 
   <a href="mock-api/overview-summary.html">documentation</a> on the
-  <a href="mock-api/net/sf/click/MockContainer.html">MockContainer</a> and
-  <a href="mock-api/net/sf/click/MockContext.html">MockContext</a> classes.
+  <a href="mock-api/org/apache/click/MockContainer.html">MockContainer</a> and
+  <a href="mock-api/org/apache/click/MockContext.html">MockContext</a> classes.
   </dd>
 
 
   <a name="logging" class="heading"></a>
-  <dt><b>19.&nbsp; Why doesn't Click use Commons Logging / Log4J for logging?</b></dt>
+  <dt><b>21.&nbsp; Why doesn't Click use Commons Logging / Log4J for logging?</b></dt>
   <dd>
    Click by default does not use Commons Logging / Log4J to avoid the class 
    loader and configuration issues which often occur with these framework, and
@@ -612,7 +726,7 @@
     
 
   <a name="why-velocity" class="heading"></a>
-  <dt><b>20.&nbsp; Why doesn't Click use FreeMarker instead of Velocity as the default template engine?</b></dt>
+  <dt><b>22.&nbsp; Why doesn't Click use FreeMarker instead of Velocity as the default template engine?</b></dt>
   <dd>
    FreeMarker is a powerful templating engine which was evaluated along side 
    Velocity for use in Click. While FreeMarker has many sophisticated
@@ -625,7 +739,7 @@
 
 
   <a name="why-click" class="heading"></a>
-  <dt><b>21.&nbsp; Why develop a new Web Application Framework?</b></dt>
+  <dt><b>23.&nbsp; Why develop a new Web Application Framework?</b></dt>
   <dd>
   Because the existing frameworks did not meet my needs. Struts doesn't really do much, 
   while Tapestry is too complicated. 

Modified: incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/docs/introduction.html
URL: http://svn.apache.org/viewvc/incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/docs/introduction.html?rev=765835&r1=765834&r2=765835&view=diff
==============================================================================
--- incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/docs/introduction.html (original)
+++ incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/docs/introduction.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"/>
  <link rel="stylesheet" type="text/css" href="table.css"/>
  <style type="text/css">
@@ -29,9 +47,9 @@
 and <a target="_blank" href="http://freemarker.sourceforge.net/">Freemarker</a> are also supported)
 <p>
 This framework uses a single servlet, called
-<a target="topic" href="click-api/net/sf/click/ClickServlet.html">ClickServlet</a>, to
+<a target="topic" href="click-api/org/apache/click/ClickServlet.html">ClickServlet</a>, to
 act as a request dispatcher. When a request arrives ClickServlet creates a 
-<a target="topic" href="click-api/net/sf/click/Page.html">Page</a> object to 
+<a target="topic" href="click-api/org/apache/click/Page.html">Page</a> object to 
 process the request and then uses the page's Velocity template to render the 
 results.
 <p>
@@ -56,6 +74,9 @@
   </li>
 </ol>
 
+These examples are available online at <a class="external" target="_blank" href="http://www.avoka.com/click-examples/">http://www.avoka.com/click-examples/</a>
+under the menu "Intro Examples".
+
 <p>&nbsp;</p>
 
 <a name="hello-world" class="heading"></a><h2>1.&nbsp; Hello World Example</h2>
@@ -67,7 +88,7 @@
 <span class="kw">package</span> <span class="red">examples.page</span>;
 
 <span class="kw">import</span> java.util.Date;
-<span class="kw">import</span> net.sf.click.Page;
+<span class="kw">import</span> org.apache.click.Page;
 
 <span class="kw">public</span> HelloWorld <span class="kw">extends</span> Page {
 
@@ -76,7 +97,7 @@
 } 
 </pre>
 
-Next we would have a page template <span class="blue">hello-world.htm</span>:
+Next we have a page template <span class="blue">hello-world.htm</span>:
 
 <pre class="codeHtml">
 &lt;html&gt;
@@ -90,9 +111,15 @@
 &lt;/html&gt; 
 </pre>
 
-And finally we have a <tt>click.xml</tt> configuration file which tells our Click 
-application to map <span class="blue">hello-world.htm</span>
-requests to our <tt>HelloWorld</tt> page class.
+Click is smart enough to figure out that the <tt>HelloWorld</tt> page class maps
+to the template <span class="blue">hello-world.htm</span>. We only have to inform
+Click of the <tt>package</tt> of the HelloWorld class, in this case <tt>examples.page</tt>.
+
+<p/>
+We do that through the
+<a target='topic' href="configuration.html#application-configuration">click.xml</a>
+configuration file which tells Click to map <span class="blue">hello-world.htm</span>
+requests to our <tt>examples.page.HelloWorld</tt> page class.
 
 <pre class="codeConfig">
 &lt;click-app&gt;  
@@ -129,7 +156,7 @@
 provide user interface functionality. 
 <p/>
 One of the commonly used controls is the 
-<a target="topic" href="click-api/net/sf/click/control/ActionLink.html">ActionLink</a>,
+<a target="topic" href="click-api/org/apache/click/control/ActionLink.html">ActionLink</a>,
 which you can use to have a HTML link call a method on a Page object. For example:
 
 <pre class="codeJava">
@@ -222,7 +249,7 @@
 <a name="simple-table" class="heading"></a><h2>3.&nbsp; Simple Table Example</h2>
 
 One of the most useful Click controls is the 
-<a target="topic" href="click-api/net/sf/click/control/Table.html">Table</a>
+<a target="topic" href="click-api/org/apache/click/control/Table.html">Table</a>
 control.
 <p/>
 
@@ -256,7 +283,7 @@
 } </pre>
 
 In this Page code example a Table control is declared, we set the table's HTML class,
-and then define a number of table <a target="topic" href="click-api/net/sf/click/control/Column.html">Column</a>
+and then define a number of table <a target="topic" href="click-api/org/apache/click/control/Column.html">Column</a>
 objects. In the column definitions we specify the name of the column in the constructor,
 which is used for the table column header and also to specify the row object property 
 to render.
@@ -339,11 +366,11 @@
         
         table.addColumn(<span class="kw">new</span> Column(<span class="st">"investments"</span>));
         
-        editLink.setImageSrc(<span class="st">"/images/window-edit.png"</span>);
+        editLink.setImageSrc(<span class="st">"/images/table-edit.png"</span>);
         editLink.setTitle(<span class="st">"Edit customer details"</span>);
         editLink.setParameter(<span class="st">"referrer"</span>, <span class="st">"/introduction/advanced-table.htm"</span>);
         
-        deleteLink.setImageSrc(<span class="st">"/images/window-delete.png"</span>);
+        deleteLink.setImageSrc(<span class="st">"/images/table-delete.png"</span>);
         deleteLink.setTitle(<span class="st">"Delete customer record"</span>);
         deleteLink.setAttribute(<span class="st">"onclick"</span>, <span class="st">"return window.confirm('Are you sure you want to delete this record?');"</span>);
     	
@@ -376,9 +403,9 @@
 } </pre>
 
 In this Page code example a Table control is declared and a number of 
-<a target="topic" href="click-api/net/sf/click/control/Column.html">Column</a>
+<a target="topic" href="click-api/org/apache/click/control/Column.html">Column</a>
 objects are added. A deleteLink 
-<a target="topic" href="click-api/net/sf/click/control/ActionLink.html">ActionLink</a>
+<a target="topic" href="click-api/org/apache/click/control/ActionLink.html">ActionLink</a>
 control is used as a decorator for the "Action" column. This control will invoke the
 Page <tt>onDeleteClick()</tt> method when it is clicked. Finally we have the 
 Page <tt>onRender()</tt> method which is used to populate the Table control with
@@ -422,15 +449,15 @@
 
 <a name="simple-form" class="heading"></a><h2>5.&nbsp; Simple Form Example</h2>
 
-The <a target="topic" href="click-api/net/sf/click/control/Form.html">Form</a> and 
-<a target="topic" href="click-api/net/sf/click/control/Field.html">Field</a> controls
+The <a target="topic" href="click-api/org/apache/click/control/Form.html">Form</a> and 
+<a target="topic" href="click-api/org/apache/click/control/Field.html">Field</a> controls
 are also some of the most commonly used controls in the Click Framework.
 <p/>
 The SimpleForm page below provides a demonstration of using these controls.
 <p/>
 In our example code we have the page's constructor adding a 
-<a target="topic" href="click-api/net/sf/click/control/TextField.html">TextField</a> field and a
-<a target="topic" href="click-api/net/sf/click/control/Submit.html">Submit</a> button to the form.
+<a target="topic" href="click-api/org/apache/click/control/TextField.html">TextField</a> field and a
+<a target="topic" href="click-api/org/apache/click/control/Submit.html">Submit</a> button to the form.
 A page method is also set as a control listener on the form.
 Also note in this example the page's public <span class="st">form</span> field is 
 automatically added to its list of controls.
@@ -603,10 +630,10 @@
 of using Form, Field and FielsSet controls.
 <p/>
 First we have an <tt>AdvancedForm</tt> class which setups up a 
-<a href="click-api/net/sf/click/control/Form.html">Form</a>
+<a href="click-api/org/apache/click/control/Form.html">Form</a>
 in its constructor. 
 The form's investment 
-<a href="click-api/net/sf/click/control/Select.html">Select</a> list is populated
+<a href="click-api/org/apache/click/control/Select.html">Select</a> list is populated
 in the page's <tt>onInit()</tt> method. At this point any page dependencies such
 as the CustomerService should be available.
 <p/>
@@ -740,7 +767,7 @@
 </tr>
 <tr class="fields">
 <td class="fields" align="left"><label for="dateJoined_field">Date Joined</label><span class="required">*</span></td>
-<td align="left"><input type="text" name="dateJoined" id="dateJoined_field" value="" size="20"/><img align="top" style="cursor:hand" src="../images/calendar.gif" id="dateJoined_field-button"  alt="Calendar" title="Calendar"/></td>
+<td align="left"><input type="text" name="dateJoined" id="dateJoined_field" value="" size="20"/></td>
 </tr>
 <tr class="fields">
 <td class="fields" align="left"><label for="form_active">Active</label>&nbsp;</td>
@@ -767,7 +794,7 @@
 In this example when the OK button is clicked the <tt>onOkClicked()</tt> method is invoked.
 If the form is valid a new customer object is created and the forms field values are copied
 to the new object using the Form 
-<a href="click-api/net/sf/click/control/Form.html#copyTo(java.lang.Object)">copyTo()</a>
+<a href="click-api/org/apache/click/control/Form.html#copyTo(java.lang.Object)">copyTo()</a>
 method. The customer object is then saved, the form's field values are cleared and an
 info message is presented to the user.
 <p/>
@@ -783,7 +810,7 @@
 <p/>
 For fine grained page design you can specifically layout form and fields in 
 your page template. See the <a href="controls.html#template-layout">Template Layout</a>
-section and <a href="click-api/net/sf/click/control/Form.html#form-layout">Form</a>
+section and <a href="click-api/org/apache/click/control/Form.html#form-layout">Form</a>
 Javadoc for more details.
 <p/>
 An alternative approach to page template design is using a programmatic approach.

Modified: incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/docs/javadoc-stylesheet.css
URL: http://svn.apache.org/viewvc/incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/docs/javadoc-stylesheet.css?rev=765835&r1=765834&r2=765835&view=diff
==============================================================================
--- incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/docs/javadoc-stylesheet.css (original)
+++ incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/docs/javadoc-stylesheet.css Fri Apr 17 02:18:30 2009
@@ -1,3 +1,22 @@
+/*
+ * 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.
+ */
+
 /* Javadoc style sheet */
 
 /* Define colors, fonts and other style attributes here to override the defaults */
@@ -112,6 +131,10 @@
 
 /*  form.css */
 
+a.external {
+  background: url(../../images/external.png) center right no-repeat;
+  padding-right: 14px;
+}
 a.error {
 	color: red;
 }

Modified: incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/docs/javadoc.html
URL: http://svn.apache.org/viewvc/incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/docs/javadoc.html?rev=765835&r1=765834&r2=765835&view=diff
==============================================================================
--- incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/docs/javadoc.html (original)
+++ incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/docs/javadoc.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"/>
     <style type="text/css">
         .change {
@@ -33,7 +51,7 @@
         </p>
     </li>
     <li class="change" style="padding-bottom:0.25em;">
-        <a target='topic' href='click-api/net/sf/click/control/package-summary.html' title=' Controls Javadoc API'>Controls API</a>
+        <a target='topic' href='click-api/org/apache/click/control/package-summary.html' title=' Controls Javadoc API'>Controls API</a>
         &nbsp; - &nbsp;  <i>(click.jar)</i>
         <p> 
         Provides the Core Controls, and provides a short description of each control and corresponding HTML element. 
@@ -49,7 +67,7 @@
         </p>
     </li style="padding-bottom:0.25em;">
         <li class="change">
-        <a target='topic' href='mock-api/net/sf/click/package-summary.html' title=' Mock Javadoc API'>Mock API</a>
+        <a target='topic' href='mock-api/org/apache/click/package-summary.html' title=' Mock Javadoc API'>Mock API</a>
         &nbsp; - &nbsp;  <i>(click-mock.jar)</i>
         <p>
         Provides a library for testing Click Pages and Controls, independent of a Servlet container such as Tomcat or Jetty.
@@ -59,7 +77,3 @@
 
 You can find these libraries under the <em>/dist</em> folder in the Click distribution you downloaded.
 <p/>
-These jars are also available from <a href="http://repo1.maven.org/maven/net.sf.click/jars/">maven 1</a>
-and <a href="http://repo1.maven.org/maven2/net/sf/click/">maven 2</a> repositories. (For some reason the <em>maven 1</em> 
-repository does not list Click jars > 1.4. However the jars are available for download, just change the url to the version you need and the download starts.)
-<p/>

Modified: incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/docs/mock-overview.html
URL: http://svn.apache.org/viewvc/incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/docs/mock-overview.html?rev=765835&r1=765834&r2=765835&view=diff
==============================================================================
--- incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/docs/mock-overview.html (original)
+++ incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/docs/mock-overview.html Fri Apr 17 02:18:30 2009
@@ -1,21 +1,39 @@
+<!--
+   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.
+-->
 <body>
 
 	<p>
-    Click Mock provides a full <a href="net/sf/click/package-summary.html">Mock</a> stack which
+    Click Mock provides a full <a href="org/apache/click/package-summary.html">Mock</a> stack which
     allows you to test Controls and Pages without the need for a Servlet container such as Tomcat or Jetty.
     </p>
     <p/>
     The mock package is distributed as a separate jar and is available in the Click distribution you downloaded.
     Look under the <em>dist</em> folder for a jar called <em>click-mock-&lt;version&gt;.jar</em>.
     <p/>
-    For testing purposes there are two classes of interest: <a href="net/sf/click/MockContainer.html" >MockContainer</a>
-    and <a href="net/sf/click/MockContext.html" >MockContext</a>.
+    For testing purposes there are two classes of interest: <a href="org/apache/click/MockContainer.html" >MockContainer</a>
+    and <a href="org/apache/click/MockContext.html" >MockContext</a>.
     <p/><br>
     
     <b>MockContainer</b>
     
     <p/>
-    If you want to test your pages (functional tests) use <a href="net/sf/click/MockContainer.html" >MockContainer</a> 
+    If you want to test your pages (functional tests) use <a href="org/apache/click/MockContainer.html" >MockContainer</a> 
     which simulates a servlet container such as Tomcat or Jetty. With the
     container you can mock page requests, form submissions, file uploads,
     navigation etc.
@@ -38,14 +56,14 @@
         ...
     }
 } </pre>
-    Internally MockContainer creates an instance of <a href="net/sf/click/MockContext.html">MockContext</a>
+    Internally MockContainer creates an instance of <a href="org/apache/click/MockContext.html">MockContext</a>
     and a number of Servlet stubs. Below is the list of stubs created:
     <ul style="margin-top:0.5em;">
-     <li class="item"><a href="net/sf/click/servlet/MockRequest.html">MockRequest</a></li>
-     <li class="item"><a href="net/sf/click/servlet/MockResponse.html">MockResponse</a></li>
-     <li class="item"><a href="net/sf/click/servlet/MockServletContext.html">MockServletContext</a></li>
-     <li class="item"><a href="net/sf/click/servlet/MockServletConfig.html">MockServletConfig</a></li>
-     <li class="item"><a href="net/sf/click/servlet/MockSession.html">MockSession</a></li>
+     <li class="item"><a href="org/apache/click/servlet/MockRequest.html">MockRequest</a></li>
+     <li class="item"><a href="org/apache/click/servlet/MockResponse.html">MockResponse</a></li>
+     <li class="item"><a href="org/apache/click/servlet/MockServletContext.html">MockServletContext</a></li>
+     <li class="item"><a href="org/apache/click/servlet/MockServletConfig.html">MockServletConfig</a></li>
+     <li class="item"><a href="org/apache/click/servlet/MockSession.html">MockSession</a></li>
     </ul>
     <br>
     MockContainer provides various getters to for accessing the Servlet stubs.
@@ -55,8 +73,8 @@
     those instead of creating its own default instances.
     <p/>
     Once created you need to manage the container life cycle through
-    the methods <a href="net/sf/click/MockContainer.html#start()">start</a> and
-    <a href="net/sf/click/MockContainer.html#stop()">stop</a>.
+    the methods <a href="org/apache/click/MockContainer.html#start()">start</a> and
+    <a href="org/apache/click/MockContainer.html#stop()">stop</a>.
     <pre class="prettyprint">
 public class IntegrationTest extends TestCase {
     public void testFirstPage() {
@@ -72,13 +90,13 @@
     }
 } </pre>
     <p/>
-    Http request parameters can be set through <a href="net/sf/click/servlet/MockRequest.html">MockRequest</a>.
+    Http request parameters can be set through <a href="org/apache/click/servlet/MockRequest.html">MockRequest</a>.
     <p/>
     MockContainer also provides a number of convenience methods for this very purpose namely 
-    <a href="net/sf/click/MockContainer.html#setParameter(java.lang.String, java.lang.String)">MockContainer.setParameter(String, String)</a> and
-    <a href="net/sf/click/MockContainer.html#setParameter(java.lang.String, java.io.File, java.lang.String)">MockContainer.setParameter(String, File, String)</a>.
+    <a href="org/apache/click/MockContainer.html#setParameter(java.lang.String, java.lang.String)">MockContainer.setParameter(String, String)</a> and
+    <a href="org/apache/click/MockContainer.html#setParameter(java.lang.String, java.io.File, java.lang.String)">MockContainer.setParameter(String, File, String)</a>.
     <p/>
-    To set request attributes use <a href="net/sf/click/MockContainer.html#setAttribute(java.lang.String, java.lang.Object)">MockContainer.setAttribute(String, Object)</a>.
+    To set request attributes use <a href="org/apache/click/MockContainer.html#setAttribute(java.lang.String, java.lang.Object)">MockContainer.setAttribute(String, Object)</a>.
     <p/>
     The example below shows a complete test:
     <pre class="prettyprint">
@@ -113,13 +131,13 @@
     Form.FORM_NAME must be set to the Form's name, called "form" in this example.
     <p/>
     The Page output is available through
-    <a href="net/sf/click/MockContainer.html#getHtml()">MockContainer.getHtml()</a>.
+    <a href="org/apache/click/MockContainer.html#getHtml()">MockContainer.getHtml()</a>.
     <p/><br>
     
     <b>MockContext</b>
     
     <p/>
-    <a href="net/sf/click/MockContext.html" >MockContext</a> 
+    <a href="org/apache/click/MockContext.html" >MockContext</a> 
     is useful for testing custom controls (components).
     <p/>
     <b>Note</b> that it is not necessary to specify a web directory when using MockContext.
@@ -139,21 +157,21 @@
     MockContext provides a number of <em>initContext</em> that prepares and initializes the
     context:
     <ul style="margin-top:0.5em;">
-     <li class="item"><a href="net/sf/click/MockContext.html#initContext()">initContext()</a></li>
-     <li class="item"><a href="net/sf/click/MockContext.html#initContext(java.lang.String)">initContext(String servletPath)</a></li>
-     <li class="item"><a href="net/sf/click/MockContext.html#initContext(java.util.Locale)">initContext(Locale locale)</a></li>
-     <li class="item"><a href="net/sf/click/MockContext.html#initContext(java.util.Locale,%20java.lang.String)">initContext(Locale locale, String servletPath)</a></li>
-     <li class="item"><a href="net/sf/click/MockContext.html#initContext(net.sf.click.servlet.MockServletConfig,%20net.sf.click.servlet.MockRequest,%20net.sf.click.servlet.MockResponse,%20net.sf.click.ClickServlet)">initContext(MockServletConfig servletConfig, MockRequest request, MockResponse response, ClickServlet clickServlet)</a></li>
+     <li class="item"><a href="org/apache/click/MockContext.html#initContext()">initContext()</a></li>
+     <li class="item"><a href="org/apache/click/MockContext.html#initContext(java.lang.String)">initContext(String servletPath)</a></li>
+     <li class="item"><a href="org/apache/click/MockContext.html#initContext(java.util.Locale)">initContext(Locale locale)</a></li>
+     <li class="item"><a href="org/apache/click/MockContext.html#initContext(java.util.Locale,%20java.lang.String)">initContext(Locale locale, String servletPath)</a></li>
+     <li class="item"><a href="org/apache/click/MockContext.html#initContext(org.apache.click.servlet.MockServletConfig,%20org.apache.click.servlet.MockRequest,%20org.apache.click.servlet.MockResponse,%20org.apache.click.ClickServlet)">initContext(MockServletConfig servletConfig, MockRequest request, MockResponse response, ClickServlet clickServlet)</a></li>
     </ul>
     
     <br>
     The MockContext.initContext methods creates a number of Servlet stubs. Below is the list of stubs created:
     <ul style="margin-top:0.5em;">
-     <li class="item"><a href="net/sf/click/servlet/MockRequest.html">MockRequest</a></li>
-     <li class="item"><a href="net/sf/click/servlet/MockResponse.html">MockResponse</a></li>
-     <li class="item"><a href="net/sf/click/servlet/MockServletContext.html">MockServletContext</a></li>
-     <li class="item"><a href="net/sf/click/servlet/MockServletConfig.html">MockServletConfig</a></li>
-     <li class="item"><a href="net/sf/click/servlet/MockSession.html">MockSession</a></li>
+     <li class="item"><a href="org/apache/click/servlet/MockRequest.html">MockRequest</a></li>
+     <li class="item"><a href="org/apache/click/servlet/MockResponse.html">MockResponse</a></li>
+     <li class="item"><a href="org/apache/click/servlet/MockServletContext.html">MockServletContext</a></li>
+     <li class="item"><a href="org/apache/click/servlet/MockServletConfig.html">MockServletConfig</a></li>
+     <li class="item"><a href="org/apache/click/servlet/MockSession.html">MockSession</a></li>
     </ul>
     <br>
     The example below shows how MockContext can be used to test a custom Control called ValidationField:

Modified: incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/docs/not-found.html
URL: http://svn.apache.org/viewvc/incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/docs/not-found.html?rev=765835&r1=765834&r2=765835&view=diff
==============================================================================
--- incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/docs/not-found.html (original)
+++ incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/docs/not-found.html Fri Apr 17 02:18:30 2009
@@ -1,3 +1,21 @@
+<!--
+   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><title>Page Not Found</title>
 
 <style>



Mime
View raw message