Chapter 7. Composing your pages

In this chapter:

  • Grouping components with WebMarkupContainers, Panels, and Fragments to maximize reuse
  • Creating consistent, maintainable layouts with markup inheritance and panel replacement

One of the biggest challenges of designing and building a lasagna is to create as many layers as you can possibly fit in the baking dish, without turning the lasagna in one giant noodle. Years of empiric research have shown that the best lasagna has between five and seven layers. According to our recipe, this means stacking a thin layer of sauce, a couple of salami slices, cheese slices, a thin layer of spinach, and a layer of lasagna noodles on top of each other, and repeating until the only thing we have room for on top ...

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.