You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@click.apache.org by ta...@apache.org on 2009/07/25 17:16:02 UTC

svn commit: r797780 [1/8] - in /incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation: ./ docs/ images/ user-guide/ user-guide/css/ user-guide/images/ user-guide/images/best-practices/ user-guide/images/callouts/ user-guide/images/...

Author: takezoe
Date: Sat Jul 25 15:15:49 2009
New Revision: 797780

URL: http://svn.apache.org/viewvc?rev=797780&view=rev
Log:
docs synchronization

Added:
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/ch01.html   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/ch01s02.html   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/ch01s03.html   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/ch01s04.html   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/ch01s05.html   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/ch01s06.html   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/ch01s07.html   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/ch02.html   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/ch02s02.html   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/ch02s03.html   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/ch02s04.html   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/ch02s05.html   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/ch02s06.html   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/ch02s07.html   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/ch02s08.html   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/ch02s09.html   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/ch02s10.html   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/ch02s11.html   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/ch02s12.html   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/ch03.html   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/ch03s02.html   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/ch03s03.html   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/ch03s04.html   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/ch03s05.html   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/ch03s06.html   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/ch03s07.html   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/ch04.html   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/ch04s02.html   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/ch04s03.html   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/ch05.html   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/ch05s02.html   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/ch05s03.html   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/ch05s04.html   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/ch05s05.html   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/ch05s06.html   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/ch05s07.html   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/ch05s08.html   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/ch05s09.html   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/css/
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/css/stylesheet.css   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/annot-close.png   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/annot-open.png   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/best-practices/
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/best-practices/packages-classes.png   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/blank.png   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/callouts/
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/callouts/1.gif   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/callouts/1.png   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/callouts/1.svg
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/callouts/10.gif   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/callouts/10.png   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/callouts/10.svg
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/callouts/11.gif   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/callouts/11.png   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/callouts/11.svg
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/callouts/12.gif   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/callouts/12.png   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/callouts/12.svg
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/callouts/13.gif   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/callouts/13.png   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/callouts/13.svg
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/callouts/14.gif   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/callouts/14.png   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/callouts/14.svg
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/callouts/15.gif   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/callouts/15.png   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/callouts/15.svg
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/callouts/16.svg
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/callouts/17.svg
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/callouts/18.svg
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/callouts/19.svg
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/callouts/2.gif   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/callouts/2.png   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/callouts/2.svg
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/callouts/20.svg
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/callouts/21.svg
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/callouts/22.svg
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/callouts/23.svg
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/callouts/24.svg
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/callouts/25.svg
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/callouts/26.svg
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/callouts/27.svg
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/callouts/28.svg
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/callouts/29.svg
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/callouts/3.gif   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/callouts/3.png   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/callouts/3.svg
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/callouts/30.svg
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/callouts/4.gif   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/callouts/4.png   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/callouts/4.svg
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/callouts/5.gif   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/callouts/5.png   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/callouts/5.svg
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/callouts/6.gif   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/callouts/6.png   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/callouts/6.svg
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/callouts/7.gif   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/callouts/7.png   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/callouts/7.svg
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/callouts/8.gif   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/callouts/8.png   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/callouts/8.svg
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/callouts/9.gif   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/callouts/9.png   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/callouts/9.svg
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/caution.gif   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/caution.png   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/caution.svg
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/caution.tif   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/click-logo.png   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/configuration/
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/configuration/config-files.png   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/controls/
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/controls/container-package-class-diagram.png   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/controls/control-class-diagram.png   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/controls/control-package-class-diagram.png   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/controls/control-post-sequence-diagram.png   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/draft.png   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/external.png   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/home.gif   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/home.png   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/home.svg
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/important.gif   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/important.png   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/important.svg
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/important.tif   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/introduction/
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/introduction/advanced-form.png   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/introduction/advanced-table.png   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/introduction/hello-world-screenshot.png   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/introduction/simple-form-error.png   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/introduction/simple-form-success.png   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/introduction/simple-form.png   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/introduction/simple-table.png   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/next.gif   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/next.png   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/next.svg
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/note.gif   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/note.png   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/note.svg
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/note.tif   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/pages/
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/pages/activity-diagram-small.png   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/pages/click-class-diagram.png   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/pages/get-sequence-diagram.png   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/pages/home-page-screenshot.png   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/prev.gif   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/prev.png   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/prev.svg
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/tip.gif   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/tip.png   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/tip.svg
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/tip.tif   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/toc-blank.png   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/toc-minus.png   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/toc-plus.png   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/up.gif   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/up.png   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/up.svg
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/warning.gif   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/warning.png   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/warning.svg
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/images/warning.tif   (with props)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/index.html   (with props)
Removed:
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/docs/
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/header.html
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/help.css
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/images/
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/index.html
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/syntax-highlighter.css
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/syntax-highlighter.js
Modified:
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/   (props changed)
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/toc.html

Propchange: incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Sat Jul 25 15:15:49 2009
@@ -1,2 +1,2 @@
 /incubator/click/tags/click-2.0.1/documentation:745969-765833
-/incubator/click/trunk/click/documentation:715106-745968
+/incubator/click/trunk/click/documentation:715106-797779

Modified: incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/toc.html
URL: http://svn.apache.org/viewvc/incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/toc.html?rev=797780&r1=797779&r2=797780&view=diff
==============================================================================
--- incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/toc.html (original)
+++ incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/toc.html Sat Jul 25 15:15:49 2009
@@ -45,13 +45,8 @@
 </td></tr>
 
 <tr><td>
-<a target='topic' class='navLinkTopic' href='docs/introduction.html' title=' Click Introduction'>
-Introduction </a>
-</td></tr>
-
-<tr><td>
 <a target='topic' class='navLinkTopic' href='docs/why-click.html' title=' Click Background'>
-Why Click </a>
+Why Click?</a>
 </td></tr>
 
 <tr><td>
@@ -60,90 +55,88 @@
 </td></tr>
 
 <tr><td>
-<a target='topic' class='navLinkTopic' href='docs/pages.html' title=' Click Page Classes'>
-Pages</a>
+<a target='topic' class='navLinkTopic' href='docs/examples.html' title=' Example Applications'>
+Examples</a>
 </td></tr>
 
 <tr><td>
-<a target='topic' class='navLinkTopic' href='docs/controls.html' title=' Click HTML Controls'>
-Controls</a>
+<a target='topic' class='navLinkTopic' href='docs/roadmap-changes.html' title=' RoadMap and Changes'>
+RoadMap &amp; Changes</a>
 </td></tr>
 
 <tr><td>
-<a target='topic' class='navLinkTopic' href='docs/configuration.html' title=' Click Application Configuration'>
-Configuration</a>
+<a target='topic' class='navLinkTopic' href='docs/downloads.html' title=' Downloads'>
+Downloads</a>
 </td></tr>
 
