l.a.w.p.LicenseWidget(CheckBoxMatrixWidget) : class documentation

Part of lp.app.widgets.product View In Hierarchy

A CheckBox widget with a custom template.

The allow_pending_license is provided so that $product/+edit can display radio buttons to show that the licence field is optional for pre-existing products that have never had a licence set.

Method __init__ Undocumented
Method textForValue See ItemsWidgetBase.
Method renderItem See ItemsEditWidgetBase.
Method renderSelectedItem See ItemsEditWidgetBase.
Method __call__ Undocumented
Method _categorize Undocumented
Method _renderTable Undocumented

Inherited from CheckBoxMatrixWidget:

Method renderValue Render the checkboxes inside a <table>.

Inherited from LabeledMultiCheckBoxWidget (via CheckBoxMatrixWidget):

Method _renderItem Render a checkbox and text in a label with a style attribute.

Inherited from PlainMultiCheckBoxWidget (via CheckBoxMatrixWidget, LabeledMultiCheckBoxWidget):

Method disabled_items 0 Undocumented
Method disabled_items Undocumented
def __init__(self, field, vocabulary, request):
Undocumented
def textForValue(self, term):
See ItemsWidgetBase.
def renderItem(self, index, text, value, name, cssClass):
See ItemsEditWidgetBase.
def renderSelectedItem(self, index, text, value, name, cssClass):
See ItemsEditWidgetBase.
def _categorize(self, value, rendered):
Undocumented
def __call__(self):
Undocumented
def _renderTable(self, category, column_count=1):
Undocumented
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.