SOURCE CODE: Uize.Widgets.Form.Input.Text.Html (view docs)

Uize.module ({
  name:'Uize.Widgets.Form.Input.Text.Html',
  required:[
    'Uize.Util.Html.Encode'
  ],
  builder:function () {
    'use strict';

    return Uize.package ({
      process:function (i) {
        function _encodeAttributeValue (_value) {return Uize.Util.Html.Encode.encode (_value)}
        var
          m = this,
          i = arguments [0],
          _idPrefix = i.idPrefix
        ;
        return (
          '<input type="text" id="' + _idPrefix + '" class="' + i['mCssBindings_rootNodeClasses'] + '" value="' + _encodeAttributeValue (i['value']) + '"/>'
        );

      }
    });
  }
});