Changes between Version 8 and Version 9 of ReferenceMaterials/EventApi
- Timestamp:
- 06/04/10 23:25:12 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ReferenceMaterials/EventApi
v8 v9 7 7 This CFC contains a series of functions known as the Event API that are useful to getting and setting values in the viewstate as well as event-related utilities. 8 8 9 ---- 9 10 == !AddResult(name:string) == 10 11 … … 19 20 Name (Required) - The name of the result to add 20 21 22 ---- 21 23 == !AddTraceStatement(name:string, value:any) == 22 24 … … 35 37 Value (Required) - The value to display in the debugging trace. If a complex value is passed, the result of its <cfdump> is displayed. 36 38 39 ---- 37 40 == !ArgumentExists(string:name) == 38 41 … … 49 52 Name (required) - The name of the argument to check 50 53 54 ---- 51 55 == !CopyToScope(scope:struct, listOfEventKeys:string [,arrayOfDefaults:array]) == 52 56 … … 79 83 }}} 80 84 85 ---- 81 86 == Forward(eventhandler:string [, append:list]) == 82 87 … … 103 108 }}} 104 109 110 ---- 105 111 == !GetAllArguments() == 106 112 … … 117 123 None 118 124 125 ---- 119 126 == !GetAllValues() == 120 127 … … 131 138 None 132 139 140 ---- 133 141 == !GetArgument(name:string [, default:any]) == 134 142 … … 165 173 166 174 175 ---- 167 176 == !GetValue(name:string [, default:any]) == 168 177 … … 181 190 Default (optional) - If the value does not exist, a default value to set into the event context and then return 182 191 192 ---- 183 193 == !GetView(name:string) == 184 194 … … 195 205 Name (required) - The name of the view to retrieve 196 206 207 ---- 197 208 == !LinkTo(eventName:string, [append:list], [anchor:string]) == 198 209 … … 232 243 http://model-glue.com/index.cfm?event=Entry.Form&EntryID=75 233 244 245 ---- 234 246 == !MakeEventBean(type:any, [fields:list]) == 235 247 … … 248 260 Fields (Optional) - If a list of fields is passed, it will only attempt to set the properties listed. 249 261 262 ---- 250 263 == !SetValue(name:string, value:any) == 251 264 … … 265 278 266 279 280 ---- 267 281 == !ValueExists(name:string) == 268 282
![(please configure the [header_logo] section in trac.ini)](/ModelGlue.com/trac.cgi/chrome/site/your_project_logo.png)