text: function addWidgetsfrmRowTemplates() {
      var hbox103994549623663 = new kony.ui.Box({
          "focusSkin": "headBox",
          "id": "hbox103994549623663",
          "isVisible": true,
          "orientation": constants.BOX_LAYOUT_HORIZONTAL,
          "position": constants.BOX_POSITION_AS_NORMAL,
          "skin": "headBox"
      }, {
          "containerWeight": 100,
          "layoutAlignment": constants.BOX_LAYOUT_ALIGN_FROM_LEFT,
          "layoutType": constants.CONTAINER_LAYOUT_BOX,
          "marginInPixel": false,
          "padding": [0, 0, 0, 0],
          "paddingInPixel": false,
          "percent": true,
          "vExpand": false,
          "widgetAlignment": constants.WIDGET_ALIGN_TOP_LEFT
      }, {});
      var label103994549623664 = new kony.ui.Label({
          "id": "label103994549623664",
          "isVisible": true,
          "skin": "headLabel",
          "text": "Row templates"
      }, {
          "containerWeight": 100,
          "contentAlignment": constants.CONTENT_ALIGN_CENTER,
          "hExpand": true,
          "marginInPixel": false,
          "padding": [1, 2, 1, 2],
          "paddingInPixel": false,
          "vExpand": false,
          "widgetAlignment": constants.WIDGET_ALIGN_CENTER
      }, {
          "renderAsAnchor": false,
          "textCopyable": false
      });
      hbox103994549623663.add(label103994549623664);
      var label120664956617061 = new kony.ui.Label({
          "id": "label120664956617061",
          "isVisible": true,
          "skin": "lblSub",
          "text": "SegmentedUI with the multiple row templates"
      }, {
          "containerWeight": 100,
          "contentAlignment": constants.CONTENT_ALIGN_MIDDLE_LEFT,
          "hExpand": true,
          "margin": [2, 2, 2, 2],
          "marginInPixel": false,
          "padding": [2, 4, 2, 4],
          "paddingInPixel": false,
          "vExpand": false,
          "widgetAlignment": constants.WIDGET_ALIGN_MIDDLE_LEFT
      }, {
          "renderAsAnchor": false,
          "textCopyable": false
      });
      var segMultiTemp = new kony.ui.SegmentedUI2({
          "groupCells": false,
          "id": "segMultiTemp",
          "isVisible": true,
          "needPageIndicator": true,
          "retainSelection": false,
          "rowFocusSkin": "rowFocusSkin",
          "rowSkin": "rowSkin",
          "screenLevelWidget": false,
          "scrollingEvents": {},
          "sectionHeaderSkin": "sectionHeaderSkin",
          "selectionBehavior": constants.SEGUI_DEFAULT_BEHAVIOR,
          "separatorColor": "e9e9e900",
          "separatorRequired": true,
          "separatorThickness": 1,
          "showScrollbars": false,
          "viewType": constants.SEGUI_VIEW_TYPE_TABLEVIEW
      }, {
          "containerHeightReference": constants.CONTAINER_HEIGHT_BY_FORM_REFERENCE,
          "containerWeight": 100,
          "layoutAlignment": constants.BOX_LAYOUT_ALIGN_FROM_LEFT,
          "margin": [2, 4, 2, 0],
          "marginInPixel": false,
          "padding": [0, 0, 0, 0],
          "paddingInPixel": false,
          "widgetAlignment": constants.WIDGET_ALIGN_TOP_LEFT
      }, {});
      var label120688789423414 = new kony.ui.Label({
          "id": "label120688789423414",
          "isVisible": true,
          "skin": "lblSub",
          "text": "SegmentedUI without row templates"
      }, {
          "containerWeight": 100,
          "contentAlignment": constants.CONTENT_ALIGN_MIDDLE_LEFT,
          "hExpand": true,
          "margin": [2, 2, 2, 2],
          "marginInPixel": false,
          "padding": [2, 4, 2, 4],
          "paddingInPixel": false,
          "vExpand": false,
          "widgetAlignment": constants.WIDGET_ALIGN_MIDDLE_LEFT
      }, {
          "renderAsAnchor": false,
          "textCopyable": false
      });
      var segWidoutRowtmplate = new kony.ui.SegmentedUI2({
          "groupCells": false,
          "id": "segWidoutRowtmplate",
          "isVisible": true,
          "needPageIndicator": true,
          "retainSelection": false,
          "rowFocusSkin": "rowFocusSkin",
          "rowSkin": "rowSkin",
          "rowTemplate": vbox1288931495185,
          "screenLevelWidget": false,
          "scrollingEvents": {},
          "sectionHeaderSkin": "sectionHeaderSkin",
          "selectionBehavior": constants.SEGUI_DEFAULT_BEHAVIOR,
          "separatorColor": "e9e9e900",
          "separatorRequired": true,
          "separatorThickness": 1,
          "showScrollbars": false,
          "viewType": constants.SEGUI_VIEW_TYPE_TABLEVIEW,
          "widgetDataMap": {
              "hbox120858598121942": "hbox120858598121942",
              "lbl1": "lbl1",
              "lbl2": "lbl2",
              "lbl3": "lbl3"
          }
      }, {
          "containerHeightReference": constants.CONTAINER_HEIGHT_BY_FORM_REFERENCE,
          "containerWeight": 100,
          "layoutAlignment": constants.BOX_LAYOUT_ALIGN_FROM_LEFT,
          "margin": [2, 4, 2, 0],
          "marginInPixel": false,
          "padding": [1, 1, 1, 1],
          "paddingInPixel": false,
          "widgetAlignment": constants.WIDGET_ALIGN_TOP_LEFT
      }, {});
      var label1041822331116010 = new kony.ui.Label({
          "id": "label1041822331116010",
          "isVisible": true,
          "skin": "lblSub",
          "text": "SegmentedUI with different row skins using metainfo property"
      }, {
          "containerWeight": 100,
          "contentAlignment": constants.CONTENT_ALIGN_MIDDLE_LEFT,
          "hExpand": true,
          "margin": [2, 2, 2, 2],
          "marginInPixel": false,
          "padding": [2, 4, 2, 4],
          "paddingInPixel": false,
          "vExpand": false,
          "widgetAlignment": constants.WIDGET_ALIGN_MIDDLE_LEFT
      }, {
          "renderAsAnchor": false,
          "textCopyable": false
      });
      var segMetainfo = new kony.ui.SegmentedUI2({
          "groupCells": false,
          "id": "segMetainfo",
          "isVisible": true,
          "needPageIndicator": true,
          "retainSelection": false,
          "rowFocusSkin": "rowFocusSkin",
          "rowSkin": "rowSkin",
          "rowTemplate": vbox1288931495187,
          "screenLevelWidget": false,
          "scrollingEvents": {},
          "sectionHeaderSkin": "sectionHeaderSkin",
          "selectionBehavior": constants.SEGUI_DEFAULT_BEHAVIOR,
          "separatorColor": "64646400",
          "separatorRequired": true,
          "separatorThickness": 1,
          "showScrollbars": false,
          "viewType": constants.SEGUI_VIEW_TYPE_TABLEVIEW,
          "widgetDataMap": {
              "hbox1041822331116130": "hbox1041822331116130",
              "lblSegmeta1": "lblSegmeta1",
              "lblSegmeta2": "lblSegmeta2",
              "lblSegmeta3": "lblSegmeta3"
          }
      }, {
          "containerHeightReference": constants.CONTAINER_HEIGHT_BY_FORM_REFERENCE,
          "containerWeight": 100,
          "layoutAlignment": constants.BOX_LAYOUT_ALIGN_FROM_LEFT,
          "margin": [2, 4, 2, 0],
          "marginInPixel": false,
          "padding": [1, 1, 1, 1],
          "paddingInPixel": false,
          "widgetAlignment": constants.WIDGET_ALIGN_TOP_LEFT
      }, {});
      frmRowTemplates.add(hbox103994549623663, label120664956617061, segMultiTemp, label120688789423414, segWidoutRowtmplate, label1041822331116010, segMetainfo);
  };
  
  function frmRowTemplatesGlobals() {
      frmRowTemplates = new kony.ui.Form2({
          "addWidgets": addWidgetsfrmRowTemplates,
          "enabledForIdleTimeout": false,
          "id": "frmRowTemplates",
          "needAppMenu": true,
          "skin": "frm",
          "title": "Row template"
      }, {
          "displayOrientation": constants.FORM_DISPLAY_ORIENTATION_BOTH,
          "layoutType": constants.CONTAINER_LAYOUT_BOX,
          "paddingInPixel": false
      }, {
          "inTransitionConfig": {
              "formTransition": "leftCenter"
          },
          "outTransitionConfig": {
              "formTransition": "none"
          },
          "retainScrollPosition": false
      });
      frmRowTemplates.info = {
          "kuid": "p2kwiet12889314951970"
      };
  };