Apache Wicket Cookbook

Apache Wicket Cookbook
eBook: $26.99
Formats: PDF, PacktLib, ePub and Mobi formats
save 15%!
Print + free eBook + free PacktLib access to the book: $71.98    Print cover: $44.99
save 37%!
Free Shipping!
UK, US, Europe and selected countries in Asia.
Also available on:
Table of Contents
Sample Chapters
  • 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

Chapter 12

Book Details

Language : English
Paperback : 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

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
      • 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 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 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 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

                          Igor Vaynberg is a software architect with more than ten years of experience in the software field. His liking for computers was sparked when his parents got him a Sinclair Z80 when he was but ten years old. Since then he has worked with companies both large and small building modular and scalable web applications. Igor's main interest is finding ways to simplify the development of complex user interfaces required by modern web applications. Igor is a committer for the Apache Wicket framework, the aim of which is to simplify the programming model as well as reintroduce OOP to the web UI tier. In his AFK time he enjoys snowboarding with his beautiful wife and playing with his amazing children.

                          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.


                          - 4 submitted: last submission 31 Jan 2014

                          Page 27 Point 7:

                          HomePage.html should be HomePage.properties


                          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.

                          Frequently bought together

                          Apache Wicket Cookbook +    Apache Geronimo 2.1: Quick Reference =
                          50% Off
                          the second eBook
                          Price for both: $39.00

                          Buy both these recommended eBooks together and get 50% off the cheapest eBook.

                          What you will learn from this book

                          • 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

                          In Detail

                          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.

                          Who this book is for

                          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.

                          Code Download and Errata
                          Packt Anytime, Anywhere
                          Register Books
                          Print Upgrades
                          eBook Downloads
                          Video Support
                          Contact Us
                          Awards Voting Nominations Previous Winners
                          Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
                          Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software