Hi Kevin, The AbstractRemotingService has been updated to correct that particular problem, and to fix a couple of other issues as well. To use the most up-to-date version, please download the 3.1 maintenance release beta (version 3.1.261):
http://www.model-glue.com/coldfusion.cfm -- Ezra Parker On Mon, Feb 8, 2010 at 9:56 PM, Kevin Penny <[email protected]> wrote: > Maybe I'm missing something obvious, but I have an existing MG event > say entry.delete that calls my entryController etc. > > I'm exposing these events via RemotingService.cfc as documented in the > MG wiki. > > However, when I'm passing in my 'url' values as arguments in a call > (entryid) of say: > RemotingService.cfc? > method=executeEvent&eventName=entry.delete&entryid=C04D3009-98F0-D25F- > CCC0B0C67C0B6C16&returnformat=json&returnvalues=result > > and wish to get the 'entryid' in my controller, it comes through as > emptystring. > > As you can't really pass a structure through the URL in a 'get' > request, I added this to the AbstractRemotingService.cfc > <cfif cgi.request_method eq "post"> > <cfset arguments.values = duplicate(form)/> > --><cfelseif cgi.request_method eq "get"> > --> <cfset StructAppend(arguments.values,duplicate(url))> > </cfif> > > This made sure the values passed through the URL during a 'get' > request were in fact available in my Controller through the standard > arguments.event.getValue('entryid') call. > > Is this missing from the AbstractRemotingService or was this this by > design some how? > > Thanks > > -- > 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 > -- 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