-<tr><td>
-<a target='topic' class='navLinkTopic' href='docs/quick-start.html' title=' Click Quick Start Guide'>
-Quick Start</a>
-</td></tr>
 
 <tr><td>
-<a target='topic' class='navLinkTopic' href='docs/best-practices.html' title=' Click Development Best Practices'>
-Best Practices</a>
+<img src='images/book.gif' align='absbottom' border='0'/>&nbsp;
+Documentation
 </td></tr>
 
 <tr><td>
-<a target='topic' class='navLinkTopic' href='docs/faq.html' title=' Frequently Asked Questions'>
-FAQ</a>
+<a target='topic' class='navLinkTopic' href='docs/user-guide.html' title=' User Guide'>
+User Guide</a>
 </td></tr>
 
 <tr><td>
-<a target='topic' class='navLinkTopic' href='docs/examples.html' title=' Example Applications'>
-Examples</a>
+<a target='topic' class='navLinkTopic' href='docs/javadoc.html' title=' Click Javadoc API'>
+Javadoc</a>
 </td></tr>
 
 <tr><td>
-<a target='topic' class='navLinkTopic' href='docs/extensions.html' title=' Extention Projects'>
-Extension Projects</a>
+<a target='topic' class='navLinkTopic' href='docs/quick-start.html' title=' Click Quick Start Guide'>
+Quick Start Guide</a>
 </td></tr>
 
 <tr><td>
-<a target='topic' class='navLinkTopic' href='docs/developer-guide/developer-guide.html' title=' Guide for developers and contributors'>
-Developer Guide</a>
+<a target='_blank' class='navLinkTopic' href='docs/click-cheat-sheet.pdf' title=' Click Framework Cheat Sheet'>
+Cheat Sheet PDF</a>
+<img src='images/external.png' align='baseline' border='0'/>
 </td></tr>
 
 <tr><td>
-<a target='topic' class='navLinkTopic' href='docs/roadmap-changes.html' title=' RoadMap and Changes'>
-RoadMap &amp; Changes</a>
+<a target='topic' class='navLinkTopic' href='docs/faq.html' title=' Frequently Asked Questions'>
+FAQ</a>
 </td></tr>
 
 <tr><td>
-<a target='blank' class='navLinkTopic' href='docs/click-cheat-sheet.pdf' title=' Click Framework Cheat Sheet'>
-Cheat Sheet PDF</a>
-<img src='images/external.png' align='baseline' border='0'/>
+<a target='topic' class='navLinkTopic' href='docs/developer-guide/developer-guide.html' title=' Guide for developers and contributors'>
+Developer Guide</a>
 </td></tr>
 
+
 <tr><td>
-<a target='topic' class='navLinkTopic' href='docs/downloads.html' title=' Downloads'>
-Downloads</a>
+<img src='images/book.gif' align='absbottom' border='0'/>&nbsp;
+Support
 </td></tr>
 
-
 <tr><td>
-<a target='topic' class='navLinkSection' href='docs/javadoc.html' title=' Click Javadoc API'>
-Javadoc</a>
+<a target='topic' class='navLinkTopic' href='docs/click-online.html#mailing-lists' title=' Mailing Lists'>
+Mailing Lists</a>
 </td></tr>
 
 <tr><td>
-<a target='topic' class='navLinkTopic' href='docs/click-api/overview-summary.html' title=' Click Javadoc API'>
-Click API</a>
+<a target='_blank' class='navLinkTopic' href='https://issues.apache.org/jira/browse/CLK' title=' Issue Tracker'>
+Issue Tracker</a>
+<img src='images/external.png' align='baseline' border='0'/>
 </td></tr>
 
+
 <tr><td>
-<a target='topic' class='navLinkTopic' href='docs/click-api/org/apache/click/control/package-summary.html' title=' Control Javadoc API'>
-Control API</a>
+<img src='images/book.gif' align='absbottom' border='0'/>&nbsp;
+Community
 </td></tr>
 
 <tr><td>
-<a target='topic' class='navLinkTopic' href='docs/extras-api/overview-summary.html' title=' Click Extras Javadoc API'>
-Extras API</a>
+<a target='topic' class='navLinkTopic' href='docs/who-we-are.html' title=' Who we are'>
+Who we are</a>
 </td></tr>
 
 <tr><td>
-<a target='topic' class='navLinkTopic' href='docs/mock-api/overview-summary.html' title=' Click Extras Javadoc API'>
-Mock API</a>
+<a target='topic' class='navLinkTopic' href='docs/extentions.html' title=' Extention Projects'>
+Extention Projects</a>
 </td></tr>
 
 
@@ -167,45 +160,36 @@
 Velocity </a>
 </td></tr>
 
-<tr><td>
-<a target='blank' class='navLinkTopic' href='docs/velocity/VelocityUsersGuide.pdf' title=' Velocity Users Guide'>
-Users Guide PDF</a>
-<img src='images/external.png' align='baseline' border='0'/>
-</td></tr>
 
 <tr><td>
-<a target='topic' class='navLinkTopic' href='docs/velocity/developer-guide.html' title=' Velocity Developers Guide'>
-Developers Guide</a>
+<a target='topic' class='navLinkSection' href='docs/references.html' title=' References'>
+References </a>
 </td></tr>
 
-<tr><td>
-<a target='topic' class='navLinkTopic' href='docs/velocity/vtl-reference-guide.html' title=' Velocity VTL Reference Guide'>
-VTL Reference</a>
-</td></tr>
 
 <tr><td>
 <img src='images/book.gif' align='absbottom' border='0'/>&nbsp;
-Reference
+Thanks
 </td></tr>
 
 <tr><td>
-<a target="_blank" class='navLinkTopic' href='http://www.w3.org/TR/CSS21/' title=' W3C CSS 2.1 Specification'>
-CSS 2.1 </a>
+<a target="_blank" class='navLinkTopic' href='http://www.apache.org/foundation/sponsorship.html' title=' Sponsorship'>
+Sponsorship </a>
 <img src='images/external.png' align='baseline' border='0'/>
 </td></tr>
 
 <tr><td>
-<a target='_blank' class='navLinkTopic' href='http://www.w3.org/TR/html401/' title=' W3C HTML 4.01 Specification'>
-HTML 4.01 </a>
+<a target='_blank' class='navLinkTopic' href='http://www.apache.org/foundation/thanks.html' title=' Apache Sponsors'>
+Apache Sponsors </a>
 <img src='images/external.png' align='baseline' border='0'/>
 </td></tr>
 
 <tr><td>
-<a target="_blank" class='navLinkTopic' href='http://java.sun.com/products/servlet/2.3/javadoc/overview-summary.html' title=' Servlet 2.3 Javadoc API'>
-Servlet 2.3 API</a>
-<img src='images/external.png' align='baseline' border='0'/>
+<a target="topic" class='navLinkTopic' href='docs/attribution.html' title=' Attribution'>
+Attribution</a>
 </td></tr>
 
