Tagger Cat Templating Tags


Standard Syntax:
     <%@ taglib prefix="t" uri="http://www.taggercat.com/TemplateTags" %>

XML Syntax:
     <anyxmlelement xmlns:t="http://www.taggercat.com/TemplateTags" />

The Tagger Cat Template Tag Library

Tag Library Information
Display NameTagger Cat Templating Tags
Version1.2
Short Namet
URIhttp://www.taggercat.com/TemplateTags
 

Tag Summary
removeLinesRemoves blank lines from evaluated body
reloadMetadataReloads the applications metadata
datafieldCreates a input field for a datasource attribute.
forEachFieldListThis tag is used to iterate over fields lists.
forEachFieldThis tag is used to iterate over a list of fields.
forEachTableRowThis tag is used to create a nicely wrapped HTML table from a list of fields.
forEachTableRowFieldThis tag is used to iterate over a list of fields that will make up a single row of an input table.
datafieldCaptionThis tag returns the Caption for the current datafield. If the field has no specified caption, then the field's name is used as the caption. If the field name is used for the caption, then by default, the name is pretty printed.
setEntityVarsSets request scope vars for current entity name, and object.
setAllAttributesVarThis tag builds a comma separated list of all field names in the current entity and sets it as a request scope attribute.
oneLineUnwraps multiple lines into one line
verbatimDoes not interpret body content, and scriptlet code.
uuidGenerates time-based, or URI based UUIDs.
userEditableContentSimply sends out the body content; removing the JSP tags.
checkParamsTests for the existence of the specified request parameters.
writeToFileWrite the body content to the specified file name. The body content is not included in the JSP output stream.
 

Function Summary
java.lang.BooleanisFldNameInList( java.lang.String, java.lang.String )Searches for a string in a comma separated list
java.lang.IntegertoInt( java.lang.Number )Truncates a number to its int value
java.lang.BooleanisWildCardMatch( java.lang.String, java.lang.String )Tests if the first string matches the second pattern
java.lang.StringupperCaseFirstLetter( java.lang.String )Converts the first char on a string to upper case.
java.lang.StringgetClassAttr( java.lang.String, java.lang.String ,java.lang.String )Returns the populated class attribute: class='type' using the second arg if the data type is currency; otherwise returns the third
java.lang.StringgetABSHashCode( java.lang.String)Returns the absolute hash code of the string arg.
java.lang.StringremoveSpaces( java.lang.String)Returns the param with spaces removed.
java.lang.StringgetTimeUUID( )Returns a time based UUID.
 


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