- -
-

pyams_skin.viewlet.menu package

-
-

Module contents

-
-
-class pyams_skin.viewlet.menu.MainMenusViewletManager(context, request, view)
-

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

-

Mains menus viewlet manager

-
- -
-
-class pyams_skin.viewlet.menu.Menu(context, request, view, manager=None)
-

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

-

Menu header

-
-
-header
-
- -
-
-render()
-
- -
-
-update()
-
- -
- -
-
-class pyams_skin.viewlet.menu.MenuDivider(context, request, view, manager)
-

Bases: pyams_viewlet.viewlet.Viewlet

-

Menu divider viewlet

-
-
-badge = None
-
- -
-
-badge_class = None
-
- -
-
-click_handler = None
-
- -
-
-css_class = 'divider'
-
- -
-
-data = None
-
- -
-
-get_url()
-
- -
-
-header = None
-
- -
-
-icon_class = None
-
- -
-
-label = None
-
- -
-
-modal_target = False
-
- -
-
-notice = None
-
- -
-
-notice_class = None
-
- -
-
-target = None
-
- -
-
-url = None
-
- -
- -
-
-class pyams_skin.viewlet.menu.MenuItem(context, request, view, manager=None)
-

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

-

Menu viewlet

-
-
-badge
-

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.

-
- -
-
-badge_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.

-
- -
-
-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.

-
- -
-
-data
-

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_data_attributes()
-
- -
-
-get_url()
-
- -
-
-icon_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
-

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.

-
- -
-
-notice
-

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.

-
- -
-
-notice_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.

-
- -
-
-render()
-
- -
-
-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.

-
- -
-
-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.menu.UserMenusViewletManager(context, request, view)
-

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

-

User menus viewlet manager

-
- -
-
- - -