Well, this is what I've done to get my views that I needed. I copied
the executeEvent method to my web service cfc that extends
AbstractRemotingService.cfc so I didn't have to hack the original.
This seems like it might be logical to add to the original.
Added the argument returnViews which works identically to
returnValues.
<cfargument name="returnViews" type="string" required="false"
default="" />
Added a returnValue named viewCollection which is a struct containing
the views requested in arguments.returnViews. I only add
viewCollection if at least one view is requested.
<cfif listlen(arguments.returnViews)>
<cfset local.result['viewCollection'] = structNew() />
<cfloop list="#arguments.returnViews#" index="local.i">
<cfset local.result.viewcollection[local.i] =
local.event.getView
(local.i) />
</cfloop>
</cfif>
Bud
--
Model-Glue Sites:
Home Page: http://www.model-glue.com
Documentation: http://docs.model-glue.com
Bug Tracker: http://bugs.model-glue.com
Blog: http://www.model-glue.com/blog
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