Widget pool configuration

The following table shows the attributes and descriptions for widget pool configuration.

AttributeDescription

panel

Object. BaseWidgetPanel is the default. See the panel's config file. All widgets that are not in a group display in this panel.

widgets

An array of widgets.

groups

An array of groups.

Example:

"widgetPool": {
    "panel": {
      "uri": "jimu/PanelType1",
      "position": {
        "left": 0,
        "top": 0,
        "right": 0,
        "bottom": 30,
        "width": 100,
        "height": 100
      }
    },

    "groups": [{
      "widgets": [{
        "uri": "widgets/Bookmark/Widget",
        "icon": "",
        "label": "" 
      }],

      "label": "",
      "index": 1,
      "panel": {
        "uri": "jimu/PanelType1",
        "position": {
          "left": 0,
          "top": 0,
          "right": 0,
          "bottom": 30,
          "width": 100,
          "height": 100
        }
      }
    }],

    "widgets": [{
      "index": 2,
      "uri": "widgets/Header/Widget",
      "icon": "",
      "label": ""
    }]
  }