+
 <tr height="100%">
 <td>&nbsp;</td>
 </tr>

Added: incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/ch01.html
URL: http://svn.apache.org/viewvc/incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/ch01.html?rev=797780&view=auto
==============================================================================
--- incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/ch01.html (added)
+++ incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/ch01.html Sat Jul 25 15:15:49 2009
@@ -0,0 +1,74 @@
+<html><head>
+      <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+   <title>Chapter&nbsp;1.&nbsp;Introduction to Click</title><link rel="stylesheet" href="css/stylesheet.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets Vsnapshot_8247"><link rel="home" href="index.html" title="Apache Click"><link rel="up" href="index.html" title="Apache Click"><link rel="prev" href="index.html" title="Apache Click"><link rel="next" href="ch01s02.html" title="1.2.&nbsp;Control Listener Type 1 Example"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter&nbsp;1.&nbsp;Introduction to Click</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="index.html">Prev</a>&nbsp;</td><th width="60%" align="center">&nbsp;</th><td width="20%" align="right">&nbsp;<a accesskey="n" href="ch01s02.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage">
 <div><div><h2 class="title"><a name="chapter-introduction"></a>Chapter&nbsp;1.&nbsp;Introduction to Click</h2></div></div></div><div class="toc"><dl><dt><span class="sect1"><a href="ch01.html#hello-world">1.1. Hello World Example</a></span></dt><dt><span class="sect1"><a href="ch01s02.html">1.2. Control Listener Type 1 Example</a></span></dt><dt><span class="sect1"><a href="ch01s03.html">1.3. Control Listener Type 2 Example</a></span></dt><dt><span class="sect1"><a href="ch01s04.html">1.4. Simple Table Example</a></span></dt><dt><span class="sect1"><a href="ch01s05.html">1.5. Advanced Table Example</a></span></dt><dt><span class="sect1"><a href="ch01s06.html">1.6. Simple Form Example</a></span></dt><dt><span class="sect1"><a href="ch01s07.html">1.7. Advanced Form Example</a></span></dt><dd><dl><dt><span class="sect2"><a href="ch01s07.html#form-layout">1.7.1. Form Layout</a></span></dt></dl></dd></dl></div><p>Click is a simple JEE web application framework for commercial
+  Java developers.
+  </p><p>Click is an open source project, licensed under the
+  <a xmlns:fo="http://www.w3.org/1999/XSL/Format" class="external" href="../../LICENSE.txt" target="_blank"><em class="citetitle">Apache license</em>
+  </a>.
+  </p><p>Click uses an event based programming model for processing Servlet
+  requests and <a xmlns:fo="http://www.w3.org/1999/XSL/Format" class="external" href="../../velocity/velocity.html" target="_blank">Velocity</a> for
+  rendering the response. (Note other template engines such as
+  <a xmlns:fo="http://www.w3.org/1999/XSL/Format" class="external" href="http://java.sun.com/products/jsp/" target="_blank">JSP</a> and
+  <a xmlns:fo="http://www.w3.org/1999/XSL/Format" class="external" href="http://freemarker.sourceforge.net/" target="_blank">Freemarker</a> are also
+  supported)
+  </p><p>This framework uses a single servlet, called
+  <a xmlns:fo="http://www.w3.org/1999/XSL/Format" class="external" href="../../click-api/org/apache/click/ClickServlet.html" target="_blank">ClickServlet</a>,
+  to act as a request dispatcher. When a request arrives ClickServlet creates
+  a <a xmlns:fo="http://www.w3.org/1999/XSL/Format" class="external" href="../../click-api/org/apache/click/Page.html" target="_blank">Page</a>
+  object to process the request and then uses the page's Velocity template to
+  render the results.
+  </p><p>Pages provide a simple thread safe programming environment, with a new
+  page instance created for each servlet request.
+  </p><p>Possibly the best way to see how Click works is to dive right in and
+  look at some examples. (The examples are also available online at
+  <a xmlns:fo="http://www.w3.org/1999/XSL/Format" class="external" href="http://www.avoka.com/click-examples/" target="_blank">http://www.avoka.com/click-examples/</a>
+  under the menu "Intro Examples".)
+  </p><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="hello-world"></a>1.1.&nbsp;Hello World Example</h2></div></div></div><p>A Hello World example in Click would look something like this.
+    </p><p>First we create a <code class="classname">HelloWorld</code> page class:
+    </p><pre class="programlisting"><span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="kwd">package</span> <span class="symbol">examples.page</span>;
+
+<span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="kwd">import</span> java.util.Date;
+<span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="kwd">import</span> org.apache.click.Page;
+
+<span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="kwd">public</span> HelloWorld <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="kwd">extends</span> Page {
+
+    <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="kwd">private</span> Date time = <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="kwd">new</span> Date(); <a class="co" name="co-hello-world-date" href="ch01.html#ca-hello-world-date"><img src="images/callouts/1.gif" alt="1" border="0"></a>
+
+    <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="kwd">public</span> HelloWorld() {
+        addModel(<span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="str">"time"</span>, time); <a class="co" name="co-hello-world-addmodel" href="ch01.html#ca-hello-world-addmodel"><img src="images/callouts/2.gif" alt="2" border="0"></a>
+    }
+
+}</pre><div class="calloutlist"><table border="0" summary="Callout list"><tr xmlns:fo="http://www.w3.org/1999/XSL/Format"><td valign="top" align="left"><a name="ca-hello-world-date"></a><a href="#co-hello-world-date"><img src="images/callouts/1.gif" alt="1" border="0"></a> </td><td valign="top" align="left"><p>Assign a new Date instance to the <code class="literal">time</code> variable.
+        </p></td></tr><tr xmlns:fo="http://www.w3.org/1999/XSL/Format"><td valign="top" align="left"><a name="ca-hello-world-addmodel"></a><a href="#co-hello-world-addmodel"><img src="images/callouts/2.gif" alt="2" border="0"></a> </td><td valign="top" align="left"><p>Add the <code class="literal">time</code> variable to the Page model under
+        the name <code class="varname">"time"</code>. Click ensures all objects added
+        to the Page model is automatically available in the Page template.
+        </p></td></tr></table></div><p>Next we have a page template <code class="varname">hello-world.htm</code>,
+    <a class="indexterm" name="d0e101"></a>
+    where we can access the Page's <code class="literal">time</code> variable using the
+    reference <code class="varname">$time</code>:
+    </p><pre class="programlisting"><span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="tag">&lt;html&gt;</span>
+  <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="tag">&lt;body&gt;</span>
+
+    <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="tag">&lt;h2&gt;</span>Hello World<span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="tag">&lt;/h2&gt;</span>
+
+    Hello world from Click at <code class="varname">$time</code>
+
+  <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="tag">&lt;/body&gt;</span>
+<span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="tag">&lt;/html&gt;</span></pre><p>Click is smart enough to figure out that the <code class="classname">HelloWorld</code>
+    page class maps to the template <code class="varname">hello-world.htm</code>. We only
+    have to inform Click of the <span class="package">package</span> of the HelloWorld
+    class, in this case <span class="symbol">examples.page</span>. We do that through the
+    <a class="link" href="ch04s02.html" title="4.2.&nbsp;Application Configuration">click.xml</a> configuration
+    file which allows Click to map <code class="varname">hello-world.htm</code> requests
+    to the <code class="classname">examples.page.HelloWorld</code> page class.
+    </p><pre class="programlisting"><span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="tag">&lt;click-app&gt;</span>
+  <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="tag">&lt;pages</span> <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="atn">package</span>=<span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="pln">"</span><span class="symbol">examples.page</span>"/&gt;
+<span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="tag">&lt;/click-app&gt;</span></pre><p>At runtime the following sequence of events occur. The ClickSerlvet
+    maps a GET <code class="varname">hello-world.htm</code> request to our page class
+    <code class="classname">example.page.HelloWorld</code> and creates a new instance.
+    The HelloWorld page creates a new private <span class="emphasis"><em>Date</em></span> object,
+    which is added to the page's model under the name <code class="varname">time</code>.
+    </p><p>The page model is then merged with the template which substitutes
+    the <code class="varname">$time</code> reference with the <span class="emphasis"><em>Date</em></span>
+    object. Velocity then renders the merged template which looks something like:
+    </p><div class="figure"><a name="hello-world-screenshot"></a><div class="figure-contents"><span class="inlinemediaobject"><img src="images/introduction/hello-world-screenshot.png" alt="Hello World Screenshot"></span></div><p xmlns:fo="http://www.w3.org/1999/XSL/Format" class="title"><i>Figure&nbsp;1.1.&nbsp;Hello World Screenshot</i></p></div><br class="figure-break"></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="index.html">Prev</a>&nbsp;</td><td width="20%" align="center">&nbsp;</td><td width="40%" align="right">&nbsp;<a accesskey="n" href="ch01s02.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Apache Click&nbsp;</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">&nbsp;1.2.&nbsp;Control Listener Type 1 Example</td></tr></table></div></body></html>
\ No newline at end of file

