Changes between Version 5 and Version 6 of HowTos/HowToUseScaffolds/AddingSpecificEventHandlers

Show
Ignore:
Timestamp:
12/22/09 23:24:10 (16 years ago)
Author:
Chuck Savage <chuck@…> (IP: 71.56.239.159)
Comment:

should'a added this elsewhere

Legend:

Unmodified
Added
Removed
Modified
  • HowTos/HowToUseScaffolds/AddingSpecificEventHandlers

    v5 v6  
    3232</scaffold> 
    3333}}} 
    34  
    35 == Using the EVENT-TYPE attribute == 
    36  
    37 For a given scaffold tag, you may specify the list of event-types to apply to each event-handler tag created by the scaffold tag.  This is especially useful for applying functionality such as security automatically to your generated event handlers. 
    38  
    39 {{{ 
    40 <scaffold object="contact" type="list,view" event-type="Admin,Sidebar,MainTemplate" /> 
    41 }}} 
    42  
    43 Results in two event-handler's with their main tag like those below: 
    44  
    45 {{{ 
    46 <event-handler name="contact.list" type="Admin,Sidebar,MainTemplate" /> 
    47 <event-handler name="contact.view" type="Admin,Sidebar,MainTemplate" /> 
    48 }}} 
    49