Changes between Version 2 and Version 3 of QuickStart/3:BuildingaForm
- Timestamp:
- 05/28/09 20:53:57 (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
QuickStart/3:BuildingaForm
v2 v3 23 23 Whenever you're writing a .CFM view, there are two variables always available: "viewstate" and "viewcollection." We'll get to viewcollection in a bit, but here's the rundown on viewstate: 24 24 25 It contains all the variables FORM and URL scopes as well as any other values added by the framework, like a query from a database or (big surprise) the translated version of the phrase that we're asking t ouser to enter.25 It contains all the variables FORM and URL scopes as well as any other values added by the framework, like a query from a database or (big surprise) the translated version of the phrase that we're asking the user to enter. 26 26 27 27 To get to one of the variables, you ask the viewstate variable to "get its value" with the getValue() function.
![(please configure the [header_logo] section in trac.ini)](/ModelGlue.com/trac.cgi/chrome/site/your_project_logo.png)