flare.viur.bones.select

Module Contents

Classes

SelectMultipleEditWidget

Base class for a bone-compliant edit widget implementation using an input field.

SelectSingleEditWidget

Base class for a bone-compliant edit widget implementation using an input field.

SelectViewWidget

Base class for a bone-compliant view widget implementation using a div.

SelectMultipleBone

SelectSingleBone

class flare.viur.bones.select.SelectMultipleEditWidget(bone, **kwargs)

Bases: flare.viur.bones.base.BaseEditWidget

Base class for a bone-compliant edit widget implementation using an input field.

This widget defines the general interface of a bone edit control.

style = ['flr-value-container', 'option-group']
entryTemplate
createWidget()

Function for creating the Widget or multiple Widgets that represent the bone.

updateWidget()

Function for updating the Widget or multiple Widgets that represent the bone.

unserialize(value=None)

Unserialize the widget value.

serialize()

Serialize the widget value.

class flare.viur.bones.select.SelectSingleEditWidget(bone, **kwargs)

Bases: flare.viur.bones.base.BaseEditWidget

Base class for a bone-compliant edit widget implementation using an input field.

This widget defines the general interface of a bone edit control.

entryTemplate
createWidget()

Function for creating the Widget or multiple Widgets that represent the bone.

updateWidget()

Function for updating the Widget or multiple Widgets that represent the bone.

unserialize(value=None)

Unserialize the widget value.

serialize()

Serialize the widget value.

class flare.viur.bones.select.SelectViewWidget(bone, **kwargs)

Bases: flare.viur.bones.base.BaseViewWidget

Base class for a bone-compliant view widget implementation using a div.

unserialize(value=None)

Unserialize the widget value.

class flare.viur.bones.select.SelectMultipleBone(*args, **kwargs)

Bases: flare.viur.bones.base.BaseBone

editWidgetFactory
multiEditWidgetFactory
viewWidgetFactory

Base “Catch-All” delegate for everything not handled separately.

static checkFor(moduleName, boneName, skelStructure, *args, **kwargs)
class flare.viur.bones.select.SelectSingleBone(*args, **kwargs)

Bases: SelectMultipleBone

editWidgetFactory
static checkFor(moduleName, boneName, skelStructure, *args, **kwargs)