Advanced Features > Using DHTML-Based JSF Components to Build Web Applications > The JViews Framework Faces Component Set > Tiled View

To make tiling available in the view, you must specify a tile size. The tile size is a critical parameter and must be chosen with care. See Tile Size.

<jvf:view [...] tileSize="256"/>

Code Sample 6.15 The Tile Size Parameter

Other attributes must be set for tiling to be fully operational.

  1. Specify the zoomLevels attribute to allow the client to cache the tiles for predefined levels.
  2. See Zoom Constraints.
  3. Specify which layers are subject to changes (dynamic layers) and which layers are not supposed to change (static layers). Static layers can be tiled and cached.
  4. The staticLayersCount attribute allows you to specify how many layers at the bottom of the view component are static.

<jvf:view [...] staticLayersCount="3"/>

Code Sample 6.16 Specifying Static Layers

For more information on the use of tiling for building Web applications, see Concepts.