text: function addWidgetsfrmEmail() {
      var hbox103994549623663 = new kony.ui.Box({
          "enableCache": false,
          "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,
          "margin": [1, 1, 1, 1],
          "marginInPixel": true,
          "padding": [0, 0, 0, 0],
          "paddingInPixel": true,
          "percent": true,
          "vExpand": false,
          "widgetAlignment": constants.WIDGET_ALIGN_TOP_LEFT
      }, {});
      var label103994549623664 = new kony.ui.Label({
          "enableCache": false,
          "id": "label103994549623664",
          "isVisible": true,
          "skin": "headLabel",
          "text": "Email"
      }, {
          "containerWeight": 100,
          "contentAlignment": constants.CONTENT_ALIGN_CENTER,
          "hExpand": true,
          "margin": [1, 1, 1, 1],
          "marginInPixel": true,
          "padding": [6, 10, 6, 10],
          "paddingInPixel": true,
          "vExpand": false,
          "widgetAlignment": constants.WIDGET_ALIGN_CENTER
      }, {});
      hbox103994549623663.add(label103994549623664);
      var button1930040990146518 = new kony.ui.Button({
          "enableCache": false,
          "focusSkin": "btnFocus",
          "id": "button1930040990146518",
          "isVisible": true,
          "onClick": p2kwiet1288931495966_button1930040990146518_onClick_seq0,
          "skin": "btnNormal",
          "text": "Email without attachment"
      }, {
          "containerWeight": 100,
          "contentAlignment": constants.CONTENT_ALIGN_CENTER,
          "displayText": true,
          "hExpand": true,
          "margin": [12, 12, 12, 6],
          "marginInPixel": true,
          "padding": [0, 3, 0, 3],
          "paddingInPixel": false,
          "vExpand": false,
          "widgetAlignment": constants.WIDGET_ALIGN_CENTER
      }, {});
      var button1930040990146529 = new kony.ui.Button({
          "enableCache": false,
          "focusSkin": "btnFocus",
          "id": "button1930040990146529",
          "isVisible": true,
          "onClick": p2kwiet1288931495966_button1930040990146529_onClick_seq0,
          "skin": "btnNormal",
          "text": "Email with attachment"
      }, {
          "containerWeight": 100,
          "contentAlignment": constants.CONTENT_ALIGN_CENTER,
          "displayText": true,
          "hExpand": true,
          "margin": [12, 6, 12, 6],
          "marginInPixel": true,
          "padding": [0, 3, 0, 3],
          "paddingInPixel": false,
          "vExpand": false,
          "widgetAlignment": constants.WIDGET_ALIGN_CENTER
      }, {});
      frmEmail.add(hbox103994549623663, button1930040990146518, button1930040990146529);
  };
  
  function frmEmailGlobals() {
      frmEmail = new kony.ui.Form2({
          "addWidgets": addWidgetsfrmEmail,
          "enableCache": false,
          "enabledForIdleTimeout": false,
          "id": "frmEmail",
          "needAppMenu": true,
          "skin": "frm",
          "title": "Email"
      }, {
          "displayOrientation": constants.FORM_DISPLAY_ORIENTATION_PORTRAIT,
          "layoutType": constants.CONTAINER_LAYOUT_BOX,
          "padding": [0, 0, 0, 0],
          "paddingInPixel": false
      }, {
          "animateHeaderFooter": false,
          "directChildrenIDs": ["button1930040990146518", "button1930040990146529", "hbox103994549623663", "label103994549623664"],
          "inTransitionConfig": {
              "transitionSpeed": 0
          },
          "maxAppMenuButtons": 4,
          "outTransitionConfig": {
              "transitionSpeed": 0
          },
          "retainScrollPosition": false,
          "titleBar": true
      });
      frmEmail.info = {
          "kuid": "p2kwiet1288931495966"
      };
  };