Apache Wicket Cookbook

Master Wicket by example by implementing real-life solutions to every day tasks
Preview in Mapt

Apache Wicket Cookbook

Igor Vaynberg

Master Wicket by example by implementing real-life solutions to every day tasks
Mapt Subscription
FREE
$29.99/m after trial
eBook
$10.00
RRP $26.99
Save 62%
Print + eBook
$44.99
RRP $44.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$10.00
$44.99
$29.99 p/m after trial
RRP $26.99
RRP $44.99
Subscription
eBook
Print + eBook
Start 30 Day Trial

Frequently bought together


Apache Wicket Cookbook Book Cover
Apache Wicket Cookbook
$ 26.99
$ 10.00
Apache Camel Essentials Book Cover
Apache Camel Essentials
$ 19.99
$ 10.00
Buy 2 for $20.00
Save $26.98
Add to Cart

Book Details

ISBN 139781849511605
Paperback312 pages

Book Description

Apache Wicket is one of the most famous Java web application frameworks. Wicket simplifies web development and makes it fun. Are you bored of going through countless pages of theory to find out how to get your web development done? With this book in hand, you don't need to go through hundreds of pages to figure out how you will actually build a web application. You will get practical solutions to your common everyday development tasks to pace up your development activities.

Apache Wicket Cookbook provides you with information that gets your problems solved quickly without beating around the bush. This book is perfect for you if you are ready to take the next step from tutorials and step into the practical world. It will take you beyond the basics of using Apache Wicket and show you how to leverage Wicket's advanced features to create simpler and more maintainable solutions to what at first may seem complex problems.

You will learn how to integrate with client-side technologies such as JavaScript libraries or Flash components, which will help you to build your application faster. You will discover how to use Wicket paradigms to factor out commonly used code into custom Components, which will reduce the maintenance cost of your application, and how to leverage the existing Wicket Components to make your own code simpler.

Table of Contents

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

What You Will Learn

  • Leverage Wicket to implement a wide variety of both simple and advanced use cases in a narrative that gets straight to the point
  • Make forms work in the crazy world of the Web by learning the ways of Wicket's form processing
  • Simplify localizing your Wicket applications
  • Take the boring out of your forms by discovering how to improve the user experience while simplifying your code at the same time
  • Leverage the built-in Table component to make displaying tabular data a snap
  • Think Wicket's Borders are not very useful? Learn to use them in unexpected places to simplify things
  • See how to integrate with Flash components and create interactive charts at the same time
  • Web 1.0 too boring? Learn how to tame Wicket's AJAX support and bring your application into Web 2.0
  • Simplify your security code by learning various security techniques
  • An application cannot be built with Wicket alone; see how to make it play nice with other frameworks

Authors

Table of Contents

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

Book Details

ISBN 139781849511605
Paperback312 pages
Read More

Read More Reviews

Recommended for You

Sakai CLE Courseware Management: The Official Guide Book Cover
Sakai CLE Courseware Management: The Official Guide
$ 32.99
$ 10.00
Lift Application Development Cookbook Book Cover
Lift Application Development Cookbook
$ 26.99
$ 10.00
GIMP 2.6 cookbook Book Cover
GIMP 2.6 cookbook
$ 26.99
$ 10.00
Inkscape 0.48 Essentials for Web Designers Book Cover
Inkscape 0.48 Essentials for Web Designers
$ 26.99
$ 5.40
Java 7 JAX-WS Web Services Book Cover
Java 7 JAX-WS Web Services
$ 9.99
$ 7.00
Object-Oriented JavaScript - Second Edition Book Cover
Object-Oriented JavaScript - Second Edition
$ 29.99
$ 10.00