Developing Web 2.0 applications
with JavaServerFaces
and Dreamweaver
>> Just Became Easier
Documentation
Search
  1. Introduction
  2. Getting Started
  3. Tomahawk Concepts
  4. Code View Support
  5. Design View Support
  6. Tag Object Toolbars
  7. Tomahawk Server Behaviors
  8. Tomahawk Property Inspectors
  9. Tomahawk Tag Reference
Tomahawk Tag Library
  t:aliasBean
  t:aliasBeansScope
  t:buffer
  t:captcha
  t:checkbox
  t:collapsiblePanel
  t:column
  t:columns
  t:commandButton
  t:commandLink
  t:commandNavigation
  t:commandNavigation2
  t:commandSortHeader
  t:dataList
  t:dataScroller
  t:dataTable
  t:div
  t:document
  t:documentBody
  t:documentHead
  t:dojoInitializer
  t:fieldset
  t:graphicImage
  t:headerLink
  t:htmlTag
  t:iconProvider
  t:inputCalendar
  t:inputDate
  t:inputFileUpload
  t:inputHidden
  t:inputHtml
  t:inputSecret
  t:inputText
  t:inputTextHelp
  t:inputTextarea
  t:jsValueChangeListener
  t:jsValueSet
  t:jscookMenu
  t:message
  t:messages
  t:navigationMenuItem
  t:navigationMenuItems
  t:newspaperTable
  t:outputLabel
  t:outputText
Selected t:panelGrid
  t:panelGroup
  t:panelLayout
  t:panelNavigation
  t:panelNavigation2
  t:panelStack
  t:panelTab
  t:panelTabbedPane
  t:popup
  t:radio
  t:saveState
  t:schedule
  t:selectBooleanCheckbox
  t:selectItems
  t:selectManyCheckbox
  t:selectManyListbox
  t:selectManyMenu
  t:selectManyPicklist
  t:selectOneCountry
  t:selectOneLanguage
  t:selectOneListbox
  t:selectOneMenu
  t:selectOneRadio
  t:selectOneRow
  t:stylesheet
  t:subform
  t:swapImage
  t:tabChangeListener
  t:toggleGroup
  t:toggleLink
  t:togglePanel
  t:tree
  t:tree2
  t:treeCheckbox
  t:treeColumn
  t:treeSelectionListener
  t:updateActionListener
  t:validateCreditCard
  t:validateEmail
  t:validateEqual
  t:validateRegExpr
  t:xmlTransform
If you like this documentation, please take a look at my book:

9. Tomahawk Tag Reference

Documentation > Tomahawk > Tomahawk Tag Reference > Tomahawk Tag Library > t:panelGrid

t:panelGrid

<p>The <t:panelGrid> tag extends the JSF h:panelGrid tag. It supports conditional rendering based on user roles.</p>

Example

<t:panelGrid> </t:panelGrid> 

Tag Attributes

align Text
 
The align attribute is a standard HTML attribute that specifies this element's horizontal alignment.
bgcolor Text
 
The bgcolor attribute sets the background color for the table. This value can be the name or the hexadecimal value of the color.
binding Expression
 
The value-binding expression linking this component tag to a backing bean property.
border Text
 
The border attribute sets the pixel width of the border to be drawn around the table.
captionClass Text
 
A comma separated list of CSS class names to apply to all captions. If there are less classes than the number of rows, apply the same sequence of classes to the remaining captions, so the pattern is repeated. More than one class can be applied to a row by separating the classes with a space.
captionStyle Text
 
Gets The CSS class to be applied to the Caption.
cellpadding Text
 
The cellpadding attribute sets the width between the border of each cell and its contents.
cellspacing Text
 
The cellspacing attribute sets the width of the space between the outside and inside edges of the table as well as the space between cells.
columnClasses Text
 
