The following Jelly tag libraries are defined in this project.
jelly:dynabean
A tag library for creating new DynaClass and DynaBean objects from the library.
This tag library is also available as an XML Schema
Tag Name | Description |
---|---|
dynabean | A tag which conditionally evaluates its body based on some condition |
dynaclass | A tag which creates and defines and creates a DynaClass The DynaClass object is placed by name in the context, so that a DynaBean tag can use it by name to instantiate a DynaBean object |
property | DynaProperty tag defines a property of a DynaClass It can only exist inside a DynaClass parent context The properties are added to the properties array of the parent context, and will be used to create the DynaClass object |
set | A tag which sets a variable from the result of an expression |
dynabean
A tag which conditionally evaluates its body based on some condition
Attribute Name | Type | Description |
---|---|---|
dynaclass | org.apache.commons.beanutils.DynaClass | Sets the DynaClass of the new instance to create |
var | java.lang.String | Sets the name of the variable to export the new DynaBean instance to |
dynaclass
A tag which creates and defines and creates a DynaClass The DynaClass object is placed by name in the context, so that a DynaBean tag can use it by name to instantiate a DynaBean object
Attribute Name | Type | Description |
---|---|---|
name | java.lang.String | Sets the name of the new DynaClass |
var | java.lang.String | Sets the name of the variable to export the DynaClass instance |
property
DynaProperty tag defines a property of a DynaClass It can only exist inside a DynaClass parent context The properties are added to the properties array of the parent context, and will be used to create the DynaClass object
Attribute Name | Type | Description |
---|---|---|
name | java.lang.String | Sets the name of this property |
propertyClass | java.lang.Class | Sets the Class instance for this property |
type | java.lang.String | Sets the type name of this property |
set
A tag which sets a variable from the result of an expression
Attribute Name | Type | Description |
---|---|---|
property | java.lang.String | Sets the name of the property to set on the target object. |
scope | java.lang.String | Sets the variable scope for this variable. For example setting this value to 'parent' will set this value in the parent scope. When Jelly is run from inside a Servlet environment then other scopes will be available such as 'request', 'session' or 'application'. Other applications may implement their own custom scopes. |
target | java.lang.Object | Sets the target object on which to set a property. |
value | org.apache.commons.jelly.expression.Expression | Sets the expression to evaluate. |
var | java.lang.String | Sets the variable name to define for this expression |