/[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.6 by jonen, Sun Apr 6 01:32:57 2003 UTC revision 1.8 by joko, Tue Apr 8 17:53:08 2003 UTC
# Line 4  Line 4 
4   * $Id$   * $Id$
5   *   *
6   * $Log$   * $Log$
7     * Revision 1.8  2003/04/08 17:53:08  joko
8     * NEW: Module 'RemoteAction' in 'phase_startup'
9     *
10     * Revision 1.7  2003/04/07 22:32:27  jonen
11     * + minor changes related to new ecom 'chooser'
12     *
13   * Revision 1.6  2003/04/06 01:32:57  jonen   * Revision 1.6  2003/04/06 01:32:57  jonen
14   * + minor changes   * + minor changes
15   *   *
# Line 161  class WebExplorer_MVC extends Site_WebAp Line 167  class WebExplorer_MVC extends Site_WebAp
167    
168        rules => array(        rules => array(
169                    
170    
171          // get last page state          // get last page state
172          create_function('&$_in, &$_out', '          create_function('&$_in, &$_out', '
173            $requestTracker = mkObject("Application::Request::Tracker");            $requestTracker = mkObject("Application::Request::Tracker");
# Line 210  class WebExplorer_MVC extends Site_WebAp Line 217  class WebExplorer_MVC extends Site_WebAp
217                      nav => array(                      nav => array(
218                                ecom_type => "nav",                                ecom_type => "nav",
219                                ecom_abstract_type => "list",                                ecom_abstract_type => "list",
220                                ecom_mode => "nav",                                ecom_mode => "link",
221                                ecom_data_locator_key => "rpc",                                ecom_data_locator_key => "rpc",
222                                ),                                ),
223                      chooser => array(                      chooser => array(
224                                ecom_type => "chooser",                                ecom_type => "nav",
225                                ecom_abstract_type => "list",                                ecom_abstract_type => "list",
226                                ecom_mode => "nav",                                ecom_mode => "link",
227                                ecom_data_locator_key => "rpc",                                ecom_data_locator_key => "rpc",
228                                ),                                ),
229                    );                    );
# Line 238  class WebExplorer_MVC extends Site_WebAp Line 245  class WebExplorer_MVC extends Site_WebAp
245          // datasource if requested - otherwise everything will fall back to defaults          // datasource if requested - otherwise everything will fall back to defaults
246          create_function('&$_in, &$_out', '          create_function('&$_in, &$_out', '
247            if ($_in[ecom_data_source_key]) {            if ($_in[ecom_data_source_key]) {
248                
249                //print "YAI<br/>";
250                
251              //print Dumper($_out[options][ecoms]);              //print Dumper($_out[options][ecoms]);
252              //print "ds: " . $_in[ecom_data_source_key] . "<br/>";              //print "ds: " . $_in[ecom_data_source_key] . "<br/>";
253              /*              /*
# Line 248  class WebExplorer_MVC extends Site_WebAp Line 258  class WebExplorer_MVC extends Site_WebAp
258              }              }
259              */              */
260              $_out[options][main][ecom_data_source_key] = $_in[ecom_data_source_key];              $_out[options][main][ecom_data_source_key] = $_in[ecom_data_source_key];
261    
262    
263                // 2003-04-07 - enhanced
264                // now activates a special ecom-component - a "RemoteAction" - replacing
265                // the "content"-ecom instead of displaying an empty page / overriding any
266                // view reached by "normal dispatching"
267    
268                $_out[options][ecoms][phase_startup] = array(
269                  ecom_type => "call",
270                  ecom_abstract_type => "auto",
271                  ecom_mode => "link",
272                  ecom_data_locator_key => "rpc",
273                  // new attributes/properties/arguments that control further / trigger different DataFlow:
274                  ecom_call_method => "selectSource",
275                  ecom_call_args => $_in[ecom_data_source_key]
276                );
277    
278            }            }
279          '),          '),
280                    

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

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