Developing Web 2.0 applications
with JavaServerFaces
and Dreamweaver
>> Just Became Easier
Documentation
Search
  1. Introduction
  2. Getting Started
  3. Trinidad Concepts
  4. Code View Support
  5. Design View Support
  6. Tag Object Toolbars
  7. Trinidad Server Behaviors
  8. Trinidad Property Inspectors
  9. Trinidad Tag Reference
Trinidad Core Tag Library
  tr:attribute
  tr:breadCrumbs
  tr:chart
  tr:chooseColor
  tr:chooseDate
  tr:column
  tr:commandButton
  tr:commandLink
  tr:commandNavigationItem
  tr:componentDef
  tr:componentRef
  tr:convertColor
  tr:convertDateTime
  tr:convertNumber
Selected tr:document
  tr:facetRef
  tr:forEach
  tr:form
  tr:goButton
  tr:goLink
  tr:group
  tr:icon
  tr:image
  tr:importScript
  tr:inputColor
  tr:inputDate
  tr:inputFile
  tr:inputHidden
  tr:inputListOfValues
  tr:inputNumberSpinbox
  tr:inputText
  tr:iterator
  tr:legend
  tr:media
  tr:message
  tr:messages
  tr:navigationPane
  tr:navigationTree
  tr:outputDocument
  tr:outputFormatted
  tr:outputLabel
  tr:outputText
  tr:page
  tr:panelAccordion
  tr:panelBorderLayout
  tr:panelBox
  tr:panelButtonBar
  tr:panelChoice
  tr:panelFormLayout
  tr:panelGroupLayout
  tr:panelHeader
  tr:panelHorizontalLayout
  tr:panelLabelAndMessage
  tr:panelList
  tr:panelPage
  tr:panelPageHeader
  tr:panelPartialRoot
  tr:panelRadio
  tr:panelSideBar
  tr:panelTabbed
  tr:panelTip
  tr:poll
  tr:processChoiceBar
  tr:progressIndicator
  tr:resetActionListener
  tr:resetButton
  tr:returnActionListener
  tr:selectBooleanCheckbox
  tr:selectBooleanRadio
  tr:selectItem
  tr:selectManyCheckbox
  tr:selectManyListbox
  tr:selectManyShuttle
  tr:selectOneChoice
  tr:selectOneListbox
  tr:selectOneRadio
  tr:selectOrderShuttle
  tr:selectRangeChoiceBar
  tr:separator
  tr:setActionListener
  tr:showDetail
  tr:showDetailHeader
  tr:showDetailItem
  tr:singleStepButtonBar
  tr:spacer
  tr:subform
  tr:switcher
  tr:table
  tr:train
  tr:tree
  tr:treeTable
  tr:validateByteLength
  tr:validateDateRestriction
  tr:validateDateTimeRange
  tr:validateDoubleRange
  tr:validateLength
  tr:validateLongRange
  tr:validateRegExp
  tr:validator
If you like this documentation, please take a look at my book:

9. Trinidad Core Tag Reference

Documentation > Trinidad > Trinidad Tag Reference > Trinidad Core Tag Library > tr:document

tr:document

<p>The <tr:document> tag creates the basic elements (<HTML>, <HEAD>, <BODY>) of an html page.</p>

Example

<tr:document> </tr:document> 

HTML Output

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/loose.dtd"><html dir="ltr" lang="en"><head><title>Test</title><meta name="generator" content="Apache Trinidad"><link rel="stylesheet" charset="UTF-8" type="text/css" href="/TrinidadTestWeb/adf/styles/cache/minimal-desktop-1298923367-en-gecko-cmp.css"><script>var _AdfWindowOpenError='A popup window blocker has been detected in your browser. Popup blockers interfere with the operation of this application. Please disable your popup blocker or allow popups from this site.';</script><script src="/TrinidadTestWeb/adf/jsLibs/Common1_0_1.js"></script><script>_defaultTZ()</script>
<meta name="keywords" content="foo,bar,baz"/>
<meta name="content-type" content="text/html"/></head><body onload="_checkLoad()" onunload="_checkUnload(event)"><iframe id="_pprIFrame" name="_pprIFrame" frameborder="0" longdesc="#" title="" src="about:blank" style="position:absolute;top:-100px;visibility:hidden" width="0" height="0"></iframe><div id="_pprBlockingDiv" onclick="return _pprConsumeClick(event);" style="position:absolute;left:0;top:0;width:0;height:0;cursor:wait;" onkeydown="return false;" onkeyup="return false;" onmousedown="return false;" onmouseup="return false;" onkeypress="return false;"></div><script>var _cachedLibs;</script><a name="top"></a><noscript>This page uses JavaScript and requires a JavaScript enabled browser.Your browser is not JavaScript enabled.</noscript>
Body Content<!-- MYFACES JAVASCRIPT -->

</body><!--Created by Apache Trinidad (Apache MyFaces Trinidad API - 1.0.1/Apache MyFaces Trinidad Impl - 1.0.1), skin:minimal.desktop--></html>

Tag Attributes

attributeChangeListener Text
 
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.
binding Expression
 
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.
id Text
 
the identifier for the component
initialFocusId Text
 
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:phone, voice.
inlineStyle Text
 
the CSS styles to use for this component.
onclick Text
 
an onclick Javascript handler.
ondblclick Text
 
an ondblclick Javascript handler.
onkeydown Text
 
an onkeydown Javascript handler.
onkeypress Text
 
an onkeypress Javascript handler.
onkeyup Text
 
an onkeyup Javascript handler.
onload Text
 
an onload Javascript handler.
onmousedown Text
 
an onmousedown Javascript handler.
onmousemove Text
 
an onmousemove Javascript handler.
onmouseout Text
 
an onmouseout Javascript handler.
onmouseover Text
 
an onmouseover Javascript handler.
onmouseup Text
 
an onmouseup Javascript handler.
onunload Text
 
an onunload Javascript handler.
partialTriggers Text
 
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. Identifiers are relative to the source component, and must account for NamingContainers. If your component is already inside of a naming container, you can use a single colon to start the search from the root, or multiple colons to move up through the NamingContainers - "::" will search from the parent naming container, ":::" will search from the grandparent naming container, etc.
rendered Text
 
whether the component is rendered. When set to false, no output will be delivered for this component.
shortDesc Text
 
The short description of the component. This text is commonly used by user agents to display tooltip help text.
styleClass Text
 
the CSS style class of the bean.
title Text
 
The title of the document. (This title doesn't have to match the title on any contained panelPage.)