Inherited by ERXStatelessInlineTemplate.

Classes | |
| class | CacheEntry |
| class | Error |
Public Member Functions | |
| void | appendToResponse (WOResponse woresponse, WOContext wocontext) |
| boolean | defaultToDynamicBindings () |
| String | errorTemplate () |
| ERXInlineTemplate (WOContext context) | |
| boolean | proxyParent () |
| void | takeValueForKey (Object obj, String s) |
| void | takeValueForKeyPath (Object value, String keyPath) |
| WOElement | template () |
| Object | valueForKey (String s) |
| Object | valueForKeyPath (String keyPath) |
Protected Attributes | |
| Error | _deferredError = null |
Private Member Functions | |
| WOElement | _template () |
Static Private Attributes | |
| static NSMutableDictionary < String, CacheEntry > | _cache = ERXMutableDictionary.synchronizedDictionary() |
| static final String | CACHE_KEY_BINDING = "cacheKey" |
| static final String | CACHE_VERSION_BINDING = "cacheVersion" |
| static final String | DEFAULT_TO_DYNAMIC_BINDINGS_BINDING = "defaultToDynamicBindings" |
| static final String | ERROR_TEMPLATE_BINDING = "errorTemplate" |
| static final String | ERROR_TEMPLATE_DEFAULT = "<div class=\"ERXInlineTemplateError\" style=\"background-color: #faa; border: 2px dotted red;\">@@message@@</div>" |
| static Logger | log = Logger.getLogger(ERXInlineTemplate.class) |
| static final String | PROXY_PARENT_BINDING = "proxyParent" |
| static final String | TEMPLATE_HTML_BINDING = "html" |
| static final String | TEMPLATE_WOD_BINDING = "wod" |
html HTML-part of the component (required) wod WOD-part of the component (optional) cacheKey Key under which to cache the WOElement (optional) cacheVersion Hint to determine if the cached object is up-to-date (optional) errorTemplate Template to use for displaying error messages. Uses ERXSimpleTemplateParser for display. Method name and HTML-escaped message are provided by the "method" and "message" keys. (optional) proxyParent whether to proxy key path lookup to the parent (default is false) defaultToDynamicBindings whether to use dynamicBindings for unknown keys (default is true)
| ERXInlineTemplate | ( | WOContext | context | ) |
| WOElement _template | ( | ) | [private] |
| void appendToResponse | ( | WOResponse | response, | |
| WOContext | context | |||
| ) |
Calls resetCachedBindingsInStatefulComponent prior to super.appendToResponse.
| response | to which we are appending | |
| context | context of the response |
Reimplemented from ERXNonSynchronizingComponent.
| boolean defaultToDynamicBindings | ( | ) |
| String errorTemplate | ( | ) |
| boolean proxyParent | ( | ) |
| void takeValueForKey | ( | Object | obj, | |
| String | s | |||
| ) |
| void takeValueForKeyPath | ( | Object | value, | |
| String | keyPath | |||
| ) |
| WOElement template | ( | ) |
| Object valueForKey | ( | String | s | ) |
| Object valueForKeyPath | ( | String | keyPath | ) |
NSMutableDictionary<String, CacheEntry> _cache = ERXMutableDictionary.synchronizedDictionary() [static, private] |
Error _deferredError = null [protected] |
final String CACHE_KEY_BINDING = "cacheKey" [static, private] |
final String CACHE_VERSION_BINDING = "cacheVersion" [static, private] |
final String DEFAULT_TO_DYNAMIC_BINDINGS_BINDING = "defaultToDynamicBindings" [static, private] |
final String ERROR_TEMPLATE_BINDING = "errorTemplate" [static, private] |
final String ERROR_TEMPLATE_DEFAULT = "<div class=\"ERXInlineTemplateError\" style=\"background-color: #faa; border: 2px dotted red;\">@@message@@</div>" [static, private] |
Logger log = Logger.getLogger(ERXInlineTemplate.class) [static, private] |
final String PROXY_PARENT_BINDING = "proxyParent" [static, private] |
final String TEMPLATE_HTML_BINDING = "html" [static, private] |
final String TEMPLATE_WOD_BINDING = "wod" [static, private] |
1.5.8