Oracle ADF Faces - afh:cellFormat
Summary

Tag name: < afh:cellFormat >

UIComponent class: oracle.adf.view.faces.component.html.HtmlCellFormat

Component type: oracle.adf.HtmlCellFormat

CellFormat components are used to format cells in a rowLayout. It is a container of other layout elements which allows its contents to take additional formatting, such as vertical alignment, width, or colspan.

Example:

<afh:tableLayout width="75%"
             borderWidth="3"
             cellSpacing="10"
             halign="center">
  <afh:rowLayout halign="right">
    First Column

    <afh:cellFormat valign="bottom">
      SecondColumn
    </afh:cellFormat>
    <af:panelGroup laytou="horizontal">
      Third Column
      <af:objectSpacer height="100" width="1"/>
    </af:panelGroup>
  </afh:rowLayout>
  <afh:rowLayout>
    <af:panelHeader text="ADF Faces Components"/>
    <afh:cellFormat columnSpan="2">
      <af:panelHeader text="Faces Servlet"/>
    </afh:cellFormat>
  </afh:rowLayout>
</afh:tableLayout>

Attributes
Ungrouped attributes
Name Type Supports EL? Description
attributeChangeListener javax.faces.el.MethodBinding Only EL a method reference to an attribute change listener
columnSpan int Yes the number of cells wide the child layout element will be.
halign String Yes the horizontal alignment of the grid row elements. The acceptable values are "center", "left", "right", "start", and "end" .
header boolean Yes Indicates whether or not this table cell is a header cell or a data cell. Setting this attribute to 'true' will mark this cell as a header cell.
headers String Yes Indicates which table cells are the headers for this cell. This attribute is used by screen readers to associate header information with data cells. This must be set to a space-separated list of IDs. Each ID must be the ID of a pertinent header cell.
height String Yes the preferred height of the enclosed layout elements.
partialTriggers String[ ] Yes the IDs of the components that should trigger a partial update. This component will listen on the trigger components. If one of the trigger components receives an event that will cause it to update in some way, this component will request to be updated too.
rowSpan int Yes the number of cells high the child layout element will be.
shortText String Yes This attribute should be used to provide an abbreviated form of the cell's content, and may be rendered by user agents when appropriate in place of the cell's content. Abbreviated names should be short since user agents may render them repeatedly (especially if this cell is a header cell).
valign String Yes the vertical alignment of the grid row elements. The acceptable values are "middle", "top", and "bottom".
width String Yes the preferred width of the enclosed layout elements.
wrappingDisabled boolean Yes whether automatic text wrapping should be disabled for this cell.
Core attributes
Name Type Supports EL? Description
binding oracle.adf.view.faces.component. html.HtmlCellFormat Only EL a binding reference to store the component instance
id String No the identifier for the component. This must be a valid XML ID, and therefore may not contain whitespace or start with a number. Also, JSF requires that IDs must not contain any colons (":").
inlineStyle String Yes the inline CSS style for this element
rendered boolean Yes whether the bean is rendered. When set to false, no output will be delivered for this bean.
shortDesc String Yes the short description of the bean. This text is commonly used by user agents to display tooltip help text.
styleClass String Yes the CSS style class of the bean.
Javascript attributes
Name Type Supports EL? Description
onclick String Yes an onclick Javascript handler.
ondblclick String Yes an ondblclick Javascript handler.
onkeydown String Yes an onkeydown Javascript handler.
onkeypress String Yes an onkeypre ss Javascript handler.
onkeyup String Yes an onkeyup Javascript handler.
onmousedown String Yes an onmousedown Javascript handler.
onmousemove String Yes an onmousemove Javascript handler.
onmouseout String Yes an onmouseout Javascript handler.
onmouseover String Yes an onmouseover Javascript handler.
onmouseup String Yes an onmouseup Javascript handler.
Copyright © 2003-2006, Oracle Corporation. All Rights Reserved.

E-mail this page
Printer View Printer View
Oracle Is The Information Company About Oracle | Oracle RSS Feeds | Careers | Contact Us | Site Maps | Legal Notices | Terms of Use | Privacy