META-INF.json.tld Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jweb-common Show documentation
Show all versions of jweb-common Show documentation
本项目主要弥补在使用mybatis3+springmvc+jquery easyui快速搭建web应用系统是遇到的框架不足.
主要工作包括:
1,扩展了ApplicationContextAware,通过单例注入spring容器,提供spring容器外的bean获取方法
2,扩展了apache shiro框架,统一了安全结构
3,扩展了mybatis3拦截器,在两个拦截器中自动完成分页注入,实现内存分页。
4,分页设计数据库方言
5,提供了一个easyuigrid的模型
6,提供了java泛型的jstl
7, xml工具包等一些小工具
JSON (JavaScript Object Notation) rendering taglib
1.0
json
http://jweb.sourceforge.net/json
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.
object
net.sourceforge.jweb.jstl.json.JsonObjectTag
scriptless
quoto json object property name or not to competiable javascript object, default true
quotoName
false
true
boolean
quoto json object property value or not to competiable javascript object, default true
quotoValue
false
true
boolean
the quoto string used for json, default is '
quotoString
false
true
The name of the object (required if nested within another json:object tag)
name
false
true
Should the rendered JSON be nicely formatted and indented? (default:false)
prettyPrint
false
true
boolean
Should special XML characters be escaped? (default:true)
escapeXml
false
true
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.
property
net.sourceforge.jweb.jstl.json.JsonPropertyTag
scriptless
quoto json object property name or not to competiable javascript object, default true
quotoName
false
true
boolean
quoto json object property value or not to competiable javascript object, default true
quotoValue
false
true
boolean
the quoto string used for json, default is '
quotoString
false
true
The name of the property
name
false
true
The value of the property. If set this will override anything set in the body of the tag.
value
false
true
java.lang.Object
Should whitespace be trimmed from the beginning and end of String values? (default:true)
trim
false
true
boolean
Should special XML characters be escaped? (default:true)
escapeXml
false
true
boolean
Creates a JSON array which consist of Strings, numeric values,
booleans, JSON objects, or further JSON arrays. You can pass a List of values using
the 'items' attribute. This list will be iterated over, and each value in the list will
be added to the JSON Array.
If you specify a body for the tag, then the value of each element in the 'items' list
will be set to the variabled as named by the 'var' attribute. The body will be rendered
for every item in the list.
You may also omit the 'items' collection, and add elements directly to the JSON array within
the body of the tag. Each json:property, json:object and json:array encountered within the body
of the tag will be added to the JSON array sequentially.
array
net.sourceforge.jweb.jstl.json.JsonArrayTag
scriptless
quoto json object property name or not to competiable javascript object, default true
quotoName
false
true
boolean
quoto json object property value or not to competiable javascript object, default true
quotoValue
false
true
boolean
the quoto string used for json, default is '
quotoString
false
true
The name of the array (required if nested within json:object tag)
name
false
true
The name of a page variable that will be set to the item in the list as it is iterated over
var
false
true
A collection, array, or map of items that should be iterated over
items
false
true
java.lang.Object
Should whitespace be trimmed from the beginning and end of String values? (default:true)
trim
false
true
boolean
Should the rendered JSON be nicely formatted and indented? (default:false)
prettyPrint
false
true
boolean
Should special XML characters be escaped? (default:true)
escapeXml
false
true
boolean