Tag library reference for the following tag libraries:
This is version 1.0.
Name | Description | Type |
---|---|---|
escapeXml | Should special XML characters be escaped? (default:true) | boolean |
items | A collection, array, or map of items that should be iterated over | String |
name | The name of the array (required if nested within json:object tag) | String |
prettyPrint | Should the rendered JSON be nicely formatted and indented? (default:false) | boolean |
trim | Should whitespace be trimmed from the beginning and end of String values? (default:true) | boolean |
var | The name of a page variable that will be set to the item in the list as it is iterated over | String |
Creates a JSON Object. JSON Objects should in turn contain nested json:object, json:property and json:array tags to define the values contained therein. Objects can be nested as many times as you want.
Can contain: scriptless
Name | Description | Type |
---|---|---|
escapeXml | Should special XML characters be escaped? (default:true) | boolean |
name | The name of the object (required if nested within another json:object tag) | String |
prettyPrint | Should the rendered JSON be nicely formatted and indented? (default:false) | boolean |
Represents a single property of a JSON object. This tag should be contained within a json:object or json:array tag. It will render a single name/value pair for the name and value specified. The value may be specified using either the value attribute, or it may be contained within the body of the tag. If using the body of the tag, then the content is assumed to be a String. If using the value attribute, the type can be any of String, Boolean, Integer, Long, Double or Object. Boolean types will be converted to a Javascript boolean value. Integer/Long/Double types will be converted to a Javascript numeric value. Strings and Objects will be converted to Javascript string values (using toString) All String data will have all whitespace trimmed from the beginning and end of the string before being set on the JSON Object. This behavior may be overridden by setting trim=false.
Can contain: scriptless
Name | Description | Type |
---|---|---|
escapeXml | Should special XML characters be escaped? (default:true) | boolean |
name | The name of the property | String |
trim | Should whitespace be trimmed from the beginning and end of String values? (default:true) | boolean |
value | The value of the property. If set this will override anything set in the body of the tag. | String |