c.w.p.LicenseWidget(CheckBoxMatrixWidget) : class documentation

Part of canonical.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 license field is optional for pre-existing products that have never had a license 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.
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 2010-09-27 00:00:11.