Type | Changes | By |
---|
| Removed json:data tag (was deprecated in previous release). Any usage
of json:data MUST now be replaced by json:object | James Wiltshire |
| Added an escapeXml attribute to all tags that will escape all XML special characters.
The default behaviour is to escape all XML characters to help prevent XSS attacks.
This can be disabled by setting escapeXml=false on any tag, or by setting a
page attribute or context-param atg.taglib.json.escapeXml=false. | James Wiltshire |
| Allow atg.taglib.json.prettyPrint and atg.taglib.json.escapeXml values to be set
using a context-param in web.xml | James Wiltshire |
Type | Changes | By |
---|
| Added support for passing arrays and Maps as
well as Collections to the 'items' of the json:array tag. The 'items' attribute
should now accept all of the same types as the c:forEach tag. | James Wiltshire |
| Added an 'Examples' page to the site | James Wiltshire |
| Allow pretty-printing to be enabled by setting a page attribute "atg.taglib.json.prettyPrint". | James Wiltshire |
| Allow json:array as a top level tag, along with json:object. This allows both JSON
objects and arrays to be serialized as per RFC 4627. Deprecated the json:da
ta tag
which is no longer required.
Fixes SourceForge bug https://sourceforge.net/tracker/index.php?func=detail
&
aid=1681593
&
group_id=187961
&
atid=923407 Fixes 1681593. | James Wiltshire |
| Fixed bug where a List would still cause the json:array tag to render
the body of that tag, even if the List was empty (thanks to Stephen Drye) | James Wiltshire |
| Fixed some incorrect code samples on the site (thanks to John Layton) | James Wiltshire |
| Renamed modified org.json package as atg.taglib.json.util so it won't cause collisions
with anyone who is already using Crockford's Java JSON library (thanks to qxo)
Fixes SourceForge bug https://sourceforge.net/tracker/index.php?func=detail
&
aid=1683408
&
group_id=187961
&
atid=923407 Fixes 1683408. | James Wiltshire |
| Fixed json.tld file so it validates in Resin. | James Wiltshire |
Type | Changes | By |
---|
| Compilation of source code now uses target=1.4, source=1.4 so that
the generated jar can run within a container running on Java 1.4 | James Wiltshire |
| Fixed checks to ensure that tags are nested properly. Previously the checks were
too restrictive and depended on the tags having a specific parent tag. This broke things
when using JSP include directives or JSTL within a JSON data structure. | James Wiltshire |
| Created new CSS for the site | James Wiltshire |
| Added a 'Build Instructions' page to the site | James Wiltshire |
| Added changes-report to t
he site | James Wiltshire |
| Added descriptions to all attributes in tag documentation (json.tld) | James Wiltshire |
Type | Changes | By |
---|
| Created codebase for initial release. | James Wiltshire |