Skip to content

Instantly share code, notes, and snippets.

@atuttle
Created September 5, 2012 15:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save atuttle/3638246 to your computer and use it in GitHub Desktop.
Save atuttle/3638246 to your computer and use it in GitHub Desktop.
component extends="taffy.core.api" {
function onTaffyRequest(string verb, string cfc, struct requestArguments, string mimeExt, struct headers) {
local.metadata = getMetadata( getBeanFactory().getBean(arguments.cfc) );
//do stuff with metadata
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment