Package org.nuclos.api.context
Interface ScriptContext
public interface ScriptContext
Context for scripting expressions.
Retrieve context data by an expression language.
See the following examples
#{[namespace].[entity]}
returns aList
of related contexts (i.e. subforms).#{[namespace].[entity].[field]}
returns the value of a field.#{[namespace].[entity].[field].value}
is equal to#{[namespace].[entity].[field]}
.#{[namespace].[entity].[field].id}
returns the id of a reference field asLong
.#{[namespace].[entity].[field].context}
returns the context of a referenced object asScriptContext
.
- Author:
- thomas.schiffmann
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionmethodMissing
(String name, Object args) propertyMissing
(String name) void
propertyMissing
(String name, Object value)
-
Field Details
-
CANCEL
-
-
Method Details
-
getUsername
String getUsername() -
propertyMissing
-
propertyMissing
-
methodMissing
-