Propchange: incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/ch01.html
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/ch01s02.html
URL: http://svn.apache.org/viewvc/incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/ch01s02.html?rev=797780&view=auto
==============================================================================
--- incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/ch01s02.html (added)
+++ incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/ch01s02.html Sat Jul 25 15:15:49 2009
@@ -0,0 +1,62 @@
+<html><head>
+      <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+   <title>1.2.&nbsp;Control Listener Type 1 Example</title><link rel="stylesheet" href="css/stylesheet.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets Vsnapshot_8247"><link rel="home" href="index.html" title="Apache Click"><link rel="up" href="ch01.html" title="Chapter&nbsp;1.&nbsp;Introduction to Click"><link rel="prev" href="ch01.html" title="Chapter&nbsp;1.&nbsp;Introduction to Click"><link rel="next" href="ch01s03.html" title="1.3.&nbsp;Control Listener Type 2 Example"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">1.2.&nbsp;Control Listener Type 1 Example</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch01.html">Prev</a>&nbsp;</td><th width="60%" align="center">Chapter&nbsp;1.&nbsp;Introduction to Click</th><td width="20%" align="right">&nbsp;<a accesskey="n" href="ch01s03.html"
 >Next</a></td></tr></table><hr></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="control-listener-type-1"></a>1.2.&nbsp;Control Listener Type 1 Example</h2></div></div></div><p>Click includes a library of <a class="link" href="ch03.html" title="Chapter&nbsp;3.&nbsp;Controls">Controls</a>
+    which provide user interface functionality.
+    </p><p>One of the commonly used controls is the
+    <a xmlns:fo="http://www.w3.org/1999/XSL/Format" class="external" href="../../click-api/org/apache/click/control/ActionLink.html" target="_blank">ActionLink</a>,
+    which you can use to have an HTML link call a method on a Page object.
+    For example:
+    </p><pre class="programlisting"><span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="kwd">public</span> <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="kwd">class</span> ControlListenerType1Page <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="kwd">extends</span> Page {
+
+    <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="com">/* Set the listener to this object's "onLinkClick" method. */</span>
+    <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="pun">@Bindable</span> <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="kwd">public</span> ActionLink myLink = <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="kwd">new</span> ActionLink(<span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="kwd">this</span>, <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="str">"onLinkClick"</span>);
+
+    <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="pun">@Bindable</span> <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="kwd">public</span> String msg;
+
+    <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="com">// --------------------------------------------------------- Event Handlers</span>
+
+    <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="com">/**
+     * Handle the ActionLink control click event.
+     */</span>
+    <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="kwd">public</span> <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="kwd">boolean</span> onLinkClick() {
+        msg = <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="str">"ControlListenerPage#"</span> + hashCode()
+            + <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="str">" object method &lt;tt&gt;onLinkClick()&lt;/tt&gt; invoked."</span>;
+
+        <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="kwd">return</span> true;
+    }
+    
+}</pre><p>In the Page class we create an ActionLink called
+    <code class="varname">myLink</code> and define the control's listener to be the page
+    method <code class="methodname">onLinkClick()</code>. When a user clicks on
+    <code class="varname">myLink</code> control it will invoke the listener method
+    <code class="methodname">onLinkClick()</code>.
+    </p><p>In Click a control listener method can have any name but it must
+    return a boolean value. The boolean return value specifies whether
+    processing of page events should continue. This control listener pattern
+    provides a short hand way for wiring up action listener methods without
+    having to define anonymous inner classes.
+    </p><p>The advantage of this style of control listener binding is that you
+    have to write fewer lines of code. The disadvantage of this type of control
+    listener binding is that no compile time safety is provided, and you miss
+    out on the compiler refactoring capabilities provided with modern IDEs.
+    </p><p>Back to our example, in the page template we define an HTML link and
+    have the <code class="varname">myLink</code> control render the link's href attribute:
+    </p><pre class="programlisting"><span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="tag">&lt;html&gt;</span>
+  <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="tag">&lt;head&gt;</span>
+    <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="tag">&lt;link</span> <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="atn">type</span>=<span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="pln">"text/css"</span> <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="atn">rel</span>=<span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="pln">"stylesheet"</span> <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="atn">href</span>=<span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="pln">"style.css"</span><span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="tag">&gt;</span><span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="tag">&lt;/link&gt;</span>
+  <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="tag">&lt;/head&gt;</span>
+  <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="tag">&lt;body&gt;</span>
+  
+  Click myLink control <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="tag">&lt;a</span> <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="atn">href</span>=<span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="pln">"</span><code class="varname">$myLink.href</code>"&gt;here<span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="tag">&lt;/a&gt;</span>.
+
+  <span class="command"><strong>#if</strong></span> (<code class="varname">$msg</code>)
+    <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="tag">&lt;div</span> <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="atn">id</span>=<span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="pln">"msgDiv"</span><span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="tag">&gt;</span> <code class="varname">$msg</code> <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="tag">&lt;/div&gt;</span>
+  <span class="command"><strong>#end</strong></span>
+
+  <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="tag">&lt;/body&gt;</span>
+<span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="tag">&lt;/html&gt;</span></pre><p>At runtime this page would be rendered as:</p><div class="literallayout"><p>Click&nbsp;myLink&nbsp;control&nbsp;<code class="varname">here</code>.</p></div><p>When a user clicks on the link the <code class="methodname">onLinkClick()</code>
+    method is invoked. This method then creates the <code class="varname">msg</code> model
+    value, which is rendered in the page as:
+    </p><div class="literallayout"><p>Click&nbsp;myLink&nbsp;control&nbsp;<code class="varname">here</code>.<br>
+<br>
+<code class="computeroutput">ControlListenerPage#12767107&nbsp;object&nbsp;method&nbsp;onLinkClick()&nbsp;invoked.</code></p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch01.html">Prev</a>&nbsp;</td><td width="20%" align="center"><a accesskey="u" href="ch01.html">Up</a></td><td width="40%" align="right">&nbsp;<a accesskey="n" href="ch01s03.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter&nbsp;1.&nbsp;Introduction to Click&nbsp;</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">&nbsp;1.3.&nbsp;Control Listener Type 2 Example</td></tr></table></div></body></html>
\ No newline at end of file

