code: @Override
      public void render(
              Context context,
              Message message,
              SafeHtmlBuilder safeHtmlBuilder)
      {
  
  
          //ImageResource icon = MessageCenterView.getSeverityIcon(message.getSeverity());
          //AbstractImagePrototype prototype = AbstractImagePrototype.create(icon);
  
          String styles = (context.getIndex() %2 > 0) ? "message-list-item message-list-item-odd" : "message-list-item";
          String rowStyle= message.isNew()  ? "" : "message-list-item-old";
          styles = styles + " list-" +message.getSeverity().getStyle();
  
          safeHtmlBuilder.appendHtmlConstant("<table width='100%' cellpadding=4 cellspacing=0>");
          safeHtmlBuilder.appendHtmlConstant("<tr valign='middle' class='"+rowStyle+"'>");
          /*safeHtmlBuilder.appendHtmlConstant("<td width='10%'>");
          safeHtmlBuilder.appendHtmlConstant(message.getSeverity().getTag());
          safeHtmlBuilder.appendHtmlConstant("</td>");*/
          safeHtmlBuilder.appendHtmlConstant("<td>");
  
          safeHtmlBuilder.appendHtmlConstant("<div class='"+styles+"'>");
          String actualMessage = message.getConciseMessage().length()>30 ? message.getConciseMessage().substring(0, 30)+" ..." : message.getConciseMessage();
  
          //safeHtmlBuilder.appendHtmlConstant(TEMPLATE.message(styles, actualMessage));
          safeHtmlBuilder.appendEscaped(actualMessage);
          safeHtmlBuilder.appendHtmlConstant("</div>");
  
  
          safeHtmlBuilder.appendHtmlConstant("</td></tr></table>");
  
      }
docs: private static final Template TEMPLATE = GWT.create(Template.class);