<?xml version="1.0" encoding="utf-8" ?>
<engine-configurations>
	<configuration id = "WindowManager">
		<manager rid = "manager" />
	</configuration>
  <configuration id = "SetupEntry">
    <import-xml src ="Templates/SetupEntry.xml" id ="SetupEntry" />
  </configuration>
  <!--
		Definition ids should be lowercase, even if referenced nodes are mixed case
  -->
	<object-definitions>
		<!--
			manager is bound to engine object, and only one app component may be bound to
			an object in the latest version of Engine.
		-->
		<definition id="session">
			<implementation swap-name = "span">
				<package pid="org.cote.js.appcomp.ApplicationComponent" />
				<constructor name="bindComponent">
					<param value = "ora:element_context" />
					<param value = "ora:rid_attr" />
					<param value="Gizmos/component.session.xml" />
				</constructor>
			</implementation>
		</definition>
		<definition id="manager">
			<implementation swap-name = "span">
				<package pid="org.cote.js.appcomp.ApplicationComponent" />
				<constructor name="bindComponent">
					<param value = "ora:engine_object" />
					<param value = "ora:rid_attr" />
					<param value="Gizmos/component.manager.xml" />
				</constructor>
			</implementation>
		</definition>
		<definition id="import-dxml">
			<implementation context-switch = "1" context-path = "ora:context-path_attr" swap-name = "span">
				<package pid="org.cote.js.xml" />
				<constructor name="getXml">
					<param value="ora:src_attr" />
					<param value="ora:integer_0" />
					<param value="ora:integer_0" />
					<param value="ora:id_attr" />
					<param value="ora:integer_1" />
				</constructor>
			</implementation>
		</definition>
		<definition id="import-xml">
			<implementation context-switch = "1" context-path = "/html-fragment" swap-name = "span">
				<package pid="org.cote.js.xml" />
				<constructor name="getXml">
					<param value="ora:src_attr" />
					<param value="ora:integer_0" />
					<param value="ora:integer_0" />
					<param value="ora:id_attr" />
					<param value="ora:integer_1" />
				</constructor>
			</implementation>
		</definition>
		<definition id = "template">
			<implementation abstract = "1" />
		</definition>
		<definition id = "html-fragment">
			<implementation abstract = "1" />
		</definition>
		<definition id = "fragment">
			<implementation abstract = "1" context-switch = "1" swap-name = "div" />
		</definition>
		<definition id = "component-fragment">
			<matdef rid = "h3" />
			<matdef rid = "p" />
			<matdef rid = "span" />
			<matdef rid = "div" />
			<matdef rid = "canvas" />
			<matdef rid = "input" />
			<matdef rid = "form" />
			<matdef rid = "iframe" />
			<matdef rid = "select" />
			<matdef rid = "textarea" />
			<matdef rid = "table" />
			<matdef rid = "tbody" />
			<matdef rid = "tr" />
			<matdef rid = "td" />
			<implementation>
				<package pid = "org.cote.js.xhtml.XHTMLComponent" />
				<constructor name = "newInstance">
					<param value="ora:parent_element" />
					<param value="ora:node_context" />
					<param value="ora:rid_attr" />
					<param value="ora:engine_id" />
					<param value = "org.cote.js.xhtml.form.XHTMLFormComponent" />
					<param value="ora:integer_0" />
					<param value="ora:integer_0" />
					<!--
					<param value="Gizmos/application_components.xml" />
					-->
					<param value="ora:engine_config" />
				</constructor>
			</implementation>
		</definition>
	</object-definitions>
</engine-configurations>
