Hi,
I have placed this code in my controller:
<cffunction name="getTransfer" returntype="any" output="false">
<cfset transfer = getModelGlue().getORMService().getTransfer
() />
<cfreturn transfer />
</cffunction>
and modified the onRequestStart in the same controller to include
these lines:
<cfset transfer = getTransfer() />
<cfset event.setValue("getTransfer", transfer) />
then in my view I might do this:
<cfset employees = viewstate.getValue("getTransfer").list("employee",
"lastname")>
and then use employees as a query.
I am happy with this, but I was wondering if anyone is doing this any
other way and whether there is some opinions on how to acheive this
best.
Regards
Dave
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "model-glue" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/model-glue?hl=en
For more about Model-Glue, check http://www.model-glue.com .
-~----------~----~----~----~------~----~------~--~---