+ +
+

pyams_skin.viewlet.toolbar package

+
+

Module contents

+
+
+class pyams_skin.viewlet.toolbar.ContextActionsExtension(context, request, view)
+

Bases: pyams_utils.adapter.ContextRequestViewAdapter

+

extension:context_actions(context) TALES extension

+
+
+render(context=None)
+
+ +
+ +
+
+class pyams_skin.viewlet.toolbar.ContextActionsViewletManager(context, request, view, manager=None)
+

Bases: pyams_skin.viewlet.toolbar.ToolbarMenu

+

Context actions viewlet manager

+
+
+css_class
+

Computed attributes based on schema fields

+

Field properties provide default values, data validation and error messages +based on data found in field meta-data.

+

Note that FieldProperties cannot be used with slots. They can only +be used for attributes stored in instance dictionaries.

+
+ +
+
+label = 'Other actions...'
+
+ +
+
+label_css_class = ''
+
+ +
+ +
+
+class pyams_skin.viewlet.toolbar.JsToolbarAction(context, request, view, manager)
+

Bases: pyams_skin.viewlet.toolbar.ToolbarAction

+

Javascript toolbar action

+
+
+get_url()
+
+ +
+ +
+
+class pyams_skin.viewlet.toolbar.JsToolbarActionItem(context, request, view, manager)
+

Bases: pyams_skin.viewlet.toolbar.ToolbarActionItem

+

Javascript call toolbar action item

+
+
+get_url()
+
+ +
+ +
+
+class pyams_skin.viewlet.toolbar.JsToolbarMenuItem(context, request, view, manager)
+

Bases: pyams_skin.viewlet.toolbar.ToolbarMenuItem

+

Javascript call toolbar menu item

+
+
+get_url()
+
+ +
+ +
+
+class pyams_skin.viewlet.toolbar.TableItemColumnActionsMenu(context, request, view, manager=None)
+

Bases: pyams_skin.viewlet.toolbar.ToolbarMenu

+

Table item actions menu

+
+
+css_class = 'btn btn-xs btn-info dropdown-toggle'
+
+ +
+
+label = 'Actions...'
+
+ +
+
+label_css_class = ''
+
+ +
+ +
+
+class pyams_skin.viewlet.toolbar.TableToolbarViewletManager(context, request, view)
+

Bases: pyams_viewlet.manager.TemplateBasedViewletManager, pyams_viewlet.manager.WeightOrderedViewletManager

+

Table toolbar viewlet manager

+
+ +
+
+class pyams_skin.viewlet.toolbar.ToolbarAction(context, request, view, manager)
+

Bases: pyams_viewlet.viewlet.Viewlet

+

Base toolbar action class

+
+
+click_handler
+

Computed attributes based on schema fields

+

Field properties provide default values, data validation and error messages +based on data found in field meta-data.

+

Note that FieldProperties cannot be used with slots. They can only +be used for attributes stored in instance dictionaries.

+
+ +
+
+css_class
+

Computed attributes based on schema fields

+

Field properties provide default values, data validation and error messages +based on data found in field meta-data.

+

Note that FieldProperties cannot be used with slots. They can only +be used for attributes stored in instance dictionaries.

+
+ +
+
+get_url()
+
+ +
+
+label
+

Computed attributes based on schema fields

+

Field properties provide default values, data validation and error messages +based on data found in field meta-data.

+

Note that FieldProperties cannot be used with slots. They can only +be used for attributes stored in instance dictionaries.

+
+ +
+
+label_css_class
+

Computed attributes based on schema fields

+

Field properties provide default values, data validation and error messages +based on data found in field meta-data.

+

Note that FieldProperties cannot be used with slots. They can only +be used for attributes stored in instance dictionaries.

+
+ +
+
+modal_target
+

Computed attributes based on schema fields

+

Field properties provide default values, data validation and error messages +based on data found in field meta-data.

+

Note that FieldProperties cannot be used with slots. They can only +be used for attributes stored in instance dictionaries.

+
+ +
+
+url
+

Computed attributes based on schema fields

+

Field properties provide default values, data validation and error messages +based on data found in field meta-data.

+

Note that FieldProperties cannot be used with slots. They can only +be used for attributes stored in instance dictionaries.

+
+ +
+ +
+
+class pyams_skin.viewlet.toolbar.ToolbarActionItem(context, request, view, manager)
+

Bases: pyams_viewlet.viewlet.Viewlet

+

Toolbar action item class

+
+
+click_handler
+

Computed attributes based on schema fields

+

Field properties provide default values, data validation and error messages +based on data found in field meta-data.

+

Note that FieldProperties cannot be used with slots. They can only +be used for attributes stored in instance dictionaries.

+
+ +
+
+css_class
+

Computed attributes based on schema fields

+

Field properties provide default values, data validation and error messages +based on data found in field meta-data.

+

Note that FieldProperties cannot be used with slots. They can only +be used for attributes stored in instance dictionaries.

+
+ +
+
+get_url()
+
+ +
+
+hint_gravity
+

