Skip to content

Instantly share code, notes, and snippets.

@bga
Created June 18, 2010 15:14
Show Gist options
  • Save bga/443767 to your computer and use it in GitHub Desktop.
Save bga/443767 to your computer and use it in GitHub Desktop.
FormsEngine.WcmController = function() {
this.type = "ECM";
};
FormsEngine.WcmController.prototype.downloadTypeTaxonomyInst = function(siteId) {
return "hello " +siteId;
};
var controller = new FormsEngine.WcmController();
controlller.onLoad = function() {
modelContainer.addModel("downloadTypes-instance", this.downloadTypeTaxonomyInst("test"));
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment