Changes between Version 8 and Version 9 of ReferenceMaterials/EventApi

Show
Ignore:
Timestamp:
06/04/10 23:25:12 (16 years ago)
Author:
davidhenry@… (IP: 74.203.101.252)
Comment:

Added horizontal lines between sections for readability

Legend:

Unmodified
Added
Removed
Modified
  • ReferenceMaterials/EventApi

    v8 v9  
    77This 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. 
    88 
     9---- 
    910== !AddResult(name:string) == 
    1011 
     
    1920Name (Required) - The name of the result to add 
    2021 
     22---- 
    2123== !AddTraceStatement(name:string, value:any) == 
    2224 
     
    3537Value (Required) - The value to display in the debugging trace. If a complex value is passed, the result of its <cfdump> is displayed. 
    3638 
     39---- 
    3740== !ArgumentExists(string:name) == 
    3841 
     
    4952Name (required) - The name of the argument to check 
    5053 
     54---- 
    5155== !CopyToScope(scope:struct, listOfEventKeys:string [,arrayOfDefaults:array]) == 
    5256 
     
    7983}}} 
    8084 
     85---- 
    8186== Forward(eventhandler:string [, append:list]) == 
    8287 
     
    103108}}} 
    104109 
     110---- 
    105111== !GetAllArguments() == 
    106112 
     
    117123None 
    118124 
     125---- 
    119126== !GetAllValues() == 
    120127 
     
    131138None 
    132139 
     140---- 
    133141== !GetArgument(name:string [, default:any]) == 
    134142 
     
    165173 
    166174 
     175---- 
    167176== !GetValue(name:string [, default:any]) == 
    168177 
     
    181190Default (optional) - If the value does not exist, a default value to set into the event context and then return 
    182191 
     192---- 
    183193== !GetView(name:string) == 
    184194 
     
    195205Name (required) - The name of the view to retrieve 
    196206 
     207---- 
    197208== !LinkTo(eventName:string, [append:list], [anchor:string]) == 
    198209 
     
    232243http://model-glue.com/index.cfm?event=Entry.Form&EntryID=75 
    233244 
     245---- 
    234246== !MakeEventBean(type:any, [fields:list]) == 
    235247 
     
    248260Fields (Optional) - If a list of fields is passed, it will only attempt to set the properties listed. 
    249261 
     262---- 
    250263== !SetValue(name:string, value:any) == 
    251264 
     
    265278 
    266279 
     280---- 
    267281== !ValueExists(name:string) == 
    268282