Propchange: incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/ch01s02.html
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/ch01s03.html
URL: http://svn.apache.org/viewvc/incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/ch01s03.html?rev=797780&view=auto
==============================================================================
--- incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/ch01s03.html (added)
+++ incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/ch01s03.html Sat Jul 25 15:15:49 2009
@@ -0,0 +1,56 @@
+<html><head>
+      <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+   <title>1.3.&nbsp;Control Listener Type 2 Example</title><link rel="stylesheet" href="css/stylesheet.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets Vsnapshot_8247"><link rel="home" href="index.html" title="Apache Click"><link rel="up" href="ch01.html" title="Chapter&nbsp;1.&nbsp;Introduction to Click"><link rel="prev" href="ch01s02.html" title="1.2.&nbsp;Control Listener Type 1 Example"><link rel="next" href="ch01s04.html" title="1.4.&nbsp;Simple Table Example"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">1.3.&nbsp;Control Listener Type 2 Example</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch01s02.html">Prev</a>&nbsp;</td><th width="60%" align="center">Chapter&nbsp;1.&nbsp;Introduction to Click</th><td width="20%" align="right">&nbsp;<a accesskey="n" href="ch01s04.html">Next<
 /a></td></tr></table><hr></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="control-listener-type-2"></a>1.3.&nbsp;Control Listener Type 2 Example</h2></div></div></div><p>The second type of control listener binding uses the 
+    <a xmlns:fo="http://www.w3.org/1999/XSL/Format" class="external" href="../../click-api/org/apache/click/control/ActionListener.html" target="_blank">ActionListener</a>
+    interface to provide compile time safety. This compile time binding also 
+    supports code refactoring using modern IDE tools.
+    </p><pre class="programlisting"><span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="kwd">public</span> <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="kwd">class</span> ControlListenerType2Page <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="kwd">extends</span> Page {
+
+    <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="com">/* Public scope controls are automatically added to the page. */</span>
+    <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="pun">@Bindable</span> <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="kwd">public</span> ActionLink myLink = <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="kwd">new</span> ActionLink();
+
+    <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="pun">@Bindable</span> <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="kwd">public</span> String msg;
+
+    <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="com">// ------------------------------------------------------------ Constructor</span>
+
+    <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="com">/**
+     * Create a new Page instance.
+     */</span>
+    <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="kwd">public</span> ControlListenerType2Page() {
+        myLink.setActionListener(<span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="kwd">new</span> ActionListener() {
+            <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="kwd">public</span> <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="kwd">boolean</span> onAction(Control control) {
+                 msg = <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="str">"ControlListenerPage#"</span> + hashCode()
+                 + <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="str">" object method &lt;tt&gt;onAction()&lt;/tt&gt; invoked."</span>;
+
+             <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="kwd">return</span> true;
+            }
+        });
+    }
+    
+}</pre><p>In the Page class we create an ActionLink called
+    <code class="varname">myLink</code>. In the Page constructor we set the control's
+    action listener to an annonymous inner class which implements the 
+    <code class="methodname">onAction()</code>. When a user clicks on
+    <code class="varname">myLink</code> control it will invoke the action listener method
+    <code class="methodname">onAction()</code>.
+    </p><p>As with our previous example, in the page template we define a HTML link and
+    have the <code class="varname">myLink</code> control render the link's href attribute:
+    </p><pre class="programlisting"><span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="tag">&lt;html&gt;</span>
+  <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="tag">&lt;head&gt;</span>
+    <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="tag">&lt;link</span> <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="atn">type</span>=<span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="pln">"text/css"</span> <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="atn">rel</span>=<span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="pln">"stylesheet"</span> <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="atn">href</span>=<span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="pln">"style.css"</span><span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="tag">&gt;</span><span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="tag">&lt;/link&gt;</span>
+  <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="tag">&lt;/head&gt;</span>
+  <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="tag">&lt;body&gt;</span>
+  
+  Click myLink control <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="tag">&lt;a</span> <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="atn">href</span>=<span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="pln">"</span><code class="varname">$myLink.href</code>"&gt;here<span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="tag">&lt;/a&gt;</span>.
+
+  <span class="command"><strong>#if</strong></span> (<code class="varname">$msg</code>)
+    <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="tag">&lt;div</span> <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="atn">id</span>=<span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="pln">"msgDiv"</span><span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="tag">&gt;</span> <code class="varname">$msg</code> <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="tag">&lt;/div&gt;</span>
+  <span class="command"><strong>#end</strong></span>
+
+  <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="tag">&lt;/body&gt;</span>
+<span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="tag">&lt;/html&gt;</span></pre><p>At runtime this page would be rendered as:</p><div class="literallayout"><p>Click&nbsp;myLink&nbsp;control&nbsp;<code class="varname">here</code>.</p></div><p>When a user clicks on the link the <code class="methodname">onAction()</code>
+    method is invoked. This method then creates the <code class="varname">msg</code> model
+    value, which is rendered in the page as:
+    </p><div class="literallayout"><p>Click&nbsp;myLink&nbsp;control&nbsp;<code class="varname">here</code>.<br>
+<br>
+<code class="computeroutput">ControlListenerPage#12767107&nbsp;object&nbsp;method&nbsp;onAction()&nbsp;invoked.</code></p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch01s02.html">Prev</a>&nbsp;</td><td width="20%" align="center"><a accesskey="u" href="ch01.html">Up</a></td><td width="40%" align="right">&nbsp;<a accesskey="n" href="ch01s04.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">1.2.&nbsp;Control Listener Type 1 Example&nbsp;</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">&nbsp;1.4.&nbsp;Simple Table Example</td></tr></table></div></body></html>
\ No newline at end of file

