isUsePatternMarkupToRender() Informs whether dom utils and components use by default the original
(saved as pattern) markup to render.
public void
registerArtifact(String name, Object value) Registers an artifact with the specified name.
Parameters: name - the artifact name Parameters: value - the artifact.
setFastLoadMode(boolean fastLoadMode) Sets whether fast load mode is used.
public void
setFrameworkScriptFilesBasePath(String path) Returns the relative web path where the necessary framework JavaScript files are located.
This path only has sense if framework files are included automatically.
public void
setLoadScriptInline(boolean value) Sets the initial JavaScript code is sent inline into the loaded page
or is loaded externally.
public void
setNodeCacheEnabled(boolean enable) Sets whether the speed oriented node cache is enabled.
public void
setReferrerEnabled(boolean enabled) Sets whether referrer feature is enabled by default.
public void
setReferrerPushEnabled(boolean enabled) Sets whether referrer "push" feature is enabled by default.
Adds a remote control listener to this template. This listener is called when a remote view/control
is requested to control a document loaded using this template.
The listener is called before calling the document registered listener counterparts (if defined).
Returns the relative web path directory where the necessary framework JavaScript files are located.
This path only has sense if framework files are included automatically.
For instance: is the path is "js" framework files must be located in:
http://://js
Informs whether components are build automatically using the necessary
markup declarations.
If this feature is enabled any component registered
into the component manager and associated to a DOM element
being removed from the tree is removed and disposed automatically.
Sets the default timeout of asynchronous AJAX events.
Parameters: timeout - the new timeout. If negative no timeout is defined. See Also:DocumentTemplate.getAJAXTimeout()
setAddFrameworkScriptFiles
public void setAddFrameworkScriptFiles(boolean value)(Code)
Sets whether the necessary framework JavaScript files are included
into the page automatically.
Parameters: value - true to include the framework files automatically. See Also:DocumentTemplate.isAddFrameworkScriptFiles()
setAutoBuildComponents
public void setAutoBuildComponents(boolean value)(Code)
Sets whether components are build automatically using the necessary
markup declarations.
Parameters: value - true to enable automatic component build. See Also:DocumentTemplate.isAutoBuildComponents()
setAutoCleanEventListeners
public void setAutoCleanEventListeners(boolean enabled)(Code)
Sets whether the auto clean event listeners mode is enabled.
Parameters: enabled - if auto clean event listeners is enabled. See Also:DocumentTemplate.isAutoCleanEventListeners()
public void setFastLoadMode(boolean fastLoadMode)(Code)
Sets whether fast load mode is used.
Parameters: fastLoadMode - true to enable fast load. See Also:DocumentTemplate.isFastLoadMode()
setFrameworkScriptFilesBasePath
public void setFrameworkScriptFilesBasePath(String path)(Code)
Returns the relative web path where the necessary framework JavaScript files are located.
This path only has sense if framework files are included automatically.
Parameters: path - the relative web path of framework files. See Also:DocumentTemplate.isAddFrameworkScriptFiles()
setLoadScriptInline
public void setLoadScriptInline(boolean value)(Code)
Sets the initial JavaScript code is sent inline into the loaded page
or is loaded externally.
Parameters: value - true to sent inline. See Also:DocumentTemplate.isLoadScriptInline()
setNodeCacheEnabled
public void setNodeCacheEnabled(boolean enable)(Code)
Sets whether the speed oriented node cache is enabled.
Parameters: enable - true to enable node cache. See Also:DocumentTemplate.isNodeCacheEnabled()
setReferrerEnabled
public void setReferrerEnabled(boolean enabled)(Code)
Sets whether referrer feature is enabled by default.
Parameters: enabled - if referrer is enabled. See Also:DocumentTemplate.isReferrerEnabled()
setReferrerPushEnabled
public void setReferrerPushEnabled(boolean enabled)(Code)
Sets whether referrer "push" feature is enabled by default.
Parameters: enabled - if referrer "push" is enabled. See Also:DocumentTemplate.isReferrerPushEnabled()
setScriptingEnabled
public void setScriptingEnabled(boolean enabled)(Code)
Sets whether JavaScript is enabled.
If JavaScript is disabled then AJAX is disabled too.
public void setUsePatternMarkupToRender(boolean value)(Code)
Sets whether dom utils and components use by default the original
(saved as pattern) markup to render.
Parameters: value - true to enable the use of original markup to render. See Also:DocumentTemplate.isUsePatternMarkupToRender()