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

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

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

revision 1.15 by joko, Wed Apr 9 02:08:20 2003 UTC revision 1.20 by jonen, Sat Apr 19 16:24:49 2003 UTC
# Line 4  Line 4 
4  ##    $Id$  ##    $Id$
5  ##    -----------------------------------------------------------------------------  ##    -----------------------------------------------------------------------------
6  ##    $Log$  ##    $Log$
7    ##    Revision 1.20  2003/04/19 16:24:49  jonen
8    ##    + added two more GUI modules to default registry initiation,
9    ##       relating to new navigation module 'NavigationTree'
10    ##    + added prepartion of needed args for abstract navigation tree
11    ##       and concret UserManagment 'UMnav' tree
12    ##
13    ##    Revision 1.19  2003/04/18 16:21:37  joko
14    ##    fixed commit comment - the last one caused a syntax error!!!
15    ##
16    ##    Revision 1.18  2003/04/18 15:27:06  joko
17    ##    NEW: XML Trees in data area
18    ##      new ecom module: DataTree
19    ##      introduced new query argument: 'filter' (purpose: xml/tree filtering)
20    ##        $filter = array(
21    ##          dotted => $val['ecom_data_filter'],
22    ##          ident => $val['ecom_data_ident'],
23    ##        );
24    ##        A Data::Lift module translates this filter-query into a XPath-query ...
25    ##        $filter = array(
26    ##          xpq => '*\/*[@name="cli"]',
27    ##        );
28    ##        ... which finally is propagated to the backend.
29    ##    NEW: AbstractExplorer - standalone version
30    ##      enhanced set_e_state: now can overwrite internal state to arguments from outside
31    ##      enhanced get_com: also capable of propagating additional args through _load_ecom to _prepare_component_args
32    ##      enhanced _prepare_component_args: now able to dispatch to a "transparent navigation ecom" (e.g. YAA::JobGroups)
33    ##    MISC:
34    ##      added some pre-flight checks throughout the module, especially at the core dispatcher inside _prepare_component_args
35    ##      error checking: added some more croaks via 'user_error'
36    ##      cosmetic updates
37    ##
38    ##    Revision 1.17  2003/04/18 13:46:15  jonen
39    ##    + add hidden elements(items) now to the constructor arguments of each ecom
40    ##
41    ##    Revision 1.16  2003/04/10 06:00:58  joko
42    ##    ALPHA: Item.Delete
43    ##
44  ##    Revision 1.15  2003/04/09 02:08:20  joko  ##    Revision 1.15  2003/04/09 02:08:20  joko
45  ##    CHANGE: renamed key 'classname' through 'nodename'  ##    CHANGE: renamed key 'classname' through 'nodename'
46  ##  ##
# Line 130  class WebExplorer_AbstractExplorer { Line 167  class WebExplorer_AbstractExplorer {
167        
168    function set_data_locator($label, $new_args=array() ) {    function set_data_locator($label, $new_args=array() ) {
169      global $app;      global $app;
170      //print Dumper($app) . "<br>";      
171      if($label == "rpc") {      // pre-flight checks
172        if (!$label) {
173          user_error("AbstractExplorer::set_data_locator - label was empty.");
174          return;
175        }
176        
177        if ($label == "rpc") {
178        $rpcinfo = $app->getConfig("rpcinfo");        $rpcinfo = $app->getConfig("rpcinfo");
179        define('RPC_HOSTNAME', $rpcinfo[Host]);        define('RPC_HOSTNAME', $rpcinfo[Host]);
180        define('RPC_PORT', $rpcinfo[Port]);        define('RPC_PORT', $rpcinfo[Port]);
# Line 139  class WebExplorer_AbstractExplorer { Line 182  class WebExplorer_AbstractExplorer {
182        define('RPC_TRACE', $rpcinfo[TRACE]);        define('RPC_TRACE', $rpcinfo[TRACE]);
183        define('RPC_DISCONNECT_ON_ERROR', $rpcinfo[DISCONNECT_ON_ERROR]);        define('RPC_DISCONNECT_ON_ERROR', $rpcinfo[DISCONNECT_ON_ERROR]);
184      } else {      } else {
185        user_error("AbstractExplorer::set_data_locator - data_locator_key label $label not found!");        user_error("AbstractExplorer::set_data_locator - Could not dispatch data_locator_key label '$label'!");
186      }      }
187    }    }
188        
# Line 148  class WebExplorer_AbstractExplorer { Line 191  class WebExplorer_AbstractExplorer {
191    
192    function get_page_state() {    function get_page_state() {
193      $requestTracker = mkObject("Application::Request::Tracker");      $requestTracker = mkObject("Application::Request::Tracker");
194        //print Dumper($this->_state);
195      $this->_state = $requestTracker->getPointer();      $this->_state = $requestTracker->getPointer();
196    }    }
197        
198    function set_e_state() {    function set_e_state($state = null) {
199      $this->get_page_state();      // NEW [2003-04-18]: now has two modes
200      $this->_e_state = $this->_state[options][options];      // 1. inject page state from argument passed to us
201        // 2. (was) get page state from request tracker
202        if ($state) {
203          $this->_e_state = $state;
204        } else {
205          $this->get_page_state();
206          $this->_e_state = $this->_state[options][options];
207        }
208        //  print "Setting Explorer state:" . Dumper($this->_e_state);
209    }    }
     
