text: function addWidgetsfrmTxtArea() {
      var hBoxTextArea = new kony.ui.Box({
          "focusSkin": "headBox",
          "id": "hBoxTextArea",
          "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 lblTextArea = new kony.ui.Label({
          "id": "lblTextArea",
          "isVisible": true,
          "skin": "headLabel",
          "text": "TextArea"
      }, {
          "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
      });
      hBoxTextArea.add(lblTextArea);
      var label117989725235254 = new kony.ui.Label({
          "id": "label117989725235254",
          "isVisible": true,
          "skin": "lblSub",
          "text": "Default TextArea"
      }, {
          "containerWeight": 100,
          "contentAlignment": constants.CONTENT_ALIGN_MIDDLE_LEFT,
          "hExpand": true,
          "margin": [2, 2, 2, 2],
          "marginInPixel": false,
          "padding": [1, 2, 1, 2],
          "paddingInPixel": false,
          "vExpand": false,
          "widgetAlignment": constants.WIDGET_ALIGN_CENTER
      }, {
          "renderAsAnchor": false,
          "textCopyable": false
      });
      var textarea2117989725235255 = new kony.ui.TextArea2({
          "autoCapitalize": constants.TEXTAREA_AUTO_CAPITALIZE_NONE,
          "focusSkin": "txtAreaNormal1",
          "id": "textarea2117989725235255",
          "isVisible": true,
          "keyBoardStyle": constants.TEXTAREA_KEY_BOARD_STYLE_DEFAULT,
          "numberOfVisibleLines": 3,
          "skin": "txtAreaNormal1",
          "textInputMode": constants.TEXTAREA_INPUT_MODE_ANY
      }, {
          "containerWeight": 100,
          "contentAlignment": constants.CONTENT_ALIGN_TOP_LEFT,
          "hExpand": true,
          "margin": [3, 0, 3, 0],
          "marginInPixel": false,
          "padding": [1, 1, 1, 1],
          "paddingInPixel": false,
          "widgetAlignment": constants.WIDGET_ALIGN_CENTER
      }, {
          "autoCorrect": false
      });
      var label117989725235273 = new kony.ui.Label({
          "id": "label117989725235273",
          "isVisible": true,
          "skin": "lblSub",
          "text": "TextArea with placeholder"
      }, {
          "containerWeight": 100,
          "contentAlignment": constants.CONTENT_ALIGN_MIDDLE_LEFT,
          "hExpand": true,
          "margin": [2, 2, 2, 2],
          "marginInPixel": false,
          "padding": [1, 2, 1, 2],
          "paddingInPixel": false,
          "vExpand": false,
          "widgetAlignment": constants.WIDGET_ALIGN_CENTER
      }, {
          "renderAsAnchor": false,
          "textCopyable": false
      });
      var textarea2117989725235286 = new kony.ui.TextArea2({
          "autoCapitalize": constants.TEXTAREA_AUTO_CAPITALIZE_NONE,
          "focusSkin": "txtAreaNormal1",
          "id": "textarea2117989725235286",
          "isVisible": true,
          "keyBoardStyle": constants.TEXTAREA_KEY_BOARD_STYLE_DEFAULT,
          "numberOfVisibleLines": 3,
          "placeholder": "Enter text",
          "skin": "txtAreaNormal1",
          "textInputMode": constants.TEXTAREA_INPUT_MODE_ANY
      }, {
          "containerWeight": 100,
          "contentAlignment": constants.CONTENT_ALIGN_TOP_LEFT,
          "hExpand": true,
          "margin": [3, 0, 3, 0],
          "marginInPixel": false,
          "padding": [1, 1, 1, 1],
          "paddingInPixel": false,
          "widgetAlignment": constants.WIDGET_ALIGN_CENTER
      }, {
          "autoCorrect": false
      });
      var label117989725235318 = new kony.ui.Label({
          "id": "label117989725235318",
          "isVisible": true,
          "skin": "lblSub",
          "text": "TextArea with background color"
      }, {
          "containerWeight": 100,
          "contentAlignment": constants.CONTENT_ALIGN_MIDDLE_LEFT,
          "hExpand": true,
          "margin": [2, 2, 2, 2],
          "marginInPixel": false,
          "padding": [1, 2, 1, 2],
          "paddingInPixel": false,
          "vExpand": false,
          "widgetAlignment": constants.WIDGET_ALIGN_CENTER
      }, {
          "renderAsAnchor": false,
          "textCopyable": false
      });
      var textarea2117989725235330 = new kony.ui.TextArea2({
          "autoCapitalize": constants.TEXTAREA_AUTO_CAPITALIZE_NONE,
          "focusSkin": "txtAreaBGColor",
          "id": "textarea2117989725235330",
          "isVisible": true,
          "keyBoardStyle": constants.TEXTAREA_KEY_BOARD_STYLE_DEFAULT,
          "numberOfVisibleLines": 3,
          "placeholder": "Enter text",
          "skin": "txtAreaBGColor",
          "textInputMode": constants.TEXTAREA_INPUT_MODE_ANY
      }, {
          "containerWeight": 100,
          "contentAlignment": constants.CONTENT_ALIGN_TOP_LEFT,
          "hExpand": true,
          "margin": [3, 0, 3, 0],
          "marginInPixel": false,
          "padding": [1, 1, 1, 1],
          "paddingInPixel": false,
          "widgetAlignment": constants.WIDGET_ALIGN_CENTER
      }, {
          "autoCorrect": false
      });
      var label117989725235348 = new kony.ui.Label({
          "id": "label117989725235348",
          "isVisible": true,
          "skin": "lblSub",
          "text": "TextArea with VerticalGradient"
      }, {
          "containerWeight": 100,
          "contentAlignment": constants.CONTENT_ALIGN_MIDDLE_LEFT,
          "hExpand": true,
          "margin": [2, 2, 2, 2],
          "marginInPixel": false,
          "padding": [1, 2, 1, 2],
          "paddingInPixel": false,
          "vExpand": false,
          "widgetAlignment": constants.WIDGET_ALIGN_CENTER
      }, {
          "renderAsAnchor": false,
          "textCopyable": false
      });
      var textarea2117989725235366 = new kony.ui.TextArea2({
          "autoCapitalize": constants.TEXTAREA_AUTO_CAPITALIZE_NONE,
          "focusSkin": "txtVertiGrad",
          "id": "textarea2117989725235366",
          "isVisible": true,
          "keyBoardStyle": constants.TEXTAREA_KEY_BOARD_STYLE_DEFAULT,
          "numberOfVisibleLines": 3,
          "placeholder": "Enter text",
          "skin": "txtVertiGrad",
          "textInputMode": constants.TEXTAREA_INPUT_MODE_ANY
      }, {
          "containerWeight": 100,
          "contentAlignment": constants.CONTENT_ALIGN_TOP_LEFT,
          "hExpand": true,
          "margin": [3, 0, 3, 0],
          "marginInPixel": false,
          "padding": [1, 1, 1, 1],
          "paddingInPixel": false,
          "widgetAlignment": constants.WIDGET_ALIGN_CENTER
      }, {
          "autoCorrect": false
      });
      var label117989725235378 = new kony.ui.Label({
          "id": "label117989725235378",
          "isVisible": true,
          "skin": "lblSub",
          "text": "TextArea with VerticalSplit"
      }, {
          "containerWeight": 100,
          "contentAlignment": constants.CONTENT_ALIGN_MIDDLE_LEFT,
          "hExpand": true,
          "margin": [2, 2, 2, 2],
          "marginInPixel": false,
          "padding": [1, 2, 1, 2],
          "paddingInPixel": false,
          "vExpand": false,
          "widgetAlignment": constants.WIDGET_ALIGN_CENTER
      }, {
          "renderAsAnchor": false,
          "textCopyable": false
      });
      var textarea2117989725235390 = new kony.ui.TextArea2({
          "autoCapitalize": constants.TEXTAREA_AUTO_CAPITALIZE_NONE,
          "focusSkin": "textAreaVertiSplit",
          "id": "textarea2117989725235390",
          "isVisible": true,
          "keyBoardStyle": constants.TEXTAREA_KEY_BOARD_STYLE_DEFAULT,
          "numberOfVisibleLines": 3,
          "placeholder": "Enter text",
          "skin": "textAreaVertiSplit",
          "textInputMode": constants.TEXTAREA_INPUT_MODE_ANY
      }, {
          "containerWeight": 100,
          "contentAlignment": constants.CONTENT_ALIGN_TOP_LEFT,
          "hExpand": true,
          "margin": [3, 0, 3, 0],
          "marginInPixel": false,
          "padding": [1, 1, 1, 1],
          "paddingInPixel": false,
          "widgetAlignment": constants.WIDGET_ALIGN_CENTER
      }, {
          "autoCorrect": false
      });
      var label1181029310129631 = new kony.ui.Label({
          "id": "label1181029310129631",
          "isVisible": true,
          "skin": "lblSub",
          "text": "TextArea with 10 lines visible"
      }, {
          "containerWeight": 100,
          "contentAlignment": constants.CONTENT_ALIGN_MIDDLE_LEFT,
          "hExpand": true,
          "margin": [2, 2, 2, 2],
          "marginInPixel": false,
          "padding": [1, 2, 1, 2],
          "paddingInPixel": false,
          "vExpand": false,
          "widgetAlignment": constants.WIDGET_ALIGN_CENTER
      }, {
          "renderAsAnchor": false,
          "textCopyable": false
      });
      var textarea21181029310129661 = new kony.ui.TextArea2({
          "autoCapitalize": constants.TEXTAREA_AUTO_CAPITALIZE_NONE,
          "id": "textarea21181029310129661",
          "isVisible": true,
          "keyBoardStyle": constants.TEXTAREA_KEY_BOARD_STYLE_DEFAULT,
          "numberOfVisibleLines": 10,
          "placeholder": "Enter text",
          "skin": "txtVertiGrad",
          "textInputMode": constants.TEXTAREA_INPUT_MODE_ANY
      }, {
          "containerWeight": 100,
          "contentAlignment": constants.CONTENT_ALIGN_TOP_LEFT,
          "hExpand": true,
          "margin": [3, 0, 3, 0],
          "marginInPixel": false,
          "padding": [1, 1, 1, 1],
          "paddingInPixel": false,
          "widgetAlignment": constants.WIDGET_ALIGN_CENTER
      }, {
          "autoCorrect": false
      });
      frmTxtArea.add(hBoxTextArea, label117989725235254, textarea2117989725235255, label117989725235273, textarea2117989725235286, label117989725235318, textarea2117989725235330, label117989725235348, textarea2117989725235366, label117989725235378, textarea2117989725235390, label1181029310129631, textarea21181029310129661);
  };
  
  function frmTxtAreaGlobals() {
      frmTxtArea = new kony.ui.Form2({
          "addWidgets": addWidgetsfrmTxtArea,
          "enabledForIdleTimeout": false,
          "id": "frmTxtArea",
          "needAppMenu": true,
          "skin": "frm",
          "title": "TextArea"
      }, {
          "displayOrientation": constants.FORM_DISPLAY_ORIENTATION_BOTH,
          "layoutType": constants.CONTAINER_LAYOUT_BOX,
          "paddingInPixel": false
      }, {
          "inTransitionConfig": {
              "formTransition": "leftCenter"
          },
          "outTransitionConfig": {
              "formTransition": "none"
          },
          "retainScrollPosition": false
      });
      frmTxtArea.info = {
          "kuid": "frmTxtAreaSPAAndroid"
      };
  };