Apache Click

Apache Click User Guide

V 2.1.0


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. Direct Rendering
2.8. Stateful Pages
2.8.1. Page Creation
2.8.2. Page Execution
2.8.3. Page Destruction
2.9. Error Handling
2.10. Page Not Found
2.11. Page Message Properties
2.12. Page HEAD Elements
3. Controls
3.1. Control Interface
3.2. Control Callback
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
4. Configuration
4.1. Servlet Configuration
4.1.1. Servlet Mapping
4.1.2. Load On Startup
4.1.3. Type Converter Class
4.1.4. Config Service Class
4.2. Application Configuration
4.2.1. Click App
4.2.2. Pages
4.2.2.1. Multiple Pages Packages
4.2.3. Page
4.2.3.1. Page Automapping
4.2.3.2. Automapping Excludes
4.2.3.3. Page Autobinding
4.2.3.4. Page Autobinding - Using Annotations
4.2.4. Headers
4.2.4.1. Browser Caching
4.2.5. Format
4.2.6. Mode
4.2.6.1. Page Auto Loading
4.2.6.2. Click and Velocity Logging
4.2.7. Controls
4.3. Auto Deployed Files
4.3.1. Deploying resources in a restricted environment
4.3.2. Deploying Custom Resources
5. Best Practices
5.1. Security
5.1.1. Declarative Security
5.1.2. Alternative Security solutions
5.1.3. Resources
5.2. Packages and Classes
5.2.1. Page Classes
5.3. Page Auto Mapping
5.4. Navigation
5.5. Templating
5.6. Menus
5.7. Logging
5.8. Error Handling
5.9. Performance