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

formatfalsefalsejava.lang.StringSpecifies the output case of the string. One of uppercase | lowercase | capitalize
maxLengthfalsefalsejava.lang.StringInteger 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.
appendEllipsesDuringOutputfalsefalsejava.lang.StringBoolean value determining if data should be truncated with ellipses during output conversion. Default = false
appendEllipsesDuringInputfalsefalsejava.lang.StringBoolean value determining if data should be truncated with ellipses during input conversion. Default = false
trimfalsefalsejava.lang.StringBoolean value determining is the string should be trimmed before any other formatting takes place. Default = false

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.