SOURCE CODE: Uize.Widgets.FlavoredMessage.Html (view docs)

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

    return Uize.package ({
      process:function (i) {
        function _cssClass (_class) {return m.cssClass (_class)}
        function _encodeAttributeValue (_value) {return Uize.Util.Html.Encode.encode (_value)}
        var
          m = this,
          i = arguments [0],
          _idPrefix = i.idPrefix,
          _fragment0 = '" class="'
        ;
        return (
          '<table id="' + _idPrefix + _fragment0 + i['mCssBindings_rootNodeClasses'] + '">\n  <tr>\n    <td><div class="' + _cssClass ('icon') + '"></div></td>\n    <td id="' + _idPrefix + '-message' + _fragment0 + _cssClass ('message') + '">' + _encodeAttributeValue (i['message']) + '</td>\n  </tr>\n</table>'
        );

      }
    });
  }
});