Propchange: incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/ch01s03.html
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/ch01s04.html
URL: http://svn.apache.org/viewvc/incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/ch01s04.html?rev=797780&view=auto
==============================================================================
--- incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/ch01s04.html (added)
+++ incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/ch01s04.html Sat Jul 25 15:15:49 2009
@@ -0,0 +1,63 @@
+<html><head>
+      <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+   <title>1.4.&nbsp;Simple Table Example</title><link rel="stylesheet" href="css/stylesheet.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets Vsnapshot_8247"><link rel="home" href="index.html" title="Apache Click"><link rel="up" href="ch01.html" title="Chapter&nbsp;1.&nbsp;Introduction to Click"><link rel="prev" href="ch01s03.html" title="1.3.&nbsp;Control Listener Type 2 Example"><link rel="next" href="ch01s05.html" title="1.5.&nbsp;Advanced Table Example"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">1.4.&nbsp;Simple Table Example</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch01s03.html">Prev</a>&nbsp;</td><th width="60%" align="center">Chapter&nbsp;1.&nbsp;Introduction to Click</th><td width="20%" align="right">&nbsp;<a accesskey="n" href="ch01s05.html">Next</a></td></tr></table
 ><hr></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="simple-table"></a>1.4.&nbsp;Simple Table Example</h2></div></div></div><p>One of the most useful Click controls is the
+    <a xmlns:fo="http://www.w3.org/1999/XSL/Format" class="external" href="../../click-api/org/apache/click/control/Table.html" target="_blank">Table</a>
+    control.
+    </p><p>An example usage of the Table control in a customers Page is provided
+    below:
+    </p><pre class="programlisting"><span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="kwd">public</span> <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="kwd">class</span> SimpleTablePage <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="kwd">extends</span> Page {
+
+    <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="pun">@Bindable</span> <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="kwd">public</span> Table table = <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="kwd">new</span> Table();
+
+    <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="com">// -------------------------------------------------------- Constructor</span>
+     
+    <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="kwd">public</span> SimpleTablePage() {
+        table.setClass(Table.CLASS_ITS);
+        
+        table.addColumn(<span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="kwd">new</span> Column(<span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="str">"id"</span>));
+        table.addColumn(<span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="kwd">new</span> Column(<span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="str">"name"</span>));
+        table.addColumn(<span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="kwd">new</span> Column(<span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="str">"email"</span>));
+        table.addColumn(<span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="kwd">new</span> Column(<span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="str">"investments"</span>));
+    }
+    
+    <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="com">// ----------------------------------------------------- Event Handlers</span>
+     
+    <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="com">/**
+     * @see Page#onRender()
+     */</span>
+    <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="pun">@Override</span>
+    <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="kwd">public</span> <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="kwd">void</span> onRender() {
+        List list = getCustomerService().getCustomersSortedByName(<span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="lit">10</span>);
+        table.setRowList(list); 
+    }
+}</pre><p>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 xmlns:fo="http://www.w3.org/1999/XSL/Format" class="external" href="../../click-api/org/apache/click/control/Column.html" target="_blank">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.
+    </p><p>The last thing we need to do is populate the table with data. To do
+    this we override the Page onRender() method and set the table row list
+    before it is rendered.
+    </p><p>In our Page template we simply reference the <code class="varname">$table</code>
+    object which is rendered when its <code class="methodname">toString()</code> method
+    is called.
+    </p><pre class="programlisting"><span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="tag">&lt;html&gt;</span>
+  <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="tag">&lt;head&gt;</span>
+    <code class="varname">$headElements</code>
+  <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="tag">&lt;/head&gt;</span>
+  <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="tag">&lt;body&gt;</span>
+
+    <code class="varname">$table</code>
+
+    <code class="varname">$jsElements</code>
+
+  <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="tag">&lt;/body&gt;</span>
+<span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="tag">&lt;/html&gt;</span></pre><p>Note from the example above that we specify the <code class="varname">$headElements</code>
+    reference so that the table can include any HEAD elements, which includes Css
+    imports and styles, in the header. Also note we specify the
+    <code class="varname">$jsElements</code> reference which include any JavaScript imports
+    and scripts at the bottom. At runtime Click automatically makes the variables
+    <code class="varname">$headElements</code> and <code class="varname">$jsElements</code> available
+    to the template.
+    </p><p>At runtime the Table would be rendered in the page as:</p><div class="figure"><a name="simple-table-image"></a><div class="figure-contents"><div class="mediaobject"><img src="images/introduction/simple-table.png" alt="Simple Table"></div></div><p xmlns:fo="http://www.w3.org/1999/XSL/Format" class="title"><i>Figure&nbsp;1.2.&nbsp;Simple Table</i></p></div><br class="figure-break"></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch01s03.html">Prev</a>&nbsp;</td><td width="20%" align="center"><a accesskey="u" href="ch01.html">Up</a></td><td width="40%" align="right">&nbsp;<a accesskey="n" href="ch01s05.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">1.3.&nbsp;Control Listener Type 2 Example&nbsp;</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">&nbsp;1.5.&nbsp;Advanced Table Example<
 /td></tr></table></div></body></html>
\ No newline at end of file

