<application-components>
	<!--
		The context of the script is the new instance of the application component
		this = context object
		this.getReadyState() = {int_state}
		this.getObjectType() = {str_type}
		this.getObjectVersion() = {str_version}
		this.getObjectId() = {str_id}
		this.getObjectConfig():{
			pointers:{
			
			},
			status:{
			
			}
		}
		
		this.getContainerId() = {str_id}
		
		A component definition SHOULD use a hash structure, but SHOULD NOT use the requisite opening and closing braces.
		Those are added automatically, and are left out here so that components can be compiled into the enginelater on.
		This uses NOT a valid hash structure, but the contets
		
		
		component_init:function(){
			/* invoked when the component code has been merged with a new application component instance */
		},
		component_destroy:function(){
			/* invoked prior to the window closing, the host container being destroyed, on another request to destroy the component, or when a sigterm signal was sent */
		}
	-->
		
	<application-component id = "demo_component_1" rid = "demo_component_1">
		<![CDATA[

				component_init:function(){
					org.cote.js.message.MessageService.sendMessage("Component definition for " + this.getObjectId() + " loaded","200.3");
				},

				component_destroy:function(){
					org.cote.js.message.MessageService.sendMessage("Component definition for " + this.getObjectId() + " destroyed","200.3");
				}
		]]>
	</application-component>
</application-components>
