Dan, I uploaded this file. It did cure the undefined form problem.
However, there are still errors being generated, and I figured out
where. It when one of the views is being rendered. I add some event
values in the OnRequestStart method of the main controller which I use
in the views. One is an array of messages which I'll populate as
necessary. It seems that the OnRequestStart method is not running
because none of the event values I create in OnRequestStart exist when
I run the event remotely. They exist fine when I call the event
normally.

Am I missing something here?

Thanks,
Bud

On Jan 14, 11:20 am, Dan Wilson <[email protected]> wrote:
> Bud, would you mind testing something for me?
>
> Replace your AbstractRemotingService
> (/ModelGlue/gesture/remoting/AbstractRemotingService.cfc)  with this one:
>
> http://modelglue.pastebin.com/m5d3b33cb
>
> Then rerun the code and let me know if that fixes the issue.
>
> DW
>
>
>
> On Thu, Jan 14, 2010 at 10:58 AM, Bud <[email protected]> wrote:
> > Can someone give me some straight forward steps for creating web
> > service to run against my Model-Glue app? The documentation I've found
> > on using RemotingService.cfc (http://docs.model-glue.com/wiki/HowTos/
> > HowToUseRemoting) hasn't worked for me.
>
> > Error: "form is not defined" is being generated from the
> > AbstractRemotingService.cfc. If I check for isDefined('form') then I
> > get this error:
>
> > "You have attempted to dereference a scalar variable of type class
> > java.lang.String as a structure with members."
>
> > That's being generated from the getModelGlue().executeEvent
> > (argumentCollection=arguments) call in the same file.
>
> > Ya know, I've spent 10 years with CF, all the time thinking I'm
> > getting smarter, then I try to get into this MVC type development and
> > I just feel like I'm back to being stupid again. :)
>
> > --
> > 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
>
> --
> “Come to the edge, he said. They said: We are afraid. Come to the edge, he
> said. They came. He pushed them and they flew.”
>
> Guillaume Apollinaire quotes
-- 
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

Reply via email to