210    
211    function set_page_state() {    function set_page_state() {
212      user_error("AbstractExplorer::set_page_state - please implement me....");          user_error("AbstractExplorer::set_page_state - please implement me....");    
213    }    }
     
214    
215    function init_default_gui_modules() {    function init_default_gui_modules() {
216            
217      // format of parameters: label, ecom_type, abstract_type, module_name      // format of parameters: label, ecom_type, abstract_type, module_name
218            
219        // 2003-03-02 - First ecom modules/components
220      //$this->register_gui_module("n_tree", "nav", array( 'name' => "NavigationTree", 'type' => "tree") );      //$this->register_gui_module("n_tree", "nav", array( 'name' => "NavigationTree", 'type' => "tree") );
221      $this->register_gui_module("nav", "nav", "list", "WebExplorer::Module::NavigationList" );      $this->register_gui_module("nav", "nav", "list", "WebExplorer::Module::NavigationList" );
222      $this->register_gui_module("content", "data", "list", "WebExplorer::Module::DataList" );      $this->register_gui_module("content", "data", "list", "WebExplorer::Module::DataList" );
223      $this->register_gui_module("content", "data", "item", "WebExplorer::Module::DataItem" );      $this->register_gui_module("content", "data", "item", "WebExplorer::Module::DataItem" );
224      // 2003-04-05 - Chooser      
225      $this->register_gui_module("chooser", "nav", "list", "WebExplorer::Module::Chooser");          // 2003-04-05 - Chooser (a Nav.List)
226        $this->register_gui_module("chooser", "nav", "list", "WebExplorer::Module::Chooser");
227        
228      // 2003-04-07 - RemoteAction      // 2003-04-07 - RemoteAction
229      $this->register_gui_module("phase_startup", "call", "auto", "WebExplorer::Module::RemoteAction");          $this->register_gui_module("phase_startup", "call", "auto", "WebExplorer::Module::RemoteAction");
230        
231        // 2003-04-09 - Data.Item: DeleteAction
232        $this->register_gui_module("phase_startup", "data", "item", "WebExplorer::Module::DataItem");
233        //$this->register_gui_module("phase_startup", "data", "auto", "WebExplorer::Module::RemoteAction");
234        //$this->register_gui_module("phase_startup", "data", "auto", "WebExplorer::Module::DataItem");
235        
236        // 2003-04-12 - Data.Tree
237        $this->register_gui_module("content", "data", "tree", "WebExplorer::Module::DataTree" );
238        
239        // 2003-04-18 - Nav.Tree
240        $this->register_gui_module("nav", "nav", "tree", "WebExplorer::Module::NavigationTree" );
241    
242        // 2003-04-18 - UserManagment Nav.Tree (we need only a different 'label' as Nav.Tree yet..)
243        $this->register_gui_module("UMnav", "nav", "tree", "WebExplorer::Module::NavigationTree" );
244    
245    }    }
246    
247    function register_source_module($label, $args) {    function register_source_module($label, $args) {
# Line 185  class WebExplorer_AbstractExplorer { Line 253  class WebExplorer_AbstractExplorer {
253    }    }
254    
255    
256    function &get_ecom($label) {    function &get_ecom($label, $args = array()) {
257        
258        // the very first - strongly hardcoded - Hello World ecom
259      //return "Hello World";      //return "Hello World";
260      $this->_load_ecom($label);      
261        // that's better ...
262        $this->_load_ecom($label, $args);
263      return $this->_ecom[$label];      return $this->_ecom[$label];
264        
265    }    }
266    
   