Propchange: incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/ch01s04.html
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/ch01s05.html
URL: http://svn.apache.org/viewvc/incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/ch01s05.html?rev=797780&view=auto
==============================================================================
--- incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/ch01s05.html (added)
+++ incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/ch01s05.html Sat Jul 25 15:15:49 2009
@@ -0,0 +1,89 @@
+<html><head>
+      <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+   <title>1.5.&nbsp;Advanced Table Example</title><link rel="stylesheet" href="css/stylesheet.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets Vsnapshot_8247"><link rel="home" href="index.html" title="Apache Click"><link rel="up" href="ch01.html" title="Chapter&nbsp;1.&nbsp;Introduction to Click"><link rel="prev" href="ch01s04.html" title="1.4.&nbsp;Simple Table Example"><link rel="next" href="ch01s06.html" title="1.6.&nbsp;Simple Form Example"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">1.5.&nbsp;Advanced Table Example</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch01s04.html">Prev</a>&nbsp;</td><th width="60%" align="center">Chapter&nbsp;1.&nbsp;Introduction to Click</th><td width="20%" align="right">&nbsp;<a accesskey="n" href="ch01s06.html">Next</a></td></tr></table><hr></div
 ><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="advanced-table"></a>1.5.&nbsp;Advanced Table Example</h2></div></div></div><p>The Table control also provides support for:</p><div class="itemizedlist"><ul type="disc"><li><p>automatic rendering</p></li><li><p>column formatting and custom rendering</p></li><li><p>automatic pagination</p></li><li><p>link control support</p></li></ul></div><p>A more advanced Table example is provided below:</p><pre class="programlisting"><span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="kwd">public</span> <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="kwd">class</span> CustomerPage <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="kwd">extends</span> Page {
+
+    <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="pun">@Bindable</span> <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="kwd">public</span> Table table = <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="kwd">new</span> Table();
+    <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="pun">@Bindable</span> <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="kwd">public</span> PageLink editLink = <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="kwd">new</span> PageLink(<span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="str">"Edit"</span>, EditCustomer.<span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="kwd">class</span>);
+    <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="pun">@Bindable</span> <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="kwd">public</span> ActionLink deleteLink = <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="kwd">new</span> ActionLink(<span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="str">"Delete"</span>, <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="kwd">this</span>, <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="str">"onDeleteClick"</span>);
+
+    <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="com">// ------------------------------------- Constructor</span>
+     
+    <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="kwd">public</span> CustomersPage() {
+        table.setClass(Table.CLASS_ITS);
+        table.setPageSize(<span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="lit">10</span>);
+        table.setShowBanner(true);
+        table.setSortable(true);
+
+        table.addColumn(<span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="kwd">new</span> Column(<span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="str">"id"</span>));
+
+        table.addColumn(<span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="kwd">new</span> Column(<span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="str">"name"</span>));
+        
+        Column column = <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="kwd">new</span> Column(<span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="str">"email"</span>);
+        column.setAutolink(true);
+        column.setTitleProperty(<span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="str">"name"</span>);
+        table.addColumn(column);
+        
+        table.addColumn(<span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="kwd">new</span> Column(<span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="str">"investments"</span>));
+        
+        editLink.setImageSrc(<span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="str">"/images/table-edit.png"</span>);
+        editLink.setTitle(<span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="str">"Edit customer details"</span>);
+        editLink.setParameter(<span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="str">"referrer"</span>, <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="str">"/introduction/advanced-table.htm"</span>);
+        
+        deleteLink.setImageSrc(<span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="str">"/images/table-delete.png"</span>);
+        deleteLink.setTitle(<span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="str">"Delete customer record"</span>);
+        deleteLink.setAttribute(<span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="str">"onclick"</span>,
+            <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="str">"return window.confirm('Are you sure you want to delete this record?');"</span>);
+
+        column = <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="kwd">new</span> Column(<span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="str">"Action"</span>);
+        column.setTextAlign(<span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="str">"center"</span>);
+        AbstractLink[] links = <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="kwd">new</span> AbstractLink[] { editLink, deleteLink };
+        column.setDecorator(<span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="kwd">new</span> LinkDecorator(table, links, <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="str">"id"</span>));
+        column.setSortable(false);
+        table.addColumn(column);
+    }
+    
+    <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="com">// ---------------------------------- Event Handlers</span>
+         
+    <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="com">/**
+     * Handle the delete row click event.
+     */</span>    
+    <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="kwd">public</span> <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="kwd">boolean</span> onDeleteClick() {
+        Integer id = deleteLink.getValueInteger();
+        getCustomerService().deleteCustomer(id);
+        <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="kwd">return</span> true;
+    }
+    
+    <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="com">/**
+     * @see Page#onRender()
+     */</span>
+    <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="pun">@Override</span>
+    <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="kwd">public</span> <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="kwd">void</span> onRender() {
+        List list = getCustomerService().getCustomersByName();
+        table.setRowList(list);
+    }
+}</pre><p>In this Page code example a Table control is declared and a number of
+    <a xmlns:fo="http://www.w3.org/1999/XSL/Format" class="external" href="../../click-api/org/apache/click/control/Column.html" target="_blank">Column</a>
+    objects are added. A deleteLink
+    <a xmlns:fo="http://www.w3.org/1999/XSL/Format" class="external" href="../../click-api/org/apache/click/control/ActionLink.html" target="_blank">ActionLink</a>
+    control is used as a decorator for the "Action" column. This control will
+    invoke the Page <code class="methodname">onDeleteClick()</code> method when it is
+    clicked. Finally we have the Page <code class="methodname">onRender()</code> method
+    which is used to populate the Table control with rows before it is rendered.
+    </p><p>In our Page template we simply reference the <code class="varname">$table</code>
+    object which is rendered when its <code class="methodname">toString()</code> method
+    is called.
+    </p><pre class="programlisting"><span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="tag">&lt;html&gt;</span>
+  <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="tag">&lt;head&gt;</span>
+    <code class="varname">$headElements</code>
+  <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="tag">&lt;/head&gt;</span>
+  <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="tag">&lt;body&gt;</span>
+
+    <code class="varname">$table</code>
+
+    <code class="varname">$jsElements</code>
+
+  <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="tag">&lt;/body&gt;</span>
+<span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="tag">&lt;/html&gt;</span></pre><p>At runtime the Table would be rendered in the page as:</p><div class="figure"><a name="advanced-table-image"></a><div class="figure-contents"><div class="mediaobject"><img src="images/introduction/advanced-table.png" alt="Advanced Table"></div></div><p xmlns:fo="http://www.w3.org/1999/XSL/Format" class="title"><i>Figure&nbsp;1.3.&nbsp;Advanced Table</i></p></div><br class="figure-break"><p>In this example if a user click on the Delete link, the
+    <code class="methodname">onDeleteClick()</code> method will be called on the Page
+    deleting the customer record.
+    </p></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch01s04.html">Prev</a>&nbsp;</td><td width="20%" align="center"><a accesskey="u" href="ch01.html">Up</a></td><td width="40%" align="right">&nbsp;<a accesskey="n" href="ch01s06.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">1.4.&nbsp;Simple Table Example&nbsp;</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">&nbsp;1.6.&nbsp;Simple Form Example</td></tr></table></div></body></html>
\ No newline at end of file

