/[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.6 by jonen, Sun Apr 6 01:32:57 2003 UTC
# Line 4  Line 4 
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
# Line 142  class WebExplorer_MVC extends Site_WebAp Line 145  class WebExplorer_MVC extends Site_WebAp
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:
# Line 154  class WebExplorer_MVC extends Site_WebAp Line 157  class WebExplorer_MVC extends Site_WebAp
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
# Line 181  class WebExplorer_MVC extends Site_WebAp Line 186  class WebExplorer_MVC extends Site_WebAp
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', '

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

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