Dashboard > OverDrive > Home > Helper API > Information > Page Comparison
Helper API
Version 2 by Ted Husted
on Jun 10, 2005 11:19.


compared with
Current by Ted Husted
on Jun 23, 2005 13:08.

(show comment)
 
Key
These lines were removed. This word was removed.
These lines were added. This word was added.

View page history


There are 5 changes. View first change.

 h2. Lifecycle
  
 * Helpers are set to a page using dependency injection.
 * The page utilizes whatever helper is given to it.
 * If needed, a page can utilize more than one helper.
  
 # User submit input to UI
 # UI populates and invokes helper
 # Helper validates input
 # If input is valid, Helper invokes business logic
 # UI binds or renders output
 ** Where output is any combination of
 *** Single text object
 *** List of text objects (one or more)
 *** Error or Fault message
 *** Other text message
  
 ----
  
 _ReadOnly_
  
 ----
  
 h2. IViewHelper
  
* ExecuteBind(ICollection)
 * ReadExecute(ICollection)
  h3. Methods
 * void *ExecuteBind* (ICollection controls);
 * void *ReadExecute* (ICollection controls);
 * void *Bind* (ICollection controls);
 * void *Execute* ();
 * void *Read* (ICollection controls);
  
* Bind(ICollection)
 * Execute()
 * Read(ICollection)
  h3. ReadOnly properties
 * IDictionary *Criteria*
 * IList *Outcome*
 * IDictionary *Alerts*
 * bool *HasAlerts*
 * Exception *Fault*
 * bool *HasFault*
 * bool *IsNominal*
 * string *ErrorsText*
 * IDictionary *Hints*
 * bool *HasHints*
 * string *HintsText*
 * IFieldTable *FieldTable*
  
----
  h3. Settings
 * string *Prefix*
 * string *ListSuffix*
 * bool *NullIfEmpty*
 * string *SelectItemPrompt*
  
 * _Errors_
 * _Fault_
 * _Messages_
 * _TextOnly_ -- All Errors, Fault, and Messages in plain text.
 * _IsNominal_
 * _IsErrors_
 * _IsFault_
 * _IsMessages_
  
 ----
  
 * _FieldTable_
 * _FieldSet_
  
 * Text(string): string
 * _TextIndex_
 * _TextTable_
  
 ----
  
 (Can be set by dependency injection.)
  
 * Prefix
 * AlertSuffix
 * HintSuffix
 * LabelSuffix
 * ListSuffix
  
 * NullIfEmpty: bool
  
 ----
  h3. Injected system properties
 * IList *FieldSet*
 * IRequestCatalog *Catalog*
 * IRequestCommand *Command*
Site running on a free Atlassian Confluence Open Source Project License granted to OSS. Evaluate Confluence today.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.5.5 Build:#811 Jul 25, 2007) - Bug/feature request - Contact Administrators