l.a.b.l.InlinePersonEditPickerWidget(InlineEditPickerWidget) : class documentation

Part of lp.app.browser.lazrjs View In Hierarchy

No class docstring
Method __init__ Create a widget wrapper.
Method picker_type Undocumented
Method selected_value_metadata Undocumented
Method show_assign_me_button Undocumented
Method show_create_team Undocumented
Method getConfig Undocumented

Inherited from InlineEditPickerWidget:

Method selected_value String representation of field value associated with the picker.
Method config Undocumented
Method json_config Undocumented
Method vocabulary Undocumented
Method vocabulary_filters Undocumented
Method show_search_box Undocumented

Inherited from WidgetBase (via InlineEditPickerWidget):

Method resource_uri A local path to the context object.
Method json_resource_uri Undocumented
Method can_write Can the current user write to the attribute.
def __init__(self, context, exported_field, default_html, content_box_id=None, header='Select an item', step_title='Search', show_create_team=False, assign_me_text='Pick me', remove_person_text='Remove person', remove_team_text='Remove team', null_display_value='None', edit_view='+edit', edit_url=None, edit_title='', help_link=None):
Create a widget wrapper.
ParameterscontextThe object that is being edited.
exported_fieldThe attribute being edited. This should be a field from an interface of the form ISomeInterface['fieldname']
default_htmlDefault display of attribute.
content_box_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.
assign_me_textOverride default button text: "Pick me"
remove_person_textOverride default link text: "Remove person"
remove_team_textOverride default link text: "Remove team"
null_display_valueThis will be shown for a missing value
edit_viewThe view name to use to generate the edit_url if one is not specified.
edit_urlThe URL to use for editing when the user isn't logged in and when JS is off. Defaults to the edit_view on the context.
edit_titleUsed to set the title attribute of the anchor.
help_linkUsed to set a link for help for the widget.
@property
def picker_type(self):
Undocumented
@property
def selected_value_metadata(self):
Undocumented
@property
def show_assign_me_button(self):
Undocumented
@property
def show_create_team(self):
Undocumented
def getConfig(self):
Undocumented
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.