All,

This function works properly. How do I say "Where facilitator_id =
arguments.event.getvalue('facilitator_id')"?



        <cffunction name="ListPrograms" access="public" output="false"
returntype="ModelGlue.Core.Event">
                <cfargument name="event" type="ModelGlue.Core.Event" 
required="true">
                        <cfset var local = structnew() />
                        <cfset local.ProgramGateway = 
variables.reactor.createGateway("Program") />
                        <cfset local.query = local.ProgramGateway.createQuery() 
/>
                        <cfset local.query.join("program","facilitator") />
                        <cfset local.query.join("program","coordinator") />
                        <cfset local.programList = 
local.ProgramGateway.getByQuery(local.query) />
                        <cfset 
arguments.event.setValue("Programs",local.ProgramList) />
                <cfreturn  arguments.event />
        </cffunction>



-- Reactor for ColdFusion Mailing List -- [email protected] -- Archives at 
http://www.mail-archive.com/reactor%40doughughes.net/

Reply via email to