| Type | Name and description |
|---|---|
java.util.Map |
attrsThe attributes passed to the tag library |
java.util.Map |
dataModelThe current data model item being rendered |
java.lang.Object |
outUsed to render the results |
ModelJSTagLib.JSModelRenderContext |
parentContext |
java.lang.String |
propertyPathThe path to the field that will hold the value for the data model item relative to the current view model code being rendered. |
java.lang.String |
viewModelPathHow the level view model object can be referenced. |
| Type Params | Return Type | Name and description |
|---|---|---|
|
ModelJSTagLib.JSModelRenderContext |
createChildContext() |
|
java.lang.String |
fieldName() |
|
java.util.Map |
viewModel()The view model definition that relates to the current data model item |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
The attributes passed to the tag library
The current data model item being rendered
Used to render the results
The path to the field that will hold the value for the data model item relative to the current view model code being rendered. E.g top level properties are held in a data object, so the path is "self.data". Properties in an object being rendered in a list are at the top level so the path is "self"
How the level view model object can be referenced. For top level fields, the path is "self", for nested fields, the path is "parent"
The view model definition that relates to the current data model item