@Test public void test23() throws Exception { request.setAttribute(ResultMessages.DEFAULT_MESSAGES_ATTRIBUTE_NAME, "hello world!"); tag.setMessagesType("error"); int ret = tag.doStartTag(); String expected = "<div class=\"alert alert-error\"><ul><li>hello world!</li></ul></div>"; assertThat(getOutput(), is(expected)); assertThat(ret, is(TagSupport.EVAL_BODY_INCLUDE)); }
public void setMessagesType(String messagesType) { this.messagesType = messagesType; }
MessagesPanelTag extends RequestContextAwareTag { public void setMessagesType(String messagesType) { this.messagesType = messagesType; } }
MessagesPanelTag extends RequestContextAwareTag { public void setMessagesType(String messagesType) { this.messagesType = messagesType; }  }
MessagesPanelTag extends RequestContextAwareTag { public void setMessagesType(String messagesType) { this.messagesType = messagesType; }  void setMessagesAttributeName(String messagesAttributeName); void setPanelClassName(String panelClassName); void setPanelTypeClassPrefix(String panelTypeClassPrefix); void setPanelElement(String panelElement); void setOuterElement(String outerElement); void setInnerElement(String innerElement); void setMessagesType(String messagesType); void setDisableHtmlEscape(
            String disableHtmlEscape); }
MessagesPanelTag extends RequestContextAwareTag { public void setMessagesType(String messagesType) { this.messagesType = messagesType; }  void setMessagesAttributeName(String messagesAttributeName); void setPanelClassName(String panelClassName); void setPanelTypeClassPrefix(String panelTypeClassPrefix); void setPanelElement(String panelElement); void setOuterElement(String outerElement); void setInnerElement(String innerElement); void setMessagesType(String messagesType); void setDisableHtmlEscape(
            String disableHtmlEscape);  }