Table of Contents
Preface
Chapter 1: Validating and Converting User Input
Chapter 2: Getting Down and Dirty with Forms and Form Components
Chapter 3: Making Forms Presentable
Chapter 4: Taking your Application Abroad
Chapter 5: Displaying Data Using DataTable
Chapter 6: Enhancing your UI with Tabs and Borders
Chapter 7: Deeper into Ajax
Chapter 8: Visualizing Data with Charts
Chapter 9: Building Dynamic and Rich UI
Chapter 10: Securing your Application
Chapter 11: Integrating Wicket with Middleware
Chapter 12
Index
- Chapter 1: Validating and Converting User Input
- Introduction
- Performing form-level custom validation
- Creating a custom validator
- Composing multiple validators into a single reusable validator
- Converting string inputs to objects
- Chapter 2: Getting Down and Dirty with Forms and Form Components
- Introduction
- Creating linked selectboxes
- Composing multiple form components into a single reusable component
- Preventing multiple form submits
- Protecting against spam with a CAPTCHA
- Chapter 3: Making Forms Presentable
- Introduction
- Changing form component CSS class on validation errors
- Using FeedbackPanel to output form component specific messages
- Streamlining form component presentation using behaviors
- Chapter 4: Taking your Application Abroad
- Introduction
- Storing module resource strings in package properties
- Retrieving a localized string
- Feeding dynamic localized strings to components using StringResourceModel
- Using wicket:message to output localized markup
- Overriding localized resources on a case by case basis
- Chapter 5: Displaying Data Using DataTable
- Introduction
- Sorting
- Filtering
- Making cells clickable
- Making rows selectable with checkboxes
- Exporting data to CSV
- Chapter 6: Enhancing your UI with Tabs and Borders
- Introduction
- Creating tabs with dynamic titles
- Making a tabbed panel play nice with forms
- Creating a client-side JavaScript tabbed panel
- Using borders to decorate components
- Creating a collapsible border
- Chapter 7: Deeper into Ajax
- Introduction
- Adding Ajax validation to individual form components
- Blocking until an Ajax request is complete
- Providing Ajax feedback automatically
- Chapter 8: Visualizing Data with Charts
- Introduction
- Charting with Open Flash Chart
- Feeding chart data using a SharedResource
- Responding to clicks
- Chapter 9: Building Dynamic and Rich UI
- Introduction
- Swapping components using a select box
- Creating dynamic forms
- Creating a dynamic portal layout
- Chapter 10: Securing your Application
- Introduction
- Creating a login page and forcing the user to log in
- Authenticating with OpenID
- Securing components using
- IAuthorizationStrategy
- Securing URLs and protecting against cross-site request forgery
- Switching from HTTP to HTTPS and back again
- Chapter 11: Integrating Wicket with Middleware
- Introduction
- Integrating with Spring
- Integrating with CDI
- Populating repeaters from a JPA query
- Creating a model for a JPA entity
- Chapter 12
- This chapter is not present in the book but is available as a free download from:
- http://www.packtpub.com/sites/default/files/downloads/
- 1605_Chapter12.pdf