Class Dataedit-Mixin

A mixin class for dataseq widgets that impelement
editing functionality.

Part of:

package weblocks, class listedit, class gridedit

Direct Subclass

grideditA widget based on the 'datagrid' that enhances it
with user interface to add, remove, and modif...
listeditA widget based on the 'datalist' that enhances it
with user interface to add, remove, and modif...

Slot

allow-add-p
If true, the widget should provide the UI to add entries to the collection.
Initform:t, Initargs::allow-add-p; Accessors:dataedit-allow-add-p.
allow-delete-p
If true, the widget should provide the UI to delete entries in the collection.
Initform:t, Initargs::allow-delete-p; Accessors:dataedit-allow-delete-p.
autoset-drilled-down-item-p
If set to true, 'drilled-down-item' will be automatically set to the appropriate item when the user drills down on the widget.
Initargs::autoset-drilled-down-item-p; Accessors:dataseq-autoset-drilled-down-item-p.
cascade-delete-mixins-p
If set to true, mixin objects will be deleted from the store when the parent object is deleted. By default set to '*default-cascade-delete-mixins-p*'.
Initform:*default-cascade-delete-mixins-p*, Initargs::cascade-delete-mixins-p; Accessors:dataedit-cascade-delete-mixins-p.
item-data-view
An optional custom data view that, if provided, is used to instantiate the 'item-widget'.
Initargs::item-data-view; Accessors:dataedit-item-data-view.
item-form-view
An optional custom form view that, if provided, is used to instantiate the 'item-widget'.
Initargs::item-form-view; Accessors:dataedit-item-form-view.
item-widget
A widget used by dataedit to display a form for adding and editing items. This widget will be created and destroyed as necessary.
Accessors:dataedit-item-widget.
on-add-item
A function called by the widget when an item is added. The function should accept two arguments (the widget object and a new item), and should take appropriate action.
Initargs::on-add-item; Accessors:dataedit-on-add-item.
on-add-item-completed
A function called by the widget when an the add action is complete. The function should accept two arguments (the widget object and a new item).
Initargs::on-add-item-completed; Accessors:dataedit-on-add-item-completed.
on-delete-items
A function called by the widget when one or more items are deleted. The function should accept two arguments (the widget object and a value that has semantics similar to dataseq's 'selection' slot). If the function is missing, the should be deleted via store API.
Initargs::on-delete-items; Accessors:dataedit-on-delete-items.
on-delete-items-completed
A function called by the widget when the deletion of items has complted. The function should accept two arguments (the widget object and a value that has semantics similar to dataseq's 'selection' slot).
Initargs::on-delete-items-completed; Accessors:dataedit-on-delete-items-completed.
ui-state
A state of the dataedit control. The values of this slot may differ depending on concrete implementation of dataedit. Generally NIL means normal state, :add means render a widget to add a new item, and :drilldown means drill down on an existing item.
Initargs::ui-state; Accessors:dataedit-ui-state.

Direct Method

dataedit-drilldown-actionThis callback function will be called by the dataedit when the user
attempts to drill down on a g...
dataseq-render-operationsThis function is responsible for rendering the operations for the
widget deriving from dataseq. S...
dataseq-render-pagination-widgetThis function is responsible for rendering the pagination widget
for the dataseq.
dependenciesReturn a list of dependencies for a particular
object.

Whenever a widget is rendered by webl...