public final class ScriptRenderingInstance extends ScriptBase
context, properties| Constructor and Description |
|---|
ScriptRenderingInstance(RequestContext context,
ModelObject object)
Instantiates a new script renderer instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected org.springframework.extensions.webscripts.ScriptableMap |
buildProperties() |
String |
getHtmlId()
Gets the html id
|
String |
getId()
Gets the id.
|
ScriptModelObject |
getObject()
Gets the object.
|
Object |
getParameter(String name)
Returns the value of a request parameter
|
String[] |
getParameterNames()
Returns the names of request parameters
|
org.mozilla.javascript.Scriptable |
getParameters()
Returns a scriptable map of name/value pairs
|
getConfig, getObject, getObjectService, getProperties, getRequestContext, toStringpublic ScriptRenderingInstance(RequestContext context, ModelObject object)
context - the render contextprotected org.springframework.extensions.webscripts.ScriptableMap buildProperties()
buildProperties in class ScriptBasepublic ScriptModelObject getObject()
public String getId()
public String getHtmlId()
public String[] getParameterNames()
public Object getParameter(String name)
name - Stringpublic org.mozilla.javascript.Scriptable getParameters()
Copyright © 2005–2016 Alfresco Software. All rights reserved.