Hi Jamie,

Looks like Ray's webserver has gone flakey again as riaforge.org is also
down with the same error.

I've got a recent (last week) checkout from SVN and the method your after is
included in the EventContext.cfc

<cffunction name="copyToScope" output="false" access="public"
returntype="void" hint="I copy values from the event into the desired
scope">
    <cfargument name="scope" type="struct" required="true"/>
    <cfargument name="ListOfEventKeys" type="string" default="true"/>
    <cfargument name="ArrayOfDefaults" type="array"
default="#arrayNew(1)#"/>

in Unity, views referenced values set in the controller through a variable
called "viewstate" , but in Gesture both controllers and views use "event"
for consistency.  viewstate is still available in Gesture  views, its just a
reference to the event object

Cheers, Chris

2008/11/18 Jamie Krug <[EMAIL PROTECTED]>

>
> Hi, all,
>
> I have a couple MG Gesture questions and also wanted to alert Joe/
> others of the site being down.
>
> I figured I'd post this here as a heads up since I'm not sure how to
> contact Joe, as his firemoss.com site it down too... I'm getting the
> following error at http://www.model-glue.com/ this morning:
> > Connection Interrupted
> > The connection to the server was reset while the page was loading.
> > The network link was interrupted while negotiating a connection. Please
> try again.
>
> I do also have a MG question. I went to the site in search of a blog
> post regarding a Gesture feature, and I believe the method was
> copyToScope() or something like that. It allowed you to specify a list
> of event values to copy to another scope, like variables, to clean up
> code in your views. Can anyone confirm the method name and syntax?
> There was also a way to specify default values. Also, does anyone know
> if this is in the Gesture alpha build? I'm pretty sure I tried it once
> before and the method wasn't found -- do I need a BER release?
>
> Finally, one more slightly related (views-related) question... I've
> read examples that reference an event object in views and others that
> reference the viewstate (e.g., foo=viewstate.getValue('foo');). Do
> these reference the same object? If not, what is the difference? If
> so, is viewstate a best practice and why (just naming convention)?
>
> Thanks!
> Jamie
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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 .
-~----------~----~----~----~------~----~------~--~---

Reply via email to