Documentation

Search 

Contents

  1. Introduction
  2. Getting Started
  3. Seam Concepts
  4. Component Types
  5. Design View Support
  6. Code View Support
  7. Tag Object Toolbars
  8. Property Inspectors
Selected 9. Seam Tag Reference

10. Trinidad HTML Tag Reference

Contents > Trinidad HTML Tag Reference > trh:script

trh:script

The trh:script tag is used to import libraries and inline JavaScript code.

Example

<trh:script></trh:script>

HTML Output

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

Tag Attributes

attributeChangeListener Text
 
The attributeChangeListener attribute contains the reference to a method that is invoked when the renderer changes a property without the application’s request.
binding Expression
 
The value-binding expression linking this component tag to a backing bean property.
generatesContent Boolean
 
The generatesContent attribute a boolean flag that when set to "true" generates content using document.write() or document.writeln(). The default is "false".
id Text
 
The unique identifier value for this component. The value must be unique within the closest naming container.
partialTriggers Text
 
The partialTriggers attribute sets the ids of components that cause a partial update. Use single colon for components that are in naming containers and multiple colons to search through parent and grandparent containers.
rendered Boolean
 
A value-binding expression that evaluates to a Boolean condition indicating if this component should be rendered.
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.