in MG3 the viewstate is gone.  the event is the same in the controller
and in the view.

On Feb 18, 9:38 am, David Mineer <[email protected]> wrote:
> Thank you.  That makes sense.  For some reason I didn't realize you could
> mess with the event object in the view.
>
> On Wed, Feb 18, 2009 at 5:55 AM, Sean Coyne <[email protected]> wrote:
>
> > The value ID must be set into the event first.
>
> > so if you have a local variable called ID already set, just set it in
> > the event right in the view.
> > <cfset id = 1 />
> > <cfset event.setvalue('id',id) />
> > <cfoutput><a href="#event.linkTo('some.event','id')#">Link</a></
> > cfoutput>
>
> > This will create a link like /?event=some.event&id=1
>
> > Sean
>
> > --
> > David Mineer Jr
> > ---------------------
> > The critical ingredient is getting off your
> > butt and doing something. It's as simple
> > as that. A lot of people have ideas, but
> > there are few who decide to do
> > something about them now. Not
> > tomorrow. Not next week. But today.
> > The true entrepreneur is a doer.
>
>
--~--~---------~--~----~------------~-------~--~----~
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