| 4 | 
  * $Id$ | 
  * $Id$ | 
| 5 | 
  * | 
  * | 
| 6 | 
  * $Log$ | 
  * $Log$ | 
| 7 | 
  | 
  * Revision 1.6  2003/04/06 01:32:57  jonen | 
| 8 | 
  | 
  * + minor changes | 
| 9 | 
  | 
  * | 
| 10 | 
  * Revision 1.5  2003/04/05 21:18:29  joko | 
  * Revision 1.5  2003/04/05 21:18:29  joko | 
| 11 | 
  * added Chooser and associated 'ecds'-parameter | 
  * added Chooser and associated 'ecds'-parameter | 
| 12 | 
  * new rule (at bottom) to dispatch datasource-keys to each ecom-component | 
  * new rule (at bottom) to dispatch datasource-keys to each ecom-component | 
| 145 | 
       // COID => '123', | 
       // COID => '123', | 
| 146 | 
       caption => "Explorer - ExplorerDataItem", | 
       caption => "Explorer - ExplorerDataItem", | 
| 147 | 
     )); | 
     )); | 
| 148 | 
        | 
              | 
| 149 | 
     // FIXME!!! enhance!?!? | 
     // FIXME!!! enhance!?!? | 
| 150 | 
     // AIM: "dispatch a Request to a View by using rules..." | 
     // AIM: "dispatch a Request to a View by using rules..." | 
| 151 | 
     // Todo:  | 
     // Todo:  | 
| 157 | 
        | 
        | 
| 158 | 
       // for "module", no component registry is required, just does 'mkObject' under the hood | 
       // for "module", no component registry is required, just does 'mkObject' under the hood | 
| 159 | 
       module => 'Application::Request::HttpController',  | 
       module => 'Application::Request::HttpController',  | 
| 160 | 
  | 
       //module_options => blah | 
| 161 | 
  | 
  | 
| 162 | 
       rules => array( | 
       rules => array( | 
| 163 | 
          | 
          | 
| 164 | 
         // get last page state | 
         // get last page state | 
| 186 | 
         '), | 
         '), | 
| 187 | 
          | 
          | 
| 188 | 
         // check right $_GET[ap] | 
         // check right $_GET[ap] | 
| 189 | 
         create_function('&$_in, &$_out', 'return ($_in[ap] != "explorer") ? print "Wrong application value $_in[ap], sure this is right here?" : null;'), | 
         create_function('&$_in, &$_out', 'return ($_in[ap] != "explorer") ? print "Wrong application value: $_in[ap], sure this is right here?<br>" : null;'), | 
| 190 | 
  | 
  | 
| 191 | 
         // write components variables to out | 
         // write components variables to out | 
| 192 | 
         create_function('&$_in, &$_out', ' | 
         create_function('&$_in, &$_out', ' |