Computed attributes based on schema fields

+

Field properties provide default values, data validation and error messages +based on data found in field meta-data.

+

Note that FieldProperties cannot be used with slots. They can only +be used for attributes stored in instance dictionaries.

+
+ +
+
+label
+

Computed attributes based on schema fields

+

Field properties provide default values, data validation and error messages +based on data found in field meta-data.

+

Note that FieldProperties cannot be used with slots. They can only +be used for attributes stored in instance dictionaries.

+
+ +
+
+label_css_class
+

Computed attributes based on schema fields

+

Field properties provide default values, data validation and error messages +based on data found in field meta-data.

+

Note that FieldProperties cannot be used with slots. They can only +be used for attributes stored in instance dictionaries.

+
+ +
+
+modal_target
+

Computed attributes based on schema fields

+

Field properties provide default values, data validation and error messages +based on data found in field meta-data.

+

Note that FieldProperties cannot be used with slots. They can only +be used for attributes stored in instance dictionaries.

+
+ +
+
+stop_propagation
+

Computed attributes based on schema fields

+

Field properties provide default values, data validation and error messages +based on data found in field meta-data.

+

Note that FieldProperties cannot be used with slots. They can only +be used for attributes stored in instance dictionaries.

+
+ +
+
+url
+

Computed attributes based on schema fields

+

Field properties provide default values, data validation and error messages +based on data found in field meta-data.

+

Note that FieldProperties cannot be used with slots. They can only +be used for attributes stored in instance dictionaries.

+
+ +
+ +
+
+class pyams_skin.viewlet.toolbar.ToolbarAddingMenu(context, request, view, manager=None)
+

Bases: pyams_skin.viewlet.toolbar.ToolbarMenu

+

Toolbar adding menu

+
+
+css_class = 'btn btn-xs btn-success dropdown-toggle'
+
+ +
+
+label = 'Add...'
+
+ +
+
+menu_css_class = 'dropdown-menu'
+
+ +
+ +
+
+class pyams_skin.viewlet.toolbar.ToolbarMenu(context, request, view, manager=None)
+

Bases: pyams_viewlet.manager.TemplateBasedViewletManager, pyams_viewlet.manager.WeightOrderedViewletManager, pyams_viewlet.viewlet.Viewlet

+

Base toolbar menu class

+
+
+click_handler
+

Computed attributes based on schema fields

+

Field properties provide default values, data validation and error messages +based on data found in field meta-data.

+

Note that FieldProperties cannot be used with slots. They can only +be used for attributes stored in instance dictionaries.

+
+ +
+
+css_class
+

Computed attributes based on schema fields

+

Field properties provide default values, data validation and error messages +based on data found in field meta-data.

+

Note that FieldProperties cannot be used with slots. They can only +be used for attributes stored in instance dictionaries.

+
+ +
+
+get_url()
+
+ +
+
+label
+

Computed attributes based on schema fields

+

Field properties provide default values, data validation and error messages +based on data found in field meta-data.

+

Note that FieldProperties cannot be used with slots. They can only +be used for attributes stored in instance dictionaries.

+
+ +
+
+label_css_class
+

Computed attributes based on schema fields

+

Field properties provide default values, data validation and error messages +based on data found in field meta-data.

+

Note that FieldProperties cannot be used with slots. They can only +be used for attributes stored in instance dictionaries.

+
+ +
+
+menu_css_class
+

Computed attributes based on schema fields

+

Field properties provide default values, data validation and error messages +based on data found in field meta-data.

+

Note that FieldProperties cannot be used with slots. They can only +be used for attributes stored in instance dictionaries.

+
+ +
+
+modal_target
+

Computed attributes based on schema fields

+

Field properties provide default values, data validation and error messages +based on data found in field meta-data.

+

Note that FieldProperties cannot be used with slots. They can only +be used for attributes stored in instance dictionaries.

+
+ +
+
+render()
+
+ +
+
+update()
+
+ +
+
+url
+

Computed attributes based on schema fields

+

Field properties provide default values, data validation and error messages +based on data found in field meta-data.

+

Note that FieldProperties cannot be used with slots. They can only +be used for attributes stored in instance dictionaries.

+
+ +
+ +
+
+class pyams_skin.viewlet.toolbar.ToolbarMenuDivider(context, request, view, manager)
+

Bases: pyams_viewlet.viewlet.Viewlet

+

Toolbar menu divider

+
+
+css_class = 'divider'
+
+ +
+
+lebel = None
+
+ +
+ +
+
+class pyams_skin.viewlet.toolbar.ToolbarMenuItem(context, request, view, manager)
+

Bases: pyams_skin.viewlet.toolbar.ToolbarActionItem

+

Toolbar menu item class

+
+ +
+
+class pyams_skin.viewlet.toolbar.WidgetTitleViewletManager(context, request, view)
+

Bases: pyams_viewlet.manager.WeightOrderedViewletManager

+

Widget title extensions viewlet manager

+
+ +
+
+ + +