Changes between Initial Version and Version 1 of FAQs/WhatHappenedToViewState
- Timestamp:
- 12/21/09 17:37:36 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
FAQs/WhatHappenedToViewState
v1 v1 1 == What Happened to !ViewState? == 2 3 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. 4 5 You may get a single parameter by using: 6 7 {{{ 8 <cfset foo = event.getValue("foo") /> 9 }}} 10 11 You may get multiple parameters in a single statement by using: 12 13 {{{ 14 <cfset event.copyToScope(variables, "foo,bar,baz") /> 15 }}}
![(please configure the [header_logo] section in trac.ini)](/ModelGlue.com/trac.cgi/chrome/site/your_project_logo.png)