Cool. That's what I would have thought. So, if the ProjectID:1 get
passes to the "values" struct in the executeEvent function of
AbstractRemotingService.cfc, where does ProjectID get written to the
event structure? I'm accessing as:
arguments.event.getValue("ProjectID")
Thanks,
Byron
On Nov 20, 3:30 pm, John Mason <[email protected]> wrote:
> Yes, the ProjectID:1 would be a generic object in Flex and Javascript but a
> structure in CF.
>
> John
> [email protected]
> twitter: john_mason_
>
> On Fri, Nov 20, 2009 at 2:36 PM, byron <[email protected]> wrote:
> > John/Ezra,
>
> > I've played some more with this. I enabled the Network Monitor in
> > Flash Builder and ran my page. The request returned the following:
>
> > Flex Message (flex.messaging.messages.RemotingMessage) operation =
> > executeEvent parameters = [requests.ListRequests, ASObject(13596299)
> > {ProjectID=1}, qryRequests] clientId = null destination =
> > ColdFusion messageId = 4419C112-0C2F-8FDD-FBE7-1310F4490E6C
> > timestamp = 0 timeToLive = 0 body = null hdr(DSId) = 838C656D-
> > E519-2D99-EB43-33006BF2865F hdr(DSEndpoint) = my-cfamf
>
> > In the remoting cfc, it is expecting a struct. When the call is made
> > does Flex or CF change the {ProjectID:1} into a struct? Getting
> > beyond my knowledge. It looks like this functionality is not there
> > (or I'm missing something).
>
> > Thanks in advance.
>
> > Byron
>
> > On Nov 17, 12:12 am, John Mason <[email protected]> wrote:
> > > Ezra, let me know if I need to look at this. I guess I may have been the
> > > last one to add code to this functionality.
>
> > > thanks,
> > > John
> > > [email protected]
>
> > > On Tue, Nov 17, 2009 at 12:08 AM, Ezra Parker <[email protected]> wrote:
> > > > I think you may have found a bug -- I'm investigating this, and will
> > > > get back to you shortly.
>
> > > > --
> > > > Ezra Parker
>
> > > > On Mon, Nov 16, 2009 at 6:23 PM, byron <[email protected]> wrote:
> > > > > HI all. At next stage.
>
> > > > > I'm trying to pass variables as follows.
>
> > > > > //call Model-Glue Remoting Service cfc
> > > > > mgrs.executeEvent("requests.ListRequests",{ProjectID:
> > > > > 1},"qryRequests");
>
> > > > > From what I understand, this should send Project=1 to the event.
> > > > > However, it looks like it is not being passed. I get the full query,
> > > > > not just where ProjectID = 1.
>
> > > > > Not sure what I need to show or what I should be checking for.
>
> > > > > Any thoughts?
>
> > > > > Thanks
>
> > > > > Byron
>
> > > > > --
> > > > > 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]<model-glue%[email protected]>
> > <model-glue%[email protected]<model-glue%[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]<model-glue%[email protected]>
> > <model-glue%[email protected]<model-glue%[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]<model-glue%[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