/[cvs]/nfo/php/libs/org.netfrag.app/WebExplorer/MVC.php
ViewVC logotype

Diff of /nfo/php/libs/org.netfrag.app/WebExplorer/MVC.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.5 by joko, Sat Apr 5 21:18:29 2003 UTC revision 1.7 by jonen, Mon Apr 7 22:32:27 2003 UTC
# Line 4  Line 4 
4   * $Id$   * $Id$
5   *   *
6   * $Log$   * $Log$
7     * Revision 1.7  2003/04/07 22:32:27  jonen
8     * + minor changes related to new ecom 'chooser'
9     *
10     * Revision 1.6  2003/04/06 01:32:57  jonen
11     * + minor changes
12     *
13   * Revision 1.5  2003/04/05 21:18:29  joko   * Revision 1.5  2003/04/05 21:18:29  joko
14   * added Chooser and associated 'ecds'-parameter   * added Chooser and associated 'ecds'-parameter
15   * new rule (at bottom) to dispatch datasource-keys to each ecom-component   * new rule (at bottom) to dispatch datasource-keys to each ecom-component
# Line 142  class WebExplorer_MVC extends Site_WebAp Line 148  class WebExplorer_MVC extends Site_WebAp
148        // COID => '123',        // COID => '123',
149        caption => "Explorer - ExplorerDataItem",        caption => "Explorer - ExplorerDataItem",
150      ));      ));
151                      
152      // FIXME!!! enhance!?!?      // FIXME!!! enhance!?!?
153      // AIM: "dispatch a Request to a View by using rules..."      // AIM: "dispatch a Request to a View by using rules..."
154      // Todo:      // Todo:
# Line 154  class WebExplorer_MVC extends Site_WebAp Line 160  class WebExplorer_MVC extends Site_WebAp
160                
161        // 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
162        module => 'Application::Request::HttpController',        module => 'Application::Request::HttpController',
163          //module_options => blah
164    
165        rules => array(        rules => array(
166                    
167    
168          // get last page state          // get last page state
169          create_function('&$_in, &$_out', '          create_function('&$_in, &$_out', '
170            $requestTracker = mkObject("Application::Request::Tracker");            $requestTracker = mkObject("Application::Request::Tracker");
# Line 181  class WebExplorer_MVC extends Site_WebAp Line 190  class WebExplorer_MVC extends Site_WebAp
190          '),          '),
191                    
192          // check right $_GET[ap]          // check right $_GET[ap]
193          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;'),
194    
195          // write components variables to out          // write components variables to out
196          create_function('&$_in, &$_out', '          create_function('&$_in, &$_out', '
# Line 205  class WebExplorer_MVC extends Site_WebAp Line 214  class WebExplorer_MVC extends Site_WebAp
214                      nav => array(                      nav => array(
215                                ecom_type => "nav",                                ecom_type => "nav",
216                                ecom_abstract_type => "list",                                ecom_abstract_type => "list",
217                                ecom_mode => "nav",                                ecom_mode => "link",
218                                ecom_data_locator_key => "rpc",                                ecom_data_locator_key => "rpc",
219                                ),                                ),
220                      chooser => array(                      chooser => array(
221                                ecom_type => "chooser",                                ecom_type => "nav",
222                                ecom_abstract_type => "list",                                ecom_abstract_type => "list",
223                                ecom_mode => "nav",                                ecom_mode => "link",
224                                ecom_data_locator_key => "rpc",                                ecom_data_locator_key => "rpc",
225                                ),                                ),
226                    );                    );

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.7

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed