| 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 |
* Revision 1.7 2003/04/07 22:32:27 jonen |
| 11 |
* + minor changes related to new ecom 'chooser' |
* + minor changes related to new ecom 'chooser' |
| 12 |
* |
* |
| 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 |
/* |
/* |
| 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 |
|
|