pageContext.getOut().write(message.getMessage());
if ("slot".equalsIgnoreCase(getShow()) || "label".equalsIgnoreCase(getShow())) { if (message.getSlot() != null) { pageContext.getOut().write(message.getSlot().getLabel()); } else { logger.warn("asked to show " + getShow() + " but not " + getShow() + " was defined"); } } else { pageContext.getOut().write(message.getMessage()); }
    private void writeMessage(ViewStateMessage message) throws JspException {        try {            pageContext.getOut().write(message.getMessage());        } catch (IOException e) {            throw new JspException(e);        }    }