Chapter 8. Developing reusable components

In this chapter:

  • Learn the advantages of creating custom components
  • Create complex compound components that include their own navigation

In chapter 7, we looked at group components strategies. You learned that panels are particularly well suited for creating components that can be reused in a variety of contexts, without the need to know anything about their internal structure.

In this chapter, we’ll look at creating reusable components. The more generic and context-independent components are, the easier it is to reuse them. We’ll first look at examples of generic components. We’ll start with a locale component, which is simple; later, we’ll add features to illustrate how you can create compound ...

Get Wicket in Action now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.