Tag Documentation

[tag libraries] [tags]

The following document contains a summary of all theJellytag libraries.

Tag Libraries

[tag libraries] [tags]

LibraryDescription
jelly:dynabean

A tag library for creating new DynaClass and DynaBean objects from the beanutils library

jelly:dynabean

A tag library for creating new DynaClass and DynaBean objects from the beanutils library

Tag NameDescription
dynabeanA tag which conditionally evaluates its body based on some condition
dynaclassA tag which creates and defines and creates a DynaClassThe DynaClass object is placed by name in the context,so that a DynaBean tag can use it by name to instantiatea DynaBean object
propertyDynaProperty tag defines a property of a DynaClassIt can only exist inside a DynaClass parent contextThe properties are added to the properties arrayof the parent context, and will be used tocreate the DynaClass object
setA tag which sets a variable from the result of an expression

Tags

[tag libraries] [tags]

dynabean:dynabean

A tag which conditionally evaluates its body based on some condition

Attribute NameTypeDescription
dynaclassorg.apache.commons.beanutils.DynaClassSets the DynaClass of the new instance to create
escapeTextboolean
trimboolean
varjava.lang.StringSets the name of the variable to export the new DynaBean instance to

dynabean:dynaclass

A tag which creates and defines and creates a DynaClassThe DynaClass object is placed by name in the context,so that a DynaBean tag can use it by name to instantiatea DynaBean object

Attribute NameTypeDescription
escapeTextboolean
namejava.lang.StringSets the name of the new DynaClass
trimboolean
varjava.lang.StringSets the name of the variable to export the DynaClass instance

dynabean:property

DynaProperty tag defines a property of a DynaClassIt can only exist inside a DynaClass parent contextThe properties are added to the properties arrayof the parent context, and will be used tocreate the DynaClass object

Attribute NameTypeDescription
escapeTextboolean
namejava.lang.StringSets the name of this property
propertyClassjava.lang.ClassSets the Class instance for this property
trimboolean
typejava.lang.StringSets the type name of this property

dynabean:set

A tag which sets a variable from the result of an expression

Attribute NameTypeDescription
escapeTextboolean
propertyjava.lang.StringSets the name of the property to set on the target object.
scopejava.lang.StringSets the variable scope for this variable. For example setting this value to 'parent' willset this value in the parent scope. When Jelly is run from inside a Servlet environmentthen other scopes will be available such as 'request', 'session' or 'application'.Other applications may implement their own custom scopes.
targetjava.lang.ObjectSets the target object on which to set a property.
trimboolean
valueorg.apache.commons.jelly.expression.ExpressionSets the expression to evaluate.
varjava.lang.StringSets the variable name to define for this expression