| Version 1 (modified by cfgrok, 16 years ago) |
|---|
What Happened to ViewState?
In Model-Glue 3, the viewstate was deprecated. As of Model-Glue 3, the proper way to get values while you are in a view is through the Event object. You may get a single parameter by using:
<cfset foo = event.getValue("foo") />
You may get multiple parameters in a single statement by using:
<cfset event.copyToScope(variables, "foo,bar,baz") />
![(please configure the [header_logo] section in trac.ini)](/ModelGlue.com/trac.cgi/chrome/site/your_project_logo.png)