Propchange: incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/ch01s05.html
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/ch01s06.html
URL: http://svn.apache.org/viewvc/incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/ch01s06.html?rev=797780&view=auto
==============================================================================
--- incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/ch01s06.html (added)
+++ incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/ch01s06.html Sat Jul 25 15:15:49 2009
@@ -0,0 +1,72 @@
+<html><head>
+      <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+   <title>1.6.&nbsp;Simple Form Example</title><link rel="stylesheet" href="css/stylesheet.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets Vsnapshot_8247"><link rel="home" href="index.html" title="Apache Click"><link rel="up" href="ch01.html" title="Chapter&nbsp;1.&nbsp;Introduction to Click"><link rel="prev" href="ch01s05.html" title="1.5.&nbsp;Advanced Table Example"><link rel="next" href="ch01s07.html" title="1.7.&nbsp;Advanced Form Example"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">1.6.&nbsp;Simple Form Example</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch01s05.html">Prev</a>&nbsp;</td><th width="60%" align="center">Chapter&nbsp;1.&nbsp;Introduction to Click</th><td width="20%" align="right">&nbsp;<a accesskey="n" href="ch01s07.html">Next</a></td></tr></table><hr></div><
 div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="simple-form"></a>1.6.&nbsp;Simple Form Example</h2></div></div></div><p>The <a xmlns:fo="http://www.w3.org/1999/XSL/Format" class="external" href="../../click-api/org/apache/click/control/Form.html" target="_blank">Form</a>
+    and <a xmlns:fo="http://www.w3.org/1999/XSL/Format" class="external" href="../../click-api/org/apache/click/control/Field.html" target="_blank">Field</a>
+    controls are also some of the most commonly used controls in the Click Framework.
+    </p><p>The SimpleForm page below provides a demonstration of using these
+    controls.
+    </p><p>In our example code we have the page's constructor adding a
+    <a xmlns:fo="http://www.w3.org/1999/XSL/Format" class="external" href="../../click-api/org/apache/click/control/TextField.html" target="_blank">TextField</a>
+    field and a <a xmlns:fo="http://www.w3.org/1999/XSL/Format" class="external" href="../../click-api/org/apache/click/control/Submit.html" target="_blank">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 <code class="varname">form</code>
+    field is automatically added to its list of controls.
+    </p><pre class="programlisting"><span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="kwd">public</span> <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="kwd">class</span> SimpleForm <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="kwd">extends</span> Page {
+
+    <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="pun">@Bindable</span> <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="kwd">public</span> Form form = <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="kwd">new</span> Form();
+    <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="pun">@Bindable</span> <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="kwd">public</span> String msg;
+
+    <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="com">// -------------------------------------------------------- Constructor</span>
+
+    <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="kwd">public</span> SimpleForm() {
+        form.add(<span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="kwd">new</span> TextField(<span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="str">"name"</span>, true));
+        form.add(<span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="kwd">new</span> Submit(<span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="str">"OK"</span>));
+
+        form.setListener(<span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="kwd">this</span>, <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="str">"onSubmit"</span>);
+    }
+
+    <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="com">// ----------------------------------------------------- Event Handlers</span>
+
+    <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="com">/**
+     * Handle the form submit event.
+     */</span>
+    <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="kwd">public</span> <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="kwd">boolean</span> onSubmit() {
+        <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="kwd">if</span> (form.isValid()) {
+            msg = <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="str">"Your name is "</span> + form.getFieldValue(<span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="str">"name"</span>);
+        }
+        <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="kwd">return</span> true;
+    }
+}</pre><p>Next we have the SimpleForm template <code class="varname">simple-form.htm</code>.
+    The Click application automatically associates the
+    <code class="varname">simple-form.htm</code> template with the
+    <code class="classname">SimpleForm</code> class.
+    </p><pre class="programlisting"><span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="tag">&lt;html&gt;</span>
+  <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="tag">&lt;head&gt;</span>
+    <code class="varname">$headElements</code>
+  <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="tag">&lt;/head&gt;</span>
+  <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="tag">&lt;body&gt;</span>
+
+    <code class="varname">$form</code>
+
+    <span class="command"><strong>#if</strong></span> (<code class="varname">$msg</code>)
+      <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="tag">&lt;div</span> <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="atn">id</span>=<span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="pln">"msgDiv"</span><span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="tag">&gt;</span> <code class="varname">$msg</code> <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="tag">&lt;/div&gt;</span>
+    <span class="command"><strong>#end</strong></span>
+
+    <code class="varname">$jsElements</code>
+
+  <span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="tag">&lt;/body&gt;</span>
+<span xmlns:fo="http://www.w3.org/1999/XSL/Format" class="tag">&lt;/html&gt;</span></pre><p>When the SimpleForm page is first requested the <code class="varname">$form</code>
+    object will automatically render itself as:
+    </p><div class="figure"><a name="simple-form-image"></a><div class="figure-contents"><div class="mediaobject"><img src="images/introduction/simple-form.png" alt="Simple Form"></div></div><p xmlns:fo="http://www.w3.org/1999/XSL/Format" class="title"><i>Figure&nbsp;1.4.&nbsp;Simple Form</i></p></div><br class="figure-break"><p>Say the user does not enter their name and presses the OK button to
+    submit the form. The <code class="classname">ClickServlet</code> creates a new
+    SimpleForm page and processes the form control.
+    </p><p>The form control processes its fields and determines that it is
+    invalid. The form then invokes the listener method
+    <code class="methodname">onSubmit()</code>. As the form is not valid this method
+    simply returns true and the form renders the field validation errors.
+    </p><div class="figure"><a name="simple-form-error-image"></a><div class="figure-contents"><div class="mediaobject"><img src="images/introduction/simple-form-error.png" alt="Form after an invalid request"></div></div><p xmlns:fo="http://www.w3.org/1999/XSL/Format" class="title"><i>Figure&nbsp;1.5.&nbsp;Form after an invalid request</i></p></div><br class="figure-break"><p>Note the form will automatically maintain the entered state during the
+    post and validate cycle.
+    </p><p>Now if the user enters their name and clicks the OK button, the form
+    will be valid and the <code class="methodname">onSubmit()</code> add a
+    <code class="varname">msg</code> to the Pages model. This will be rendered as:
+    </p><div class="figure"><a name="simple-form-success-image"></a><div class="figure-contents"><div class="mediaobject"><img src="images/introduction/simple-form-success.png" alt="Form after a valid request"></div></div><p xmlns:fo="http://www.w3.org/1999/XSL/Format" class="title"><i>Figure&nbsp;1.6.&nbsp;Form after a valid request</i></p></div><br class="figure-break"></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch01s05.html">Prev</a>&nbsp;</td><td width="20%" align="center"><a accesskey="u" href="ch01.html">Up</a></td><td width="40%" align="right">&nbsp;<a accesskey="n" href="ch01s07.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">1.5.&nbsp;Advanced Table Example&nbsp;</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">&nbsp;1.7.&nbsp;Advanced Form Example</td></tr></table></div></body
 ></html>
\ No newline at end of file

Propchange: incubator/click/trunk/tools/eclipse/org.apache.click.eclipse/documentation/user-guide/ch01s06.html
------------------------------------------------------------------------------
    svn:mime-type = text/plain