Changes between Version 1 and Version 2 of HowTos/HowToUseSearchEngineSafeUrls
- Timestamp:
- 11/20/09 17:31:43 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
HowTos/HowToUseSearchEngineSafeUrls
v1 v2 35 35 In Model-Glue 3, the viewstate object has been deprecated. In previous versions of Model-Glue you would use the Event object within your controllers and any values set into the Event would be copied into the Viewstate object that would be used within the view. These were two different objects that served, to a degree, the same purposes. In Model-Glue 3, the Viewstate still exists but only for backwards compatibility. In new applications you should use the Event object within your views to get values from the event. 36 36 37 The new Event object has a function on it, linkto(), that you can use to build links within your application. This function replaces the traditional use of the "self" an y"myself" viewstate variables. So, within the view, you would create a link like...37 The new Event object has a function on it, linkto(), that you can use to build links within your application. This function replaces the traditional use of the "self" and "myself" viewstate variables. So, within the view, you would create a link like... 38 38 39 39 {{{
![(please configure the [header_logo] section in trac.ini)](/ModelGlue.com/trac.cgi/chrome/site/your_project_logo.png)