4 |
## $Id$ |
## $Id$ |
5 |
## ----------------------------------------------------------------------------- |
## ----------------------------------------------------------------------------- |
6 |
## $Log$ |
## $Log$ |
7 |
|
## Revision 1.5 2003/05/10 18:27:17 jonen |
8 |
|
## + supports now mode 'create' via widget 'CreateDataItem' |
9 |
|
## |
10 |
|
## Revision 1.4 2003/04/11 00:52:19 joko |
11 |
|
## minor update: prepared for being one level more abstract by using $negotiation_options |
12 |
|
## |
13 |
## Revision 1.3 2003/04/10 06:27:36 joko |
## Revision 1.3 2003/04/10 06:27:36 joko |
14 |
## ++ _args[mode] == 'delete' => new FlexibleDataItem |
## ++ _args[mode] == 'delete' => new FlexibleDataItem |
15 |
## |
## |
48 |
// Try to implement this aspect of the required infrastructure independent of |
// Try to implement this aspect of the required infrastructure independent of |
49 |
// an 'EditDataItem'. Maybe it should become a 'GenericNegotiation'-ecom-component?! |
// an 'EditDataItem'. Maybe it should become a 'GenericNegotiation'-ecom-component?! |
50 |
// Aim: Abstract way of handling 'Confirm', 'Cancel' actions on arbitrary "question"??? |
// Aim: Abstract way of handling 'Confirm', 'Cancel' actions on arbitrary "question"??? |
51 |
$this->_gui_object = new FlexibleDataItem($this->_args['caption'], $this->_args['options'] ); |
|
52 |
|
$negotiation_options = array( |
53 |
|
); |
54 |
|
|
55 |
|
$this->_gui_object = new FlexibleNegotiation($this->_args['caption'], $this->_args['options'], $negotiation_options ); |
56 |
|
} |
57 |
|
|
58 |
|
elseif($this->_args['mode'] == 'create') { |
59 |
|
$this->_gui_object = new CreateDataItem($this->_args['caption'], $this->_args['options'] ); |
60 |
} |
} |
61 |
} |
} |
62 |
|
|