c.w.l.InlineEditPickerWidget : class documentation

Part of canonical.widgets.lazrjs View In Hierarchy

Wrapper for the lazr-js picker widget.

This widget is not for editing form values like the VocabularyPickerWidget.

Method __init__ Create a widget wrapper.
Method show_assign_me_button Undocumented
Method resource_uri Undocumented
Method can_write Undocumented
Class Method _generate_id Return a presumably unique id for this widget.
def __init__(self, context, request, interface_attribute, default_html, id=None, header='Select an item', step_title='Search', remove_button_text='Remove', null_display_value='None'):
Create a widget wrapper.
ParameterscontextThe object that is being edited.
requestThe request object.
interface_attributeThe attribute being edited.
default_htmlDefault display of attribute.
idThe HTML id to use for this widget. Automatically generated if this is not provided.
headerThe large text at the top of the picker.
step_titleSmaller line of text below the header.
show_remove_buttonShow remove button below search box.
show_assign_me_buttonShow assign-me button below search box.
remove_button_textOverride default button text: "Remove"
@property
def show_assign_me_button(self):
Undocumented
@classmethod
def _generate_id(cls):
Return a presumably unique id for this widget.
@property
def resource_uri(self):
Undocumented
@property
def can_write(self):
Undocumented
API Documentation for Launchpad, generated by pydoctor at 2010-09-27 00:00:11.