Documentation

Search 

Contents

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

10. Trinidad Core Tag Reference

Contents > Trinidad Core Tag Reference > tr:convertColor

tr:convertColor

The tr:convertColor tag is used to convert a string to java.awt.Color object and back to a string.

Example

<tr:convertColor></tr:convertColor>

HTML Output

(No output.)

Tag Attributes

id Text
 
The unique identifier value for this component. The value must be unique within the closest naming container.
messageDetailConvert Text
 
The messageDetailConvert attribute sets a custom error message with the parameters {0} for a label to identify the component, {1} for the value from the user and {2} for the pattern.
patterns Text
 
The patterns attribute is a whitespace separated list of accepted patterns to be used to format java.awtColor values. The default is "#RRGGBB r,g,b".
transparentAllowed Boolean
 
The transparentAllowed attribute determines if converter allows transparent colors.