Ejemplo n.º 1
0
 widget = bikaRecordsWidget(
     label=_("Inherit From"),
     description=_(
         "Include all analysis requests belonging to the selected objects."),
     innerJoin="<br/>",
     combogrid_options={
         'Title': {
             'colModel': [
                 {'columnName': 'Title', 'width': '25',
                  'label': _('Title'), 'align': 'left'},
                 {'columnName': 'ObjectID', 'width': '25',
                  'label': _('Object ID'), 'align': 'left'},
                 {'columnName': 'Description', 'width': '50',
                  'label': _('Description'), 'align': 'left'},
                 {'columnName': 'UID', 'hidden': True},
             ],
             'url': 'getAnalysisContainers',
             'showOn': False,
             'width': '600px'
         },
         'ObjectID': {
             'colModel': [
                 {'columnName': 'Title', 'width': '25',
                  'label': _('Title'), 'align': 'left'},
                 {'columnName': 'ObjectID', 'width': '25',
                  'label': _('Object ID'), 'align': 'left'},
                 {'columnName': 'Description', 'width': '50',
                  'label': _('Description'), 'align': 'left'},
                 {'columnName': 'UID', 'hidden': True},
             ],
             'url': 'getAnalysisContainers',
             'showOn': False,
             'width': '600px'
         },
     },
 ),
Ejemplo n.º 2
0
 widget=bikaRecordsWidget(
     label=_("Inherit From"),
     description=
     _("Include all analysis requests belonging to the selected objects."
       ),
     innerJoin="<br/>",
     combogrid_options={
         'Title': {
             'colModel': [
                 {
                     'columnName': 'Title',
                     'width': '25',
                     'label': _('Title'),
                     'align': 'left'
                 },
                 {
                     'columnName': 'ObjectID',
                     'width': '25',
                     'label': _('Object ID'),
                     'align': 'left'
                 },
                 {
                     'columnName': 'Description',
                     'width': '50',
                     'label': _('Description'),
                     'align': 'left'
                 },
                 {
                     'columnName': 'UID',
                     'hidden': True
                 },
             ],
             'url':
             'getAnalysisContainers',
             'showOn':
             False,
             'width':
             '600px'
         },
         'ObjectID': {
             'colModel': [
                 {
                     'columnName': 'Title',
                     'width': '25',
                     'label': _('Title'),
                     'align': 'left'
                 },
                 {
                     'columnName': 'ObjectID',
                     'width': '25',
                     'label': _('Object ID'),
                     'align': 'left'
                 },
                 {
                     'columnName': 'Description',
                     'width': '50',
                     'label': _('Description'),
                     'align': 'left'
                 },
                 {
                     'columnName': 'UID',
                     'hidden': True
                 },
             ],
             'url':
             'getAnalysisContainers',
             'showOn':
             False,
             'width':
             '600px'
         },
     },
 ),
Ejemplo n.º 3
0
     subfield_labels={"Title": _("Title"), "ObjectID": _("Object ID"), "Description": _("Description")},
     widget=bikaRecordsWidget(
         label=_("Inherit From"),
         description=_("Include all analysis requests belonging to the selected objects."),
         innerJoin="<br/>",
         combogrid_options={
             "Title": {
                 "colModel": [
                     {"columnName": "Title", "width": "25", "label": _("Title"), "align": "left"},
                     {"columnName": "ObjectID", "width": "25", "label": _("Object ID"), "align": "left"},
                     {"columnName": "Description", "width": "50", "label": _("Description"), "align": "left"},
                     {"columnName": "UID", "hidden": True},
                 ],
                 "url": "getAnalysisContainers",
                 "showOn": False,
                 "width": "600px",
             },
             "ObjectID": {
                 "colModel": [
                     {"columnName": "Title", "width": "25", "label": _("Title"), "align": "left"},
                     {"columnName": "ObjectID", "width": "25", "label": _("Object ID"), "align": "left"},
                     {"columnName": "Description", "width": "50", "label": _("Description"), "align": "left"},
                     {"columnName": "UID", "hidden": True},
                 ],
                 "url": "getAnalysisContainers",
                 "showOn": False,
                 "width": "600px",
             },
         },
     ),
 ),