Chapter 6. Processing user input using forms

In this chapter:

  • How Wicket processes HTML forms
  • Creating HTML forms with Wicket components
  • Submitting forms using Ajax
  • Validating user input with validators
  • Providing feedback to users

In the previous chapter, we discussed several ingredients for lasagna. But for a recipe to be complete, it needs a set of directions for creating the lasagna. Steps in our particular recipe include preheating the oven, cooking the lasagna sauce (don’t be shy with the garlic!), layering the lasagna in the oven dish, and letting it simmer in the oven for half an hour at 190°C (375°F).

Working with forms is like following a set of directions. First, you need to add a form and form components. Next, you must be ...

Get Wicket in Action now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.