The columnClasses attribute accepts a comma-delimited list of CSS style classes that will be applied to the columns of the table. Style classes for an individual column may also be defined in a space separated list. A style class is applied to a table column as the value for the class attribute of rendered td or th element. The algorithm used to apply the CSS style classes to the table columns is simple. In the table rendering process, style classes are applied to columns one at a time until (a) there are no more columns to display or (b) there are no more style classes to apply. <ul><li>If (a) happens at the same time as (b), the next row in the table is rendered.</li><li>If (a) happens before (b), the remaining style classes are ignored.</li><li>If (b) happens before (a), the remaining columns will not have style classes.</li></ul> ====MERGED==== The columnClasses attribute accepts a comma-delimited list of CSS style classes that will be applied to the columns of the table. Style classes for an individual column may also be defined in a space separated list. A style class is applied to a table column as the value for the class attribute of rendered td or th element. The algorithm used to apply the CSS style classes to the table columns is simple. In the table rendering process, style classes are applied to columns one at a time until (a) there are no more columns to display or (b) there are no more style classes to apply. <ul><li>If (a) happens at the same time as (b), the next row in the table is rendered.</li><li>If (a) happens before (b), the remaining style classes are ignored.</li><li>If (b) happens before (a), the remaining columns will not have style classes.</li></ul>
columns Text
 
The columns attribute defines the number of columns displayed by this panelGrid.
datafld Text
 
The W3C has reserved the datafld attribute for future use. ====MERGED==== The Tomahawk developers have reserved the datafld attribute for future use.
dataformatas Text
 
The W3C has reserved the dataformatas attribute for future use. ====MERGED==== The Tomahawk developers have reserved the dataformatas attribute for future use.
datasrc Text
 
The W3C has reserved the datasrc attribute for future use. ====MERGED==== The Tomahawk developers have reserved the datasrc attribute for future use.
dir Text
 
The dir attribute is a standard HTML attribute that overrides the default text directionality for this component. The values accepted for this component are "LTR" (left-to-right) and "RTL" (right-to-left).
displayValueOnly Text
 
The displayValueOnly attribute expects a boolean value that, when set to true, causes a tag to render its value only, and not the associated UI component.
displayValueOnlyStyle Text
 
The displayValueOnlyStyle attribute defines the CSS style applied to the display value of this tag when the displayValueOnly attribute is set to true.
displayValueOnlyStyleClass Text
 
The displayValueOnlyStyleClass attribute defines the CSS class applied to the display value of this tag when the displayValueOnly attribute is set to true.
enabledOnUserRole Text
 
The enabledOnUserRole attribute determines if this component will be rendered normally or not depending on the user's roles.
footerClass Text
 
The footerClass attribute accepts a space-separated list of CSS style classes (or simply a style class) to be applied to the table footer if one has been defined.
forceId Text
 
The forceId attribute expects a boolean value, that when set to true, forces the tag to render its ID exactly as specified in the ID attribute. This allows you to apply CSS styles to the tag and to reference it in JavaScript by ID, which is typically not possible using the default JSF component ID naming system. This attribute is false by default.
forceIdIndex Text
 
The forceIdIndex attribute effects the component ID name when this component is rendered at runtime. It expects a boolean value that, when true, causes the component to display an index number in its ID value if the component is in a list. It has a default value of true.
frame Text
 
The frame attribute sets the code specifying which sides of the frame around this table will be visible. The valid values for this attribute are:<ul><li>none (no sides, default value)</li><li>above (top side only)</li><li>below (bottom side only)</li><li>hsides (top and bottom sides only)</li><li>vsides (right and left sides only)</li><li>lhs (left hand side only)</li><li>rhs (right hand side only)</li><li>box (all four sides) and </li><li>border (all four sides)</li></ul> ====MERGED==== The frame attribute sets the code specifying which sides of the frame around this table will be visible. The valid values for this attribute are:<ul><li>none (no sides, default value)</li><li>above (top side only)</li><li>below (bottom side only)</li><li>hsides (top and bottom sides only)</li><li>vsides (right and left sides only)</li><li>lhs (left hand side only)</li><li>rhs (right hand side only)</li><li>box (all four sides) and </li><li>border (all four sides)</li></ul>
headerClass Text
 
