Shows how content can be loaded on demand, when the user accesses an initially hidden part of the UI such as this modal address dialog.
Application centric dialogs with many tabs and modal dialogs could use a lot of memory on the engine. As JSF keeps the full state of the dialog in its memory. UI parts that are initially not rendered, use almost no memory on the engine. Besides the spared memory on the engine, the view should also be rendered much quicker on the client side.
Use the
rendered
attribute to completely disable the rendering of large optional UI parts.