/examples/api_anythingtoxml/Application.cfc
http://github.com/atuttle/Taffy · ColdFusion CFScript · 16 lines · 11 code · 5 blank · 0 comment · 0 complexity · c768917c9a9a69ecf17fe75b470f9d97 MD5 · raw file
- <cfcomponent extends="taffy.core.api">
- <cfscript>
- this.name = hash(getCurrentTemplatePath());
- variables.framework = {};
- variables.framework.serializer = "taffy.bonus.AnythingToXmlRepresentation";
- function onApplicationStart(){
- application.anythingToXml = createObject("component", "anythingtoxml.AnythingToXML").init();
- return super.onApplicationStart();
- }
- </cfscript>
- </cfcomponent>