pyams_content.component.association.zmi package¶
-Submodules¶
-pyams_content.component.association.zmi.interfaces module¶
-pyams_content.component.association.zmi.paragraph module¶
--
-
-
-class
pyams_content.component.association.zmi.paragraph.
AssociationParagraphAJAXAddForm
(context, request)¶
- Bases:
-pyams_content.component.paragraph.zmi.BaseParagraphAJAXAddForm
,pyams_content.component.association.zmi.paragraph.AssociationParagraphAddForm
Association paragraph add form, JSON renderer
-
-
-
-
-class
pyams_content.component.association.zmi.paragraph.
AssociationParagraphAddForm
(context, request)¶
- Bases:
-pyams_zmi.form.AdminDialogAddForm
Association paragraph add form
--
-
-
-
add
(object)¶
-
-
-
-
-
ajax_handler
= 'add-association-paragraph.json'¶
-
-
-
-
-
create
(data)¶
-
-
-
-
-
edit_permission
= 'pyams.ManageContent'¶
-
-
-
-
-
fields
= <z3c.form.field.Fields object>¶
-
-
-
-
-
icon_css_class
= 'fa fa-fw fa-link'¶
-
-
-
-
-
legend
= 'Add new association paragraph'¶
-
-
-
-
-
-
-class
pyams_content.component.association.zmi.paragraph.
AssociationParagraphAddMenu
(context, request, view, manager)¶
- Bases:
-pyams_content.component.paragraph.zmi.BaseParagraphAddMenu
Associations paragraph add menu
--
-
-
-
label
= 'Add associations paragraph...'¶
-
-
-
-
-
label_css_class
= 'fa fa-fw fa-link'¶
-
-
-
-
-
paragraph_type
= 'Associations'¶
-
-
-
-
-
url
= 'add-association-paragraph.html'¶
-
-
-
-
-
-
-class
pyams_content.component.association.zmi.paragraph.
AssociationParagraphInnerEditForm
(context, request)¶
- Bases:
-pyams_content.component.association.zmi.paragraph.AssociationParagraphPropertiesEditForm
Association paragraph inner edit form
--
-
-
-
-
-
legend
= None¶
-
-
-
-
-
-
-class
pyams_content.component.association.zmi.paragraph.
AssociationParagraphPropertiesAJAXEditForm
(context, request)¶
- Bases:
-pyams_content.component.paragraph.zmi.BaseParagraphAJAXEditForm
,pyams_content.component.association.zmi.paragraph.AssociationParagraphPropertiesEditForm
Association paragraph properties edit form, JSON renderer
-
-
-
-
-class
pyams_content.component.association.zmi.paragraph.
AssociationParagraphPropertiesEditForm
(context, request)¶
- Bases:
-pyams_content.component.paragraph.zmi.BaseParagraphPropertiesEditForm
Association paragraph properties edit form
--
-
-
-
ajax_handler
= 'properties.json'¶
-
-
-
-
-
edit_permission
= 'pyams.ManageContent'¶
-
-
-
-
-
fields
= <z3c.form.field.Fields object>¶
-
-
-
-
-
icon_css_class
= 'fa fa-fw fa-link'¶
-
-
-
-
-
legend
= 'Edit association paragraph properties'¶
-
-
-
-
-
title
¶
-
-
-
-
-
-
-class
pyams_content.component.association.zmi.paragraph.
AssociationParagraphSummary
(context, request)¶
- Bases:
-pyams_viewlet.viewlet.BaseContentProvider
Association paragraph renderer
--
-
-
-
associations
= None¶
-
-
-
-
-
language
= None¶
-
-
-
-
-
update
()¶
-
-
-
Module contents¶
--
-
-
-class
pyams_content.component.association.zmi.
AssociationItemAJAXAddForm
(context, request)¶
- Bases:
-pyams_form.form.AJAXAddForm
Association item add form, JSON renderer
--
-
-
-
get_ajax_output
(changes)¶
-
-
-
-
-
-
-class
pyams_content.component.association.zmi.
AssociationItemAJAXEditForm
(context, request)¶
- Bases:
-pyams_form.form.AJAXEditForm
Association item properties edit form, JSON renderer
--
-
-
-
get_associations_table
()¶
-
-
-
-
-
-
-class
pyams_content.component.association.zmi.
AssociationsContainerDialogView
(context, request)¶
- Bases:
-pyams_zmi.form.AdminDialogDisplayForm
Associations dialog view
--
-
-
-
dialog_class
= 'modal-large no-widget-toolbar'¶
-
-
-
-
-
fields
= <z3c.form.field.Fields object>¶
-
-
-
-
-
fieldset_class
= 'height-300'¶
-
-
-
-
-
title
= 'Associations list'¶
-
-
-
-
-
-
-class
pyams_content.component.association.zmi.
AssociationsContainerView
(context, request)¶
- Bases:
-pyams_zmi.view.ContainerAdminView
,pyams_pagelet.pagelet.Pagelet
Associations container view
--
-
-
-
table_class
¶
- alias of
-AssociationsTable
-
-
-
-
title
= 'Associations list'¶
-
-
-
-
-
-
-class
pyams_content.component.association.zmi.
AssociationsMenu
(context, request, view, manager=None)¶
- Bases:
-pyams_skin.viewlet.menu.MenuItem
Associations menu
--
-
-
-
icon_class
= 'fa-link'¶
-
-
-
-
-
label
= 'Associations...'¶
-
-
-
-
-
url
= '#associations.html'¶
-
-
-
-
-
-
-class
pyams_content.component.association.zmi.
AssociationsTable
(context, request)¶
- Bases:
-pyams_form.security.ProtectedFormObjectMixin
,pyams_skin.table.BaseTable
Associations view inner table
--
-
-
-
cssClasses
¶
-
-
-
-
-
data_attributes
¶
-
-
-
-
-
hide_header
= True¶
-
-
-
-
-
id
¶
-
-
-
-
-
sortOn
= None¶
-
-
-
-
-
values
¶
-
-
-
-
-
-
-class
pyams_content.component.association.zmi.
AssociationsTableInnerNameColumn
(context, request, table)¶
- Bases:
-pyams_skin.table.I18nColumn
,z3c.table.column.GetAttrColumn
Associations table inner name column
--
-
-
-
getValue
(obj)¶
-
-
-
-
-
weight
= 20¶
-
-
-
-
-
-
-class
pyams_content.component.association.zmi.
AssociationsTablePictogramColumn
(context, request, table)¶
- Bases:
-pyams_skin.table.ImageColumn
Associations table pictogram column
--
-
-
-
get_icon_class
(item)¶
-
-
-
-
-
get_icon_hint
(item)¶
-
-
-
-
-
weight
= 8¶
-
-
-
-
-
-
-class
pyams_content.component.association.zmi.
AssociationsTablePublicNameColumn
(context, request, table)¶
- Bases:
-pyams_skin.table.NameColumn
Associations table name column
--
-
-
-
getValue
(obj)¶
-
-
-
-
-
-
-class
pyams_content.component.association.zmi.
AssociationsTableShowHideColumn
(context, request, table)¶
- Bases:
-pyams_form.security.ProtectedFormObjectMixin
,pyams_skin.table.JsActionColumn
Associations container visibility switcher column
--
-
-
-
cssClasses
= {'td': 'action switcher', 'th': 'action'}¶
-
-
-
-
-
get_icon
(item)¶
-
-
-
-
-
icon_class
= 'fa fa-fw fa-eye'¶
-
-
-
-
-
icon_hint
= 'Switch association visibility'¶
-
-
-
-
-
renderCell
(item)¶
-
-
-
-
-
url
= 'PyAMS_content.associations.switchVisibility'¶
-
-
-
-
-
weight
= 5¶
-
-
-
-
-
-
-class
pyams_content.component.association.zmi.
AssociationsTableSizeColumn
(context, request, table)¶
- Bases:
-pyams_skin.table.I18nColumn
,z3c.table.column.GetAttrColumn
Associations table size column
--
-
-
-
getValue
(obj)¶
-
-
-
-
-
weight
= 30¶
-
-
-
-
-
-
-class
pyams_content.component.association.zmi.
AssociationsTableSorterColumn
(context, request, table)¶
- Bases:
-pyams_form.security.ProtectedFormObjectMixin
,pyams_skin.table.SorterColumn
Associations table sorter column
-
-
-
-
-class
pyams_content.component.association.zmi.
AssociationsTableTrashColumn
(context, request, table)¶
- Bases:
-pyams_form.security.ProtectedFormObjectMixin
,pyams_skin.table.TrashColumn
Associations table trash column
-
-
-
-
-class
pyams_content.component.association.zmi.
AssociationsTableValuesAdapter
(context, request, view)¶
- Bases:
-pyams_utils.adapter.ContextRequestViewAdapter
Associations table values adapter
--
-
-
-
values
¶
-
-
-
-
-
-
-class
pyams_content.component.association.zmi.
AssociationsView
(context, request, view)¶
- Bases:
-pyams_zmi.form.InnerAdminDisplayForm
Associations view
--
-
-
-
fields
= <z3c.form.field.Fields object>¶
-
-
-
-
-
update
()¶
-
-
-
-
-
weight
= 90¶
-
-
-
-
-
-
-
pyams_content.component.association.zmi.
delete_association
(request)¶
- Delete association
-
-
-
-
-
pyams_content.component.association.zmi.
set_associations_order
(request)¶
- Update asociations order
-
-
-
-
-
pyams_content.component.association.zmi.
set_paragraph_visibility
(request)¶
- Set paragraph visibility
-