Engine for Web Applications

org.cote.js.dwac

Class Index

static org.cote.js.dwac.DistributedComponent

version 2.0.0

Static initializer for DWAC objects. DWAC objects are special constructs of Application Components.

This class participates in the engine library.

Index

Method Index

Methods

newInstance

Syntax

d = newInstance( o, u, t, k, i )

Parameters

Returns

d as DWACInstance: Instance of an ApplicationComponent instrumented with the DWAC loader.

org.cote.js.dwac.DistributedComponentInstance

version 2.0.0

An Application Component instance decorated with the DWAC loading modifiers.

This class participates in the engine library.

Index

Example Index

Examples

Create a new DWAC Instance #1

Demonstrate how a DWAC can be used.

Example Code

<div id = "oExampleDiv"></div>
<script type = "text/javascript">
window.onload = function(){
   var oDWAC = org.cote.js.dwac.DistributedComponent.newInstance(;
      document.getElementById("oExampleDiv")
      ,"/Path/To/Dwac.xml"
      ,"Example Template 1"
   );
}
</script>