The headerClass attribute accepts a space-separated list of CSS style classes (or a single style class) to be applied to any header generated for this table.
id Text
 
The unique identifier value for this component. The value must be unique within the closest naming container.
lang Text
 
The lang attribute is a standard HTML attribute that sets the code describing the language to be used in the markup generated by this component.
onclick Text
 
The onclick attribute sets the JavaScript code to execute when the mouse pointer is clicked over this element.
ondblclick Text
 
The ondblclick attribute sets the JavaScript code to execute when the mouse pointer is double-clicked over this element.
onkeydown Text
 
The onkeydown attribute sets the JavaScript code to execute when a key is pressed down over this element.
onkeypress Text
 
The onkeypress attribute sets the JavaScript code to execute when a key is pressed and released over this element.
onkeyup Text
 
The onkeyup attribute sets the JavaScript code to execute when a key is released over this element.
onmousedown Text
 
The onmousedown attribute sets the JavaScript code to execute when the mouse pointer is pressed down over this element.
onmousemove Text
 
The onmousemove attribute sets the JavaScript code to execute when the mouse pointer is moved within this element.
onmouseout Text
 
The onmouseout attribute sets the JavaScript code to execute when the mouse pointer is moved away from this element.
onmouseover Text
 
The onmouseover attribute sets the JavaScript code to execute when the mouse pointer is moved onto this element.
onmouseup Text
 
The onmouseup attribute sets the JavaScript code to execute when the mouse button is released over this element.
rendered Text
 
A value-binding expression that evaluates to a Boolean condition indicating if this component should be rendered.
rowClasses Text
 
<p>The rowClasses attribute accepts a comma-delimited list of CSS style classes to be applied to the rows of the table. Style classes for an individual row may also be defined in a space separated list. A style class is applied to a table row as the value for the class attribute of rendered tr element. </p>Style classes are applied to rows in the same order that they are defined. For example, if there are two style classes, the first is applied to the first row, the second is applied to the second row, the first is applied to the third row, the second is applied to the fourth row, and so on. The list of styles is looped over from the beginning until there are no more rows to display. ====MERGED==== <p>The rowClasses attribute accepts a comma-delimited list of CSS style classes to be applied to the rows of the table. Style classes for an individual row may also be defined in a space separated list. A style class is applied to a table row as the value for the class attribute of rendered tr element. </p>Style classes are applied to rows in the same order that they are defined. For example, if there are two style classes, the first is applied to the first row, the second is applied to the second row, the first is applied to the third row, the second is applied to the fourth row, and so on. The list of styles is looped over from the beginning until there are no more rows to display.
rules Text
 
The rules attribute specifies which lines will appear between cells in the table. The valid values for this attribute are:<ul><li>none (no rules, default value)</li><li>groups (between row groups) </li><li>rows (between rows only)</li><li>cols (between columns only)</li><li>and all (between all rows and columns)</li></ul> ====MERGED==== The rules attribute specifies which lines will appear between cells in the table. The valid values for this attribute are:<ul><li>none (no rules, default value)</li><li>groups (between row groups) </li><li>rows (between rows only)</li><li>cols (between columns only)</li><li>and all (between all rows and columns)</li></ul>
style Text
 
The style attribute sets the CSS style definition to be applied to this component when it is rendered.
styleClass Text
 
The styleClass attribute sets the CSS class to apply to this component when it is rendered.
summary Text
 
The summary attribute describes the purpose and structure of the table for accessibility support for assistive devices and non-visual user agents.
title Text
 
The title attribute is a standard HTML attribute that sets the tooltip text to display for the rendered component.
visibleOnUserRole Text
 
The visibleOnUserRole attribute determines if this component will be visible or not depending on the user's roles.
width Text
 
The width attribute specifies the width of this component.