Apache Wicket Cookbook
Formats:
save 15%!
save 37%!
Free Shipping!
| Also available on: |
|
- The Apache Wicket Cookbook covers the full spectrum of features offered by the Wicket web framework
- Implement advanced user interactions by following the live examples given in this Cookbook
- Create reusable components and speed up your web application development
- Another title in Packt's Cookbook series giving clear, step-by-step, and to-the-point recipes to perform common and not so common tasks with Wicket
Book Details
Language : EnglishPaperback : 312 pages [ 235mm x 191mm ]
Release Date : March 2011
ISBN : 1849511608
ISBN 13 : 9781849511605
Author(s) : Igor Vaynberg
Topics and Technologies : All Books, Web Development, Cookbooks, Java, Open Source
Table of Contents
PrefaceChapter 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
Igor Vaynberg
Code Downloads
Download the code and support files for this book.
Submit Errata
Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.
Errata
- 4 submitted: last submission 31 Jan 2014Page 27 Point 7:
HomePage.html should be HomePage.properties
ERRATA:
Errata type: Typo | Page number: 235
The word "URLS" should read "URLs"
Errata type: Typo | Page number: 148
"section of UI that can be expended" should read "expanded"
Errata type: Typo | Page number: 115
CheckBoxColumn$CheckColumn.html - should read CheckBoxColumn$CheckPanel.html
Sample chapters
You can view our sample chapters and prefaces of this title on PacktLib or download sample chapters in PDF format.
- 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
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.
A straightforward Cookbook with over 75 highly focused practical recipes to make your web application development easier with the Wicket web framework
This is a hands-on practical guide to a large variety of topics and use cases. This book tries to use real-world examples when possible, but is not afraid to come up with a contrived pretext if it makes explaining the problem simpler. Unlike a lot of other books, this one does not try to maintain a continuous theme from chapter to chapter, such as demonstrating solutions on the same fictional application; doing so would be almost impossible given the wide variety of recipes presented here. Instead, this book concentrates on focused problems users are likely to encounter and shows clear solutions in a step-by-step manner. This book tries to teach by example and is not afraid to show a lot of code because, after all, it is for coders.
This book is for current users of the Apache Wicket framework; it is not an introduction to Wicket that will bore you with tons of theory. You are expected to have built or maintained a simple Wicket application in the past and to be looking to learn new and better ways of using Wicket. If you are ready to take your Wicket skills to the next level this book is for you.


