Panel - Group Box - JSP

Inserts a panel that can contain any other HTML, JSP, or Faces components. Most Faces components can contain other Faces tags but not HTML tags. However, this jspPanel component can contain both Faces and HTML tags. For example, you cannot usually create an HTML table within a column of a Faces data table. However, if you drag this component to the column, you can create an HTML table within it. In addition, the HTML table can also contain Faces tags.

 

Component at design time

Drag and drop an

Panel - JSP component onto the page:

The

Panel - JSP component looks like this on the page:

 

Component at runtime

The

Panel - JSP component varies at runtime depending upon the components added.

 

Properties and All Attributes views

The Properties view for a component shows the most common set of attributes you can set on a component, and, depending on the component, you might also see options for adding controls, actions, or other components. To open the Properties view, click

Window | Show View | Properties.

These common attributes for the Panel - JSP component display on the hx:jspPanel tab in the Properties view. See the All HTML Panel attributes table for a complete list of attributes.

The All Attributes view shows a table of all the attributes you can set on a component, which includes those attributes you can access from the Properties view. To switch to the All Attributes view, click the

All Attributes icon in the upper right corner of the Properties view.

Table 1. All HTML Panel attributes

Attribute name

Represented in Properties view by

Description

binding

Not represented

An expression that binds the component's instance (usually a user interface component) to a bean property (usually in the backing file).

id

ID

Assigns a name to a component. Should be a unique name within a JSP.

rendered

Not represented

Can be set to true or false:

  • false - Component will not be rendered to the browser at runtime.

  • true - Component will get rendered. This is the default value.