Container cartridges are cartridges that contain child cartridges.
A key consideration for container cartridges is that the system needs to provide a mechanism to restrict the types of children that can be placed into them. For example, it does not make sense to allow a business user to place a page cartridge inside of a banner cartridge. Thus, cartridges have a specific type. This type allows developers to control restriction rules for cartridge nesting.
A page cartridge is an example of a container cartridge. Pages share all of the characteristics of cartridges, with the following additions:
The following illustration shows the layouts of three page cartridges in the Discover Electronics store reference application.
The following illustration shows how cartridges are plugged into a two-column page cartridge. The cartridges are nested in the container page cartridge.