Template Engine

Class RenderingController

Extends:
EventDispatcher
Requires:
Class
Event
ErrorEvent
EventDispatcher
DriverManager
DriverAbstract
TemplateManager
Defined in:
RenderingController.js

RenderingController Responsible for holding and parsing configuration.

Constructor

RenderingController(configuration)

Static Fields

Field
RenderingController.ERROR
[constant]
RenderingController.RENDERED
[constant]

Methods

Method
Inherited from EventDispatcher
addEventListener(type, callbackFunction, context)
Adding listener
Adds event listeners to the given templateManager and holds it
Inherited from EventDispatcher
Dispatches event
Inherited from EventDispatcher
Checks if given event type listener is registered
Inherited from EventDispatcher
Remove group of listeners or all listeners
Inherited from EventDispatcher
removeEventListener(type, callbackFunction)
Remove listener
render()
Executing rendering flow.
Class Detail
RenderingController(configuration)
Parameters (optional)
configuration {Object} Rendering configuration
Throws:
{RenderingController.Exception.WRONG_CONFIGURATION} if given configuration isn't valid - is null or is'nt Object or Array.
Static Field Details
RenderingController.ERROR
[constant]
RenderingController.RENDERED
[constant]
Method Details
addTemplateManager(manager)
Adds event listeners to the given templateManager and holds it
Parameters (optional)
manager {TemplateManager}
render()
Executing rendering flow. Creates TemplateManager instances, adds templates, creates drivers and fetches them
Throws:
{RenderingController.Exception.NO_REMOTE_DRIVER} if given transformation rule has declared remote driver use #data but no driver field is declared.
Documentation generated by JsDoc Toolkit 2.4.0 on Wed Aug 17 2011 15:33:34 GMT+0200 (CEST)