267        
268    function _load_ecoms() {    function _load_ecoms() {
269      //trace("_load_ecoms: " . Dumper($this->_e_state[ecoms]) . "<br/>");      //trace("_load_ecoms: " . Dumper($this->_e_state[ecoms]) . "<br/>");
# Line 202  class WebExplorer_AbstractExplorer { Line 274  class WebExplorer_AbstractExplorer {
274    
275    
276        
277    function _load_ecom($label) {    function _load_ecom($label, $args = array()) {
278        
279      // fetch values from state      // fetch values from state
280      $val = $this->_e_state['ecoms'][$label];      $val = $this->_e_state['ecoms'][$label];
281      debug::info("_load_ecom($label): " . Dumper($val) . "<br/>");      debug::info("_load_ecom($label): " . Dumper($val) . "<br/>");
282    
283        // NEW [2003-04-10]: ecom-RESET-condition
284        if (!is_array($val) && $val == 'RESET') {
285          debug::info("Resetting component: $label");
286          return;
287        }
288    
289      // find right ecom gui module      // find right ecom gui module
290      $ecom_type = $val['ecom_type'];      $ecom_type = $val['ecom_type'];
291      $abstract_type = $val['ecom_abstract_type'];      $abstract_type = $val['ecom_abstract_type'];
292      $gui_module = $this->_module['gui'][$label][$ecom_type][$abstract_type];      $gui_module = $this->_module['gui'][$label][$ecom_type][$abstract_type];
293      //print Dumper($gui_module);      //print Dumper($gui_module);
294      if(!$gui_module) {      if(!$gui_module) {
295        user_error("AbstractExplorer::_load_component - No GUI module found. [label='$label', abstract type='$val[ecom_abstract_type]', ecom type='$val[ecom_type]']");        user_error("_load_ecom: No GUI module found for [label='$label', ecom type='$val[ecom_type]', abstract type='$val[ecom_abstract_type]'].");
296        return;        return;
297      }      }
298    
299      // get arguments needed for ecom gui module      // get arguments needed for ecom gui module
300      $args = $this->_prepare_component_args($label);      $args = $this->_prepare_component_args($label, $args);
301      //print Dumper($args);      
302        // trace
303        //print "raw-args: " . Dumper($args) . "<br/>";
304            
305      // get ecom GUI module      // get ecom GUI module
306      if (!$ecom = php::mkComponent($gui_module, $args)) {      if (!$ecom = php::mkComponent($gui_module, $args)) {
307          user_error("AbstractExplorer::_load_component - Error while instantiating ecom gui component. [label='$label', abstract type='$val[ecom_abstract_type]', ecom type='$val[ecom_type]']");
308        return;        return;
309      }      }
310      //print Dumper($ecom);      //print Dumper($ecom);
311                
312      // load phphtmllib GUI object      // NEW[2003-04-18] done via args(prepare args!) passed at constructor
313      $gui_ecom = &$ecom->get();      //  (needed for non-real objects instanced at some child of AbstractGUIModule, eg. NavigationList)
314    /*
315      // add hidden vars, needed for explorer control      // add hidden vars, needed for explorer control
316      $hidden_items = $this->_get_hidden_items($label);      $hidden_items = $this->_get_hidden_items($label);
317      if(is_array($hidden_items) ) {      if(is_array($hidden_items) ) {
318        $ecom->add_hidden_items($hidden_items);        $ecom->add_hidden_items($hidden_items);
319        //print "Hidden: " . Dumper($hidden_items);        print "Hidden: " . Dumper($hidden_items);
320      }      }
321    */
322    
323        // load phphtmllib GUI object
324        $gui_ecom = &$ecom->get();
325    
326      // attempt:      // attempt:
327      //$gui_ecom->make_transparent();      //$gui_ecom->make_transparent();
# Line 262  class WebExplorer_AbstractExplorer { Line 348  class WebExplorer_AbstractExplorer {
348                                    'ecat' => "item",                                    'ecat' => "item",
349                                    'ecmod' => "view",                                    'ecmod' => "view",
350                                    );                                    );
 /*  
         if($ecom_state['ecom_mode'] == "view") {  
           $hidden_items['ecmod'] = "edit";  
         }  
         elseif($ecom_state['ecom_mode'] == "edit") {  
           $hidden_items['ecmod'] = "edit";  
         }  
 */        
351        }        }
       $hidden_items['ap'] = "explorer";  
