Apache Trinidad HTML
1.2.6
trh
http://myfaces.apache.org/trinidad/html
The styleSheet tag generates the style
sheet link reference to a generated Apache Trinidad style sheet.
This is automatically included for you if you use the Trinidad head tag.styleSheet
org.apache.myfaces.trinidadinternal.taglib.core.CoreStyleSheetTag
JSP
<html>the identifier for the component. The identifier
must follow a subset of the syntax allowed in HTML:
<ul>
<li>Must not be a zero-length String.</li>
<li>First character must be an ASCII letter (A-Za-z) or an underscore ('_').</li>
<li>Subsequent characters must be an ASCII letter or digit (A-Za-z0-9), an underscore ('_'), or a dash ('-').</li>
</ul></html>
id
true
whether the component is rendered. When set to false, no output
will be delivered for this component.
rendered
boolean
an EL reference that will store the component instance on a
bean. This can be used to give programmatic access to a component
from a backing bean, or to move creation of the component to a backing bean.
binding
javax.faces.component.UIComponent
a method reference to an attribute change listener. Attribute change events are not delivered for any programmatic change to a property. They are only delivered when a renderer changes a property without the application's specific request. An example of an attribute change events might include the width of a column that supported client-side resizing.
attributeChangeListener
void myMethod(org.apache.myfaces.trinidad.event.AttributeChangeEvent)
Tag for the HTML body element.body
org.apache.myfaces.trinidadinternal.taglib.html.HtmlBodyTag
JSP
<html>the identifier for the component. The identifier
must follow a subset of the syntax allowed in HTML:
<ul>
<li>Must not be a zero-length String.</li>
<li>First character must be an ASCII letter (A-Za-z) or an underscore ('_').</li>
<li>Subsequent characters must be an ASCII letter or digit (A-Za-z0-9), an underscore ('_'), or a dash ('-').</li>
</ul></html>
id
true
whether the component is rendered. When set to false, no output
will be delivered for this component.
rendered
boolean
an EL reference that will store the component instance on a
bean. This can be used to give programmatic access to a component
from a backing bean, or to move creation of the component to a backing bean.
binding
javax.faces.component.UIComponent
a method reference to an attribute change listener. Attribute change events are not delivered for any programmatic change to a property. They are only delivered when a renderer changes a property without the application's specific request. An example of an attribute change events might include the width of a column that supported client-side resizing.
attributeChangeListener
void myMethod(org.apache.myfaces.trinidad.event.AttributeChangeEvent)
whether or not Trinidad will allow the first click to go
through in certain instances. When a PPR event occurs, we block
all subsequent user input until it completes. However, there may
be instances where the client wants to receive the very first
click. For example, if the user entered text in an inputText
that fires a PPR request, then the user immediately clicked
a submit button two events will be triggered - an onchange
followed by an onclick. The onchange will trigger the client
action which will immediately start the PPR blocking, so the
onclick will get consumed by the blocking code and no submit will
occur. Setting this value to true will allow the click to go
through.
This attribute is not supported on the following agent types:
pda, phone, voice.
firstClickPassed
boolean
the short description of the bean. This text
is commonly used by user agents to display tooltip help text.
shortDesc
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.
partialTriggers
an onclick Javascript handler.
onclick
an ondblclick Javascript handler.
ondblclick
an onmousedown Javascript handler.
onmousedown
an onmouseup Javascript handler.
onmouseup
an onmouseover Javascript handler.
onmouseover
an onmousemove Javascript handler.
onmousemove
an onmouseout Javascript handler.
onmouseout
an onkeypress Javascript handler.
onkeypress
an onkeydown Javascript handler.
onkeydown
an onkeyup Javascript handler.
onkeyup
the CSS style class of the bean.
styleClass
the inline CSS style for this element
inlineStyle
an onload Javascript handler.
onload
an onunload Javascript handler.
onunload
the id of the component to which you want the
focus to be when the full page renders. The accessibility-mode
must be set to "inaccessible" for this feature to be on.
This attribute is not supported on the following agent types:
pda, phone, voice.
initialFocusId
CellFormat components are used to format cells in a
rowLayout component.cellFormat
org.apache.myfaces.trinidadinternal.taglib.html.HtmlCellFormatTag
JSP
<html>the identifier for the component. The identifier
must follow a subset of the syntax allowed in HTML:
<ul>
<li>Must not be a zero-length String.</li>
<li>First character must be an ASCII letter (A-Za-z) or an underscore ('_').</li>
<li>Subsequent characters must be an ASCII letter or digit (A-Za-z0-9), an underscore ('_'), or a dash ('-').</li>
</ul></html>
id
true
whether the component is rendered. When set to false, no output
will be delivered for this component.
rendered
boolean
an EL reference that will store the component instance on a
bean. This can be used to give programmatic access to a component
from a backing bean, or to move creation of the component to a backing bean.
binding
javax.faces.component.UIComponent
a method reference to an attribute change listener. Attribute change events are not delivered for any programmatic change to a property. They are only delivered when a renderer changes a property without the application's specific request. An example of an attribute change events might include the width of a column that supported client-side resizing.
attributeChangeListener
void myMethod(org.apache.myfaces.trinidad.event.AttributeChangeEvent)
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).
shortText
the horizontal alignment of the grid row elements.
The acceptable values are "center", "left", "right", "start", and "end".
halign
the vertical alignment of the grid row elements.
The acceptable values are "middle", "top", and "bottom".
valign
the preferred width of the enclosed layout elements.
width
the preferred height of the enclosed layout elements.
height
the number of cells wide the child layout element will be.
columnSpan
int
the number of cells high the child layout element will be.
rowSpan
int
whether automatic text wrapping should be disabled for
this cell.
wrappingDisabled
boolean
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.
headers
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.
header
boolean
the short description of the bean. This text
is commonly used by user agents to display tooltip help text.
shortDesc
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.
partialTriggers
an onclick Javascript handler.
onclick
an ondblclick Javascript handler.
ondblclick
an onmousedown Javascript handler.
onmousedown
an onmouseup Javascript handler.
onmouseup
an onmouseover Javascript handler.
onmouseover
an onmousemove Javascript handler.
onmousemove
an onmouseout Javascript handler.
onmouseout
an onkeypress Javascript handler.
onkeypress
an onkeydown Javascript handler.
onkeydown
an onkeyup Javascript handler.
onkeyup
the CSS style class of the bean.
styleClass
the inline CSS style for this element
inlineStyle
The frame component is used to specify attributes needed by an
HTML frame.frame
org.apache.myfaces.trinidadinternal.taglib.html.HtmlFrameTag
JSP
<html>the identifier for the component. The identifier
must follow a subset of the syntax allowed in HTML:
<ul>
<li>Must not be a zero-length String.</li>
<li>First character must be an ASCII letter (A-Za-z) or an underscore ('_').</li>
<li>Subsequent characters must be an ASCII letter or digit (A-Za-z0-9), an underscore ('_'), or a dash ('-').</li>
</ul></html>
id
true
whether the component is rendered. When set to false, no output
will be delivered for this component.
rendered
boolean
an EL reference that will store the component instance on a
bean. This can be used to give programmatic access to a component
from a backing bean, or to move creation of the component to a backing bean.
binding
javax.faces.component.UIComponent
a method reference to an attribute change listener. Attribute change events are not delivered for any programmatic change to a property. They are only delivered when a renderer changes a property without the application's specific request. An example of an attribute change events might include the width of a column that supported client-side resizing.
attributeChangeListener
void myMethod(org.apache.myfaces.trinidad.event.AttributeChangeEvent)
the URI for the source of this frame
source
true
<html> This attribute specifies a link to a long description of the
frame. This description should supplement the short description
provided using the <code>shortDesc</code> attribute, and
may be particularly useful for non-visual user agents.</html>
longDescURL
the name used to identify this frame
name
the proposed width of this frame
This can be in pixels or percentage. This attribute is used only if this
frame is a left/right facet of a frameBorderLayout component.
width
the proposed height of this frame.
This can be in pixels or percentage. This attribute is used only if this
frame is a top/bottom facet of a frameBorderLayout component.
height
the width of the frame margin. The value must be greater than zero (pixels).
marginWidth
int
the width of the frame margin. The value must be greater than zero (pixels).
marginHeight
int
<html> whether or not scrollbars are available on this
frame. Valid values for this attribute are the following
constants:<br/>
"yes" specifies that scrollbars are always available. <br/>
"no" specifies that scrollbars are never available. <br/>
"auto" specifies that the browser determines whether to display scroll
bars based on the size of the frame and its content. If
you do not specify a value for scrolling, the default
value is "auto"</html>
scrolling
the short description of the bean. This text
is commonly used by user agents to display tooltip help text.
shortDesc
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.
partialTriggers
the CSS style class of the bean.
styleClass
the inline CSS style for this element
inlineStyle
frameBorderLayout is a layout bean which can be used to place seven
frames at left, right, top, bottom, innerLeft, innerRight and center
positions.frameBorderLayout
org.apache.myfaces.trinidadinternal.taglib.html.HtmlFrameBorderLayoutTag
JSP
<html>the identifier for the component. The identifier
must follow a subset of the syntax allowed in HTML:
<ul>
<li>Must not be a zero-length String.</li>
<li>First character must be an ASCII letter (A-Za-z) or an underscore ('_').</li>
<li>Subsequent characters must be an ASCII letter or digit (A-Za-z0-9), an underscore ('_'), or a dash ('-').</li>
</ul></html>
id
true
whether the component is rendered. When set to false, no output
will be delivered for this component.
rendered
boolean
an EL reference that will store the component instance on a
bean. This can be used to give programmatic access to a component
from a backing bean, or to move creation of the component to a backing bean.
binding
javax.faces.component.UIComponent
a method reference to an attribute change listener. Attribute change events are not delivered for any programmatic change to a property. They are only delivered when a renderer changes a property without the application's specific request. An example of an attribute change events might include the width of a column that supported client-side resizing.
attributeChangeListener
void myMethod(org.apache.myfaces.trinidad.event.AttributeChangeEvent)
an onload Javascript handler.
onload
an onunload Javascript handler.
onunload
The proposed width of this frameBorderLayout. This can be in
pixels or percentage. This attribute is used only if this a nested
frameBorderLayout in a left/right facet of a
frameBorderLayout.
width
The proposed height of this frameBorderLayout. This can be in
pixels or percentage. This attribute is used only if this a nested
frameBorderLayout in a top/bottom facet of a
frameBorderLayout.
height
The size of frame spacing to be rendered.
frameSpacing
int
The size for the border width to be rendered.
borderWidth
int
The size for the frame border width to be rendered.
frameBorderWidth
int
the short description of the bean. This text
is commonly used by user agents to display tooltip help text.
shortDesc
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.
partialTriggers
the CSS style class of the bean.
styleClass
the inline CSS style for this element
inlineStyle
Tag for the HTML head element.head
org.apache.myfaces.trinidadinternal.taglib.html.HtmlHeadTag
JSP
<html>the identifier for the component. The identifier
must follow a subset of the syntax allowed in HTML:
<ul>
<li>Must not be a zero-length String.</li>
<li>First character must be an ASCII letter (A-Za-z) or an underscore ('_').</li>
<li>Subsequent characters must be an ASCII letter or digit (A-Za-z0-9), an underscore ('_'), or a dash ('-').</li>
</ul></html>
id
true
whether the component is rendered. When set to false, no output
will be delivered for this component.
rendered
boolean
an EL reference that will store the component instance on a
bean. This can be used to give programmatic access to a component
from a backing bean, or to move creation of the component to a backing bean.
binding
javax.faces.component.UIComponent
a method reference to an attribute change listener. Attribute change events are not delivered for any programmatic change to a property. They are only delivered when a renderer changes a property without the application's specific request. An example of an attribute change events might include the width of a column that supported client-side resizing.
attributeChangeListener
void myMethod(org.apache.myfaces.trinidad.event.AttributeChangeEvent)
The title of the document. (This title doesn't have to match the
title on any contained panelPage.)
title
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.
partialTriggers
<html>
The html tag generates the <html> element for an HTML page.</html>html
org.apache.myfaces.trinidadinternal.taglib.html.HtmlHtmlTag
JSP
<html>the identifier for the component. The identifier
must follow a subset of the syntax allowed in HTML:
<ul>
<li>Must not be a zero-length String.</li>
<li>First character must be an ASCII letter (A-Za-z) or an underscore ('_').</li>
<li>Subsequent characters must be an ASCII letter or digit (A-Za-z0-9), an underscore ('_'), or a dash ('-').</li>
</ul></html>
id
true
whether the component is rendered. When set to false, no output
will be delivered for this component.
rendered
boolean
an EL reference that will store the component instance on a
bean. This can be used to give programmatic access to a component
from a backing bean, or to move creation of the component to a backing bean.
binding
javax.faces.component.UIComponent
a method reference to an attribute change listener. Attribute change events are not delivered for any programmatic change to a property. They are only delivered when a renderer changes a property without the application's specific request. An example of an attribute change events might include the width of a column that supported client-side resizing.
attributeChangeListener
void myMethod(org.apache.myfaces.trinidad.event.AttributeChangeEvent)
Set if the page should render in default standards mode, quirks mode, or strict mode. Behavior of the modes are:<ul>
<li>"default": renders as transitional doctypes for both XHTML and HTML,
with <a href="http://developer.mozilla.org/en/docs/Gecko's_%22Almost_Standards%22_Mode">"almost standards"</a> rendering mode</li>
<li>"strict": renders as a strict doctype for both XHTML and HTML, also
in standards rendering mode</li>
<li>"quirks": renders HTML pages in quirks mode, and XHTML with
a transitional doctype, but standards mode (there is no quirks mode for
XHTML).</li></ul>
mode
RowLayout components can be used on their own, or to
define a row of a tableLayout component.rowLayout
org.apache.myfaces.trinidadinternal.taglib.html.HtmlRowLayoutTag
JSP
<html>the identifier for the component. The identifier
must follow a subset of the syntax allowed in HTML:
<ul>
<li>Must not be a zero-length String.</li>
<li>First character must be an ASCII letter (A-Za-z) or an underscore ('_').</li>
<li>Subsequent characters must be an ASCII letter or digit (A-Za-z0-9), an underscore ('_'), or a dash ('-').</li>
</ul></html>
id
true
whether the component is rendered. When set to false, no output
will be delivered for this component.
rendered
boolean
an EL reference that will store the component instance on a
bean. This can be used to give programmatic access to a component
from a backing bean, or to move creation of the component to a backing bean.
binding
javax.faces.component.UIComponent
a method reference to an attribute change listener. Attribute change events are not delivered for any programmatic change to a property. They are only delivered when a renderer changes a property without the application's specific request. An example of an attribute change events might include the width of a column that supported client-side resizing.
attributeChangeListener
void myMethod(org.apache.myfaces.trinidad.event.AttributeChangeEvent)
the default horizontal alignment of cells in this row.
The acceptable values are "center", "left", "right", "start", and "end".
halign
the default vertical alignment of cells in this row.
The acceptable values are "middle", "top", and "bottom".
valign
the preferred total width of the layout.
This attribute is ignored when the row layout is inside
of a table layout.
width
the short description of the bean. This text
is commonly used by user agents to display tooltip help text.
shortDesc
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.
partialTriggers
an onclick Javascript handler.
onclick
an ondblclick Javascript handler.
ondblclick
an onmousedown Javascript handler.
onmousedown
an onmouseup Javascript handler.
onmouseup
an onmouseover Javascript handler.
onmouseover
an onmousemove Javascript handler.
onmousemove
an onmouseout Javascript handler.
onmouseout
an onkeypress Javascript handler.
onkeypress
an onkeydown Javascript handler.
onkeydown
an onkeyup Javascript handler.
onkeyup
the CSS style class of the bean.
styleClass
the inline CSS style for this element
inlineStyle
The script component supports importing libraries, and inline scripts.script
org.apache.myfaces.trinidadinternal.taglib.html.HtmlScriptTag
JSP
<html>the identifier for the component. The identifier
must follow a subset of the syntax allowed in HTML:
<ul>
<li>Must not be a zero-length String.</li>
<li>First character must be an ASCII letter (A-Za-z) or an underscore ('_').</li>
<li>Subsequent characters must be an ASCII letter or digit (A-Za-z0-9), an underscore ('_'), or a dash ('-').</li>
</ul></html>
id
true
whether the component is rendered. When set to false, no output
will be delivered for this component.
rendered
boolean
an EL reference that will store the component instance on a
bean. This can be used to give programmatic access to a component
from a backing bean, or to move creation of the component to a backing bean.
binding
javax.faces.component.UIComponent
a method reference to an attribute change listener. Attribute change events are not delivered for any programmatic change to a property. They are only delivered when a renderer changes a property without the application's specific request. An example of an attribute change events might include the width of a column that supported client-side resizing.
attributeChangeListener
void myMethod(org.apache.myfaces.trinidad.event.AttributeChangeEvent)
the inline script
text
the URI of a script library to import.
source
if the script generates content
using document.write() or document.writeln(), set this to true.
It defaults to false.
generatesContent
boolean
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.
partialTriggers
<html>
A TableLayout is a thin wrapper around the HTML <table>
element. It contains a series of row layout elements.</html>tableLayout
org.apache.myfaces.trinidadinternal.taglib.html.HtmlTableLayoutTag
JSP
<html>the identifier for the component. The identifier
must follow a subset of the syntax allowed in HTML:
<ul>
<li>Must not be a zero-length String.</li>
<li>First character must be an ASCII letter (A-Za-z) or an underscore ('_').</li>
<li>Subsequent characters must be an ASCII letter or digit (A-Za-z0-9), an underscore ('_'), or a dash ('-').</li>
</ul></html>
id
true
whether the component is rendered. When set to false, no output
will be delivered for this component.
rendered
boolean
an EL reference that will store the component instance on a
bean. This can be used to give programmatic access to a component
from a backing bean, or to move creation of the component to a backing bean.
binding
javax.faces.component.UIComponent
a method reference to an attribute change listener. Attribute change events are not delivered for any programmatic change to a property. They are only delivered when a renderer changes a property without the application's specific request. An example of an attribute change events might include the width of a column that supported client-side resizing.
attributeChangeListener
void myMethod(org.apache.myfaces.trinidad.event.AttributeChangeEvent)
the preferred total width of the layout.
width
the horizontal alignment of the table.
The acceptable values are "center", "left", "right", "start", and "end".
halign
the spacing between cells.
cellSpacing
int
the spacing within cells.
cellPadding
int
the border width around each cell.
borderWidth
int
The summary of the table's purpose and structure
for user agents rendering to non-visual media. This attribute
must be set if this element is being used to implement a data
table (instead of a layout table).
summary
the short description of the bean. This text
is commonly used by user agents to display tooltip help text.
shortDesc
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.
partialTriggers
an onclick Javascript handler.
onclick
an ondblclick Javascript handler.
ondblclick
an onmousedown Javascript handler.
onmousedown
an onmouseup Javascript handler.
onmouseup
an onmouseover Javascript handler.
onmouseover
an onmousemove Javascript handler.
onmousemove
an onmouseout Javascript handler.
onmouseout
an onkeypress Javascript handler.
onkeypress
an onkeydown Javascript handler.
onkeydown
an onkeyup Javascript handler.
onkeyup
the CSS style class of the bean.
styleClass
the inline CSS style for this element
inlineStyle