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

The bounding box property specifies the area in manager coordinates represented by the view. This property can be used to set the initial visible area.

<jvf:view [...] boundingBox="0,0,100,200"/>

Code Sample 6.1 Bounding Box Property for Controlling Display of the View

This property can be used during a JSF action to reset or modify the visible area.

public class FrameworkBean {
  [...]

  public void changeBoundingBox() {
    IlvFacesDHTMLView jsfView = getJSFViewComponent();
    jsfView.setBoundingBox(new IlvRect(0,0,100,100));
  }
}

Code Sample 6.2 Resetting or Changing the Visible Area of the View