Developing Web 2.0 applications
with JavaServerFaces
and Dreamweaver
>> Just Became Easier
  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 HTML Tag Library
Selected trh:frame
If you like this documentation, please take a look at my book:

9. Trinidad HTML Tag Reference

Documentation > Trinidad > Trinidad Tag Reference > Trinidad HTML Tag Library > trh:frame


<p>The <trh:frame> tag represents an HTML frame element.</p>


      <trh:head title="FrameBorderLayout Demo"/>
      <trh:frameBorderLayout shortDesc="Frame border layout demo" frameBorderWidth="2" borderWidth="10">
        <f:facet name="alternateContent">
          <tr:outputText value="Your browser does not support frames. Frames support is required for this demo page"/>
        <f:facet name="top" >
          <trh:frame height="100px" scrolling="yes"
                     shortDesc="Top frame" inlineStyle="background-color:green"
                     source="frameTop.jsf" />
        <f:facet name="left" >
          <trh:frame width="20%" scrolling="auto"
                     shortDesc="Left frame" inlineStyle="background-color:blue"
                     source="frameLeft.jsf" />
        <f:facet name="innerLeft" >
          <trh:frame width="15%" scrolling="auto"
                     shortDesc="Inner left frame" inlineStyle="background-color:red"
                     source="frameInnerLeft.jsf" />
        <f:facet name="innerRight" >
          <trh:frame width="20%" scrolling="auto" inlineStyle="background-color:yellow"
                     shortDesc="Inner right frame" 
                     source="frameInnerRight.jsf" />
        <f:facet name="right" >
          <trh:frame width="20%" height="100%" scrolling="auto"
                     shortDesc="Right frame" inlineStyle="background-color:orange"
                     source="frameRight.jsf" />
        <f:facet name="bottom" >
          <trh:frame height="100px" scrolling="yes"
                     shortDesc="Bottom frame" inlineStyle="background-color:magenta"
                     source="frameBottom.jsf" />
        <f:facet name="center" >
          <trh:frame scrolling="auto"  inlineStyle="background-color:pink"
                     shortDesc="Center frame" 
                     source="frameCenter.jsf" />

Rendered Output

Rendered trh:frame tag

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
The value-binding expression linking this component tag to a backing bean property.
height Text
The height attribute sets the height of the component.
id Text
The unique identifier value for this component. The value must be unique within the closest naming container.
inlineStyle Text
the CSS styles to use for this component.
longDescURL Text
The longDescURL attribute sets the URL which contains the long description of the image.
marginHeight Text
The marginHeight attribute sets a height that is greater than zero pixels for the margin height.
marginWidth Text
The marginWidth attribute sets a width that is greater than zero pixels for the margin width.
name Text
The name attribute sets the name for the frame.
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
A value-binding expression that evaluates to a Boolean condition indicating if this component should be rendered.
scrolling Text
The scrolling attribute determines if scroll bars will be displayed. Valid values are "yes" to display scroll bars, "no", and "auto" which allows the browser to determine if scroll bars are required based on the size of the frame. The default is "auto".
shortDesc Text
The short description of the component. This text is commonly used by user agents to display tooltip help text.
source Text
The source attribute sets the URI for the location of the resource.
styleClass Text
The styleClass attribute sets the CSS class to apply to this component when it is rendered.
width Text
The width attribute sets the width of the component.