352      }      }
353        elseif($ecom_state['ecom_type'] == "nav") {
354          // Switching abstract make no real sense here,
355          // because hidden_items(link_vars) for Naviagtion-Ecoms
356          // are more label specified!!
357          // OLD:
358          //if($ecom_state['ecom_abstract_type'] == "list") {
359          // NEW:
360          if($label == "nav") {
361            $hidden_items = array(
362                                      'ecl' => "content",
363                                      'ecat' => "list",
364                                      'ecmod' => "view",
365                                      'ect' => "data",
366                                      'ecdlk' => "rpc",
367                                     );
368    
369          }
370          elseif($label == "chooser") {
371            $hidden_items = array(
372                                      'ecl' => "phase_startup",
373                                      'ecdlk' => "rpc",
374                                     );
375    
376          }
377        }
378          // add page idents
379          foreach($this->_e_state[idents] as $label => $value) {
380            $hidden_items[$label] = $value;
381          }
382      return $hidden_items;      return $hidden_items;
383    }    }
384    
385    
386    
387    function _prepare_component_args($label) {        function _prepare_component_args($label, $args = array()) {    
388      $val = $this->_e_state['ecoms'][$label];      $val = $this->_e_state['ecoms'][$label];
389    
390        // pre-flight checks
391        if (!$val['ecom_data_locator_key']) {
392          user_error("_prepare_component_args: Key 'ecom_data_locator_key' was empty, should be one of 'rpc'.");
393          return;
394        }
395    
396        if (!$val['ecom_type']) {
397          user_error("WebExplorer::AbstractExplorer: Key 'ecom_type' was empty, should be one of 'data|nav|call'.");
398        }
399    
400        if (!$val['ecom_abstract_type']) {
401          user_error("_prepare_component_args: Key 'ecom_abstract_type' was empty, should be one of 'item|list|tree|auto'.");
402          return;
403        }
404    
405        // trace
406        //print "YAI1<br/>";
407        //print Dumper($val);
408        
409      $this->set_data_locator($val['ecom_data_locator_key']);      $this->set_data_locator($val['ecom_data_locator_key']);
410    
411      // detect and execute 'selectSource' action      // detect and execute 'selectSource' action
# Line 298  class WebExplorer_AbstractExplorer { Line 424  class WebExplorer_AbstractExplorer {
424        if($val['ecom_abstract_type'] == "list") {        if($val['ecom_abstract_type'] == "list") {
425          if($val['ecom_data_locator_key'] == "rpc") {          if($val['ecom_data_locator_key'] == "rpc") {
426            //$data_locator_meta = array( transport => 'rpc', metatype => 'data', vartype => 'objects', nodename => $val['ecom_data_ident']);            //$data_locator_meta = array( transport => 'rpc', metatype => 'data', vartype => 'objects', nodename => $val['ecom_data_ident']);
427            $data_locator_meta = array( transport => 'rpc', metatype => 'data', abstract_type => 'list', nodename => $val['ecom_data_ident']);            $data_locator_meta = array( transport => 'rpc', metatype => 'data', abstract_type => 'list', nodename => $val['ecom_data_ident'], list_meta => $val['ecom_data_meta']);
428          } else {          } else {
429            user_error("AbstractExplorer::_prepare_component_args - Cannot build query for data_locator_key $val[ecom_data_locator_key] !");            user_error("AbstractExplorer::_prepare_component_args - Cannot build query for data_locator_key $val[ecom_data_locator_key] !");
430          }          }
# Line 323  class WebExplorer_AbstractExplorer { Line 449  class WebExplorer_AbstractExplorer {
449                                                ),                                                ),
450                                            ),                                            ),
451                        );                        );
452          
453        // switch abstract type        // switch abstract type
454        } elseif ($val['ecom_abstract_type'] == "item") {        } elseif ($val['ecom_abstract_type'] == "item") {
455          if($val['ecom_data_locator_key'] == "rpc") {          if($val['ecom_data_locator_key'] == "rpc") {
456            //$data_locator_meta = array( transport => 'rpc', metatype => 'data', vartype => 'objects', nodename => $val['ecom_data_ident']);            //$data_locator_meta = array( transport => 'rpc', metatype => 'data', vartype => 'objects', nodename => $val['ecom_data_ident']);
457            $data_locator_meta = array( transport => 'rpc', metatype => 'data', abstract_type => 'item', ident => $val['ecom_data_ident'], nodename => $val['ecom_data_meta']);            
458              // NEW: 'filter' - 2003-04-14 - required for filtering xml-nodes
459              // this propagates the full identifier to reach through all parent nodes
460              $filter = array(
461                dotted => $val['ecom_data_filter'],
462                ident => $val['ecom_data_ident'],
463                //xpq => '*/*[@name="cli"]',
464                //xpq => '*/*',
465              );
466              // lift filter from dotted format to xpq format
467              $lift = mkObject('Data::Lift', $filter, array( metatype => 'filter' ) );
468              $filter = $lift->to('XPath');
469    
470              $data_locator_meta = array(
471                transport => 'rpc', metatype => 'data', abstract_type => 'item',
472                ident => $val['ecom_data_ident'], nodename => $val['ecom_data_meta'], filter => $filter,
473              );
474          } else {          } else {
475            user_error("AbstractExplorer::_prepare_component_args - Cannot build query for data_locator_key $val[ecom_data_locator_key] !");            user_error("AbstractExplorer::_prepare_component_args - Cannot build query for data_locator_key $val[ecom_data_locator_key] !");
476          }          }
477          if(!$val['ecom_mode']) { $val['ecom_mode'] = "view"; }          
478            // defaults
479            if (!$val['ecom_mode']) { $val['ecom_mode'] = "view"; }
480            //$val['ecom_mode'] = "view";
481            
482            // debugging
483          print "Mode: $val[ecom_mode]<br>";          print "Mode: $val[ecom_mode]<br>";
484            
485            // prepare some arguments...
486          $args = array(          $args = array(
487                        'caption' => $val['ecom_data_meta'],                        'caption' => $val['ecom_data_meta'],
488                        'mode' => $val['ecom_mode'],                        'mode' => $val['ecom_mode'],
489                        'options' => array(                        'options' => array(
490                                            'data_locator_meta' => $data_locator_meta,                                              'data_locator_meta' => $data_locator_meta,
491                                            'decode' => 1,                                              'decode' => 1,
492                                            'decode_args' => array(                                              'decode_args' => array(
493                                                'seperator' => "_",                                                'seperator' => "_",
494                                                ),                                              ),
495                                            ),                                          ),
496                        );                        );
497           if($val['ecom_mode'] == "edit") { $args['adapter'] = 'FormProcessor'; }           if ($val['ecom_mode'] == "edit") { $args['adapter'] = 'FormProcessor'; }
498            
499             // FIXME: (see WebExplorer::Module::AbstractGUIModule)
500             //if ($val['ecom_mode'] == "delete") { $args['adapter'] = 'GenericNegotiation'; }
501             if ($val['ecom_mode'] == "delete") { $args['adapter'] = 'NonValidatingFormProcessor'; }
502            
503          // switch abstract type
504          } elseif ($val['ecom_abstract_type'] == "tree") {
505            //print "TREE!<br/>";
506            
507            // FIXME: shouldn't this (dispatching by transport-key) be done very *outside* of this scope?
508            // or: do it outside per default, let a possibility to modify it inside the lower levels of the dispatcher (here)
509            if ($val['ecom_data_locator_key'] == "rpc") {
510              //$data_locator_meta = array( transport => 'rpc', metatype => 'data', vartype => 'objects', nodename => $val['ecom_data_ident']);
511              $args[options][data_locator_meta] = array( transport => 'rpc', metatype => 'data', abstract_type => 'tree', ident => $val['ecom_data_ident'], nodename => $val['ecom_data_meta']);
512            }
513    
514          } else {
515            user_error("_prepare_component_args: Could not dispatch ecom_abstract_type='$val[ecom_abstract_type]'.");
516            
517        }        }
518            
519      // switch component type      // switch component type
520      } elseif ($val['ecom_type'] == "nav") {      } elseif ($val['ecom_type'] == "nav") {
521          
522        // switch abstract type        // switch abstract type
523        if($val['ecom_abstract_type'] == "list") {        // list
524          if ($val['ecom_abstract_type'] == "list") {
525         $args = array();         $args = array();
526          if($val['ecom_data_locator_key'] == "rpc") {          if($val['ecom_data_locator_key'] == "rpc") {
527              
528            // switch component label            // switch component label
529            if($label == "nav") {            // TODO: should we really dispatch by label inside here?
530              
531              if ($label == "nav") {
532              $data_locator_meta = array( transport => 'rpc', metatype => 'schema', filter => 'nodes.root:concrete' );              $data_locator_meta = array( transport => 'rpc', metatype => 'schema', filter => 'nodes.root:concrete' );
533              $args['caption'] = "Objekt Typen";              $args['caption'] = "Objekt Typen";
534            }            }
# Line 363  class WebExplorer_AbstractExplorer { Line 537  class WebExplorer_AbstractExplorer {
537              $data_locator_meta = array( transport => 'rpc', metatype => 'schema', filter => 'sources.all' );              $data_locator_meta = array( transport => 'rpc', metatype => 'schema', filter => 'sources.all' );
538              $args['caption'] = "Datenquellen";              $args['caption'] = "Datenquellen";
539            }            }
540              // NEW [2003-04-18]: croak if label empty
541              else {
542                user_error("_prepare_component_args: Dispatching for nav.list.rpc failed. \$label was empty.");
543              }
544            $args['options']['data_locator_meta'] = $data_locator_meta;            $args['options']['data_locator_meta'] = $data_locator_meta;
545              
546          } else {          } else {
547            user_error("AbstractExplorer::_prepare_component_args - Cannot build schema query for data_locator_key $val[ecom_data_locator_key] !");            user_error("AbstractExplorer::_prepare_component_args - Cannot build schema query for data_locator_key $val[ecom_data_locator_key] !");
548          }          }
549          
550          // NEW [2003-04-18]: Abstract navigation tree
551        } elseif ($val['ecom_abstract_type'] == "tree") {        } elseif ($val['ecom_abstract_type'] == "tree") {
552          $args = array();          $args = array();
553            if($label == "nav") {
554              //$args[options][data_locator_meta] = array( transport => 'rpc', metatype => 'schema', abstract_type => 'tree', ident => $val['ecom_data_ident'], nodename => $val['ecom_data_meta']);
555              $args[options][data_locator_meta] = array( transport => 'rpc', metatype => 'schema', filter => 'nodes.root:concrete' );
556              $args['caption'] = $val['ecom_data_source_key'];
557            } elseif($label == "UMnav") {
558              //$args[options][data_locator_meta] = array( transport => 'rpc', metatype => 'schema', abstract_type => 'tree', ident => $val['ecom_data_ident'], nodename => $val['ecom_data_meta']);
559              $args[options][data_locator_meta] = array( transport => 'rpc', metatype => 'method', method => 'UserManagmentSchema' );
560              $args['caption'] = "Benutzerverwaltung";
561            }
562    
563          // NEW [2003-04-18]: transparent nav - argument pass-through mode
564          } elseif ($val['ecom_abstract_type'] == "transparent") {
565            
566            // You are responsible for all arguments passed through.
567            // Where are these arguments from?
568            // They are propagated transparently to this place from a new optional
569            // parameter ($args) introduced for the methods 'get_com', 'load_com'
570            // and '_prepare_component_args' (this one).
571            // This means full control over ecoms from outside.
572            
573            // TODO: maybe add some additional pre-flight checks here!?
574          
575          // croak
576          } else {
577            user_error("_prepare_component_args: Could not dispatch ecom_abstract_type='$val[ecom_abstract_type]'.");
578        }        }
579    
580      // NEW [2003-04-08]: RemoteAction (e.g.: result of a selection inside a Chooser)      // NEW [2003-04-08]: RemoteAction (e.g.: result of a selection inside a Chooser)
# Line 396  class WebExplorer_AbstractExplorer { Line 602  class WebExplorer_AbstractExplorer {
602          // FIXME: implement automatic re-dispatching to available ecoms here!          // FIXME: implement automatic re-dispatching to available ecoms here!
603          user_error("WebExplorer::AbstractExplorer: results of RemoteActions can only be handled automatically. Who knows what comes back?");          user_error("WebExplorer::AbstractExplorer: results of RemoteActions can only be handled automatically. Who knows what comes back?");
604        }              }      
605        
606      }      }
607    
608        // NEW[2003-04-18]: add hidden items to args
609        $args['hidden_elements'] = $this->_get_hidden_items($label);
610    
611      return $args;      return $args;
612    }    }
613    

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.20

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