4 |
* $Id$ |
* $Id$ |
5 |
* |
* |
6 |
* $Log$ |
* $Log$ |
7 |
|
* Revision 1.20 2003/11/22 18:46:33 udo |
8 |
|
* update for expand data item |
9 |
|
* |
10 |
|
* Revision 1.19 2003/07/14 09:54:58 jonen |
11 |
|
* fixed bug related to 'item delete' |
12 |
|
* |
13 |
* Revision 1.18 2003/07/02 12:18:00 jonen |
* Revision 1.18 2003/07/02 12:18:00 jonen |
14 |
* fixed bugs |
* fixed bugs |
15 |
* |
* |
137 |
'ecom_data_ident', |
'ecom_data_ident', |
138 |
'ecom_data_meta', 'ecom_data_meta_x', |
'ecom_data_meta', 'ecom_data_meta_x', |
139 |
'ecom_data_action_edit', 'ecom_data_action_cancel', 'ecom_data_action_delete', 'ecom_data_action_create', |
'ecom_data_action_edit', 'ecom_data_action_cancel', 'ecom_data_action_delete', 'ecom_data_action_create', |
140 |
|
'ecom_data_action_expand_edit', |
141 |
'ecom_data_form_checkbox', 'ecom_data_form_action', |
'ecom_data_form_checkbox', 'ecom_data_form_action', |
142 |
'ecom_data_source_key', |
'ecom_data_source_key', |
143 |
'ecom_data_filter', |
'ecom_data_filter', |
190 |
// ... required for data lists. |
// ... required for data lists. |
191 |
'ecom_data_form_action' => array( query_arg => 'ecdfa' ), |
'ecom_data_form_action' => array( query_arg => 'ecdfa' ), |
192 |
'ecom_data_form_checkbox' => array( query_arg => 'checkbox' ), |
'ecom_data_form_checkbox' => array( query_arg => 'checkbox' ), |
193 |
|
// ... required for expanded data items. |
194 |
|
'ecom_data_action_expand_edit' => array( query_arg => 'ecdfee' ), |
195 |
|
|
196 |
// Special argument (should become a non-data-action). |
// Special argument (should become a non-data-action). |
197 |
// Triggers 'selectSource' at backend api (remote api) which causes a database handle switch. |
// Triggers 'selectSource' at backend api (remote api) which causes a database handle switch. |
395 |
// TODO: implement multi-selection actions on rows(items) here!! |
// TODO: implement multi-selection actions on rows(items) here!! |
396 |
print "Multi-Selection!! Current Ident(s) $tmp" . "<br>"; |
print "Multi-Selection!! Current Ident(s) $tmp" . "<br>"; |
397 |
$_out[options][ecoms][$label][ecom_data_ident] = $tmp; |
$_out[options][ecoms][$label][ecom_data_ident] = $tmp; |
398 |
|
$_out[options][ecoms][$label][ecom_abstract_type] = "item"; |
399 |
} |
} |
400 |
} else { |
} else { |
401 |
print "ident: " . Dumper($_out[options][ecoms][$label][ecom_data_ident]) . "<br>"; |
print "ident: " . Dumper($_out[options][ecoms][$label][ecom_data_ident]) . "<br>"; |
426 |
$_out[options][ecoms][$label][ecom_mode] = "create"; |
$_out[options][ecoms][$label][ecom_mode] = "create"; |
427 |
$_out[options][ecoms][$label][ecom_abstract_type] = "item"; |
$_out[options][ecoms][$label][ecom_abstract_type] = "item"; |
428 |
} |
} |
429 |
|
if($_in[ecom_data_action_expand_edit]) { |
430 |
|
//print Dumper($_out[options][ecoms][$label]); |
431 |
|
$_out[options][ecoms][$label][ecom_mode] = "expandedit"; |
432 |
|
$_out[options][ecoms][$label][ecom_abstract_type] = "item"; |
433 |
|
} |
434 |
|
|
435 |
// Action.Delete [new of 2003-04-09] |
// Action.Delete [new of 2003-04-09] |
436 |
if ($_in[ecom_data_action_delete]) { |
if ($_in[ecom_data_action_delete]) { |