+ +
+

pyams_content.shared.view.portlet package

+ +
+

Submodules

+
+
+

pyams_content.shared.view.portlet.interfaces module

+
+
+

Module contents

+
+
+class pyams_content.shared.view.portlet.ViewItemsPortlet
+

Bases: pyams_portal.portlet.Portlet

+

View items portlet

+
+
+label = 'View items'
+
+ +
+
+name = 'pyams_content.portlet.view'
+
+ +
+
+settings_class
+

alias of ViewItemsPortletSettings

+
+ +
+
+toolbar_css_class = 'fa fa-fw fa-2x fa-th-list'
+
+ +
+
+toolbar_image = None
+
+ +
+ +
+
+class pyams_content.shared.view.portlet.ViewItemsPortletRenderer(context, request, view, settings)
+

Bases: pyams_portal.portlet.PortletRenderer

+

View items portlet renderer

+
+
+label = 'Simple list view'
+
+ +
+ +
+
+class pyams_content.shared.view.portlet.ViewItemsPortletSettings(configuration)
+

Bases: pyams_portal.portlet.PortletSettings

+

View items portlet settings

+
+
+get_items(context)
+
+ +
+
+get_view()
+
+ +
+
+view
+

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.

+
+ +
+ +
+
+ + +