Tomahawk sandbox tag library.
Tag convertStringUtils


Converts the format of a string

Converter which modifies a string by changing the input text into upper case, lower case, capitalized. The input string can be optionally trimmed and truncated at some max length. Ellipses (...) can be added to a truncated string.

Provides runtime modification of a string. Uses Apache Lang StringUtils and WordUtils to peform operations.



Tag Information
Tag Classorg.apache.myfaces.custom.convertStringUtils.StringUtilsConverterTag
TagExtraInfo ClassNone
Body Contentempty
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
formatfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Object)
Specifies the output case of the string. One of uppercase | lowercase | capitalize
maxLengthfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Integer)
Integer value for the maximum length of the rendered string. Strings longer than maxValue will be truncated at (maxValue - 3) and an ellipsis '...' will be appended.
appendEllipsesDuringOutputfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Boolean)
Boolean value determining if data should be truncated with ellipses during output conversion. Default = false
appendEllipsesDuringInputfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Boolean)
Boolean value determining if data should be truncated with ellipses during input conversion. Default = false
trimfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Boolean)
Boolean value determining is the string should be trimmed before any other formatting takes place. Default = false

Variables
No Variables Defined.


Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.