Description

This is a template to describe all the PanelGrid component in a standardized way.

Screen Shot

e.g. Not a Visual Component

API

PanelGrid

component-family

javax.faces.Panel

component-type

org.apache.myfaces.HtmlPanelGrid

renderer-type

org.apache.myfaces.Grid

component-class

org.apache.myfaces.component.html.ext.HtmlPanelGrid

renderer-class

org.apache.myfaces.renderkit.html.ext.HtmlGridRenderer

tag-class

org.apache.myfaces.taglib.html.ext.HtmlPanelGridTag

PanelGroup

component-family

javax.faces.Panel

component-type

org.apache.myfaces.HtmlPanelGroup

renderer-type

org.apache.myfaces.Group

component-class

org.apache.myfaces.component.html.ext.HtmlPanelGroup

renderer-class

org.apache.myfaces.renderkit.html.ext.HtmlGroupRenderer

tag-class

org.apache.myfaces.taglib.html.ext.HtmlPanelGroupTag

Usage

You can use PanelGrid the same way u use the standart UIPanel component. Extensionaly you can use the colspan attribute to span cells.

Syntax

see example

Instructions

necessary?

Attributes

name

required

description

colspan

not required

how many cells should be spaned

styleClass

not required

renders a div element with a class attribute of the given styleclass around the cell content

style

not required

enabledOnUserRole

not required

visibleOnUserRole

not required

Configuration

Don't need any extra configuration.

Notes and Known issues

Some known issues like incompatibility to other frameworks/component libs

You need to use both t:panelGrid and t:panelGroup together in order to get the "colspan" function work.

Examples

Use example:

<t:panelGrid id="myPanel" columns="4"

</t:panelGrid>

Category:Tomahawk

FAQ

Post your (or potential) questions here.

Additional Information

-- Keywan Ghadami 2008-09-17 09:00:42

PanelGrid (last edited 2009-09-20 23:00:56 by localhost)