Skip to content

Instantly share code, notes, and snippets.

@bdcravens
Created September 2, 2012 05:28
Show Gist options
  • Save bdcravens/3595078 to your computer and use it in GitHub Desktop.
Save bdcravens/3595078 to your computer and use it in GitHub Desktop.
Railo event gateway with defaults
<cfset id="???"><!--- a dummy value - never used --->
<cfif structKeyExists(form,'_id')>
<cfset id = form['_id']>
</cfif>
<cfset variables.fields = array(
field("Queue name", "queuename", "#id#", true, "The queue to listen to", "text"),
field("Interval (seconds)","interval","60",true,"The interval between checks, in seconds","text")
) />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment