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:script
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:script


<p>The <trh:script> tag is used to import libraries and inline JavaScript code.</p>


<trh:script> </trh:script> 

HTML Output

<script src="..."></script>

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.
generatesContent Text
if the script generates content using document.write() or document.writeln(), set this to true. It defaults to false.
id Text
the identifier for the component
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.
source Text
The source attribute sets the URI for the location of the resource.
text Text
The text attribute sets the text that is displayed on the component.