Apache Click
Next
Apache Click
Apache Click User Guide
V 2.3.0
Copyright © 2001-2013 The Apache Software Foundation
Table of Contents
1. Introduction to Apache Click
1.1. Hello World Example
1.2. Control Listener Type 1 Example
1.3. Control Listener Type 2 Example
1.4. Simple Table Example
1.5. Advanced Table Example
1.6. Simple Form Example
1.7. Advanced Form Example
1.7.1. Form Layout
2. Pages
2.1. Classes
2.2. Execution
2.3. Request Parameter Auto Binding
2.3.1. Customizing Auto Binding
2.4. Security
2.4.1. Application Authentication
2.4.2. Container Authentication
2.4.3. Container Access Control
2.4.4. Logging Out
2.5. Page Navigation
2.5.1. Forward
2.5.1.1. Forward Parameter Passing
2.5.1.2. Page Forwarding
2.5.2. Template Path
2.5.3. Redirect
2.5.3.1. Redirect Parameter Passing
2.5.3.2. Post Redirect
2.6. Page Templating
2.7. Page Actions
2.7.1. Page Action Execution
2.7.2. ActionResult
2.7.3. Page Action Example
2.7.4. Accessing Request Parameters
2.7.5. Set response headers and status code
2.8. Direct Rendering
2.9. Stateful Pages
2.9.1. Page Creation
2.9.2. Page Execution
2.9.3. Page Destruction
2.10. Error Handling
2.11. Page Not Found
2.12. Page Message Properties
2.13. Page HEAD Elements
3. Controls
3.1. Control Interface
3.2. Control Listener
3.3. Control Classes
3.4. Message Properties
3.4.1. Message Resolution
3.4.2. Control Properties
3.4.3. Accessing Messages
3.5. Control HEAD Elements
3.6. Container
3.6.1. AbstractContainer
3.6.2. AbstractContainerField
3.7. Layouts
3.7.1. Template layout
3.7.2. Programmatic layout
3.8. Behavior
3.8.1. Behavior Execution
3.8.2. Behavior Example
4. Ajax
4.1. Ajax Overview
4.2. AjaxBehavior
4.3. AjaxBehavior Execution
4.4. First Ajax Example
4.4.1. Ajax Trace Log
4.4.2. Ajax Trace Log - No Ajax Target Control Found
4.4.3. Ajax Trace Log - No Target AjaxBehavior Found
4.5. Ajax Page Action
4.6. Ajax Response Types
4.7. Ajax Error Handling
5. Configuration
5.1. Servlet Configuration
5.1.1. Servlet Mapping
5.1.2. Load On Startup
5.1.3. Type Converter Class
5.1.4. Config Service Class
5.2. Application Configuration
5.2.1. Click App
5.2.2. Pages
5.2.2.1. Multiple Pages Packages
5.2.3. Page
5.2.3.1. Page Automapping
5.2.3.2. Automapping Excludes
5.2.3.3. Page Autobinding
5.2.3.4. Page Autobinding - Using Annotations
5.2.4. Headers
5.2.4.1. Browser Caching
5.2.5. Format
5.2.6. Mode
5.2.6.1. Page Auto Loading
5.2.6.2. Click and Velocity Logging
5.2.7. Controls
5.3. Auto Deployed Files
5.3.1. Deploying resources in a restricted environment
5.3.2. Deploying Custom Resources
6. Best Practices
6.1. Security
6.1.1. Declarative Security
6.1.2. Alternative Security solutions
6.1.3. Resources
6.2. Packages and Classes
6.2.1. Page Classes
6.3. Page Auto Mapping
6.4. Navigation
6.5. Templating
6.6. Menus
6.7. Logging
6.8. Error Handling
6.9. Performance