if (image.startsWith("HTTP:") || image.startsWith("FTP:") || image.startsWith("/")) {
// absolute Path to image : nothing to do
} else {
image = ResourceManagerUtil.getImageWithPath(facesContext, image, helper);
}
writer.startElement(HtmlConstants.IMG, command);
writer.writeAttribute(HtmlAttributes.SRC, image, true);
writer.writeAttribute(HtmlAttributes.ALT, "", false);
writer.writeAttribute(HtmlAttributes.BORDER, 0); // TODO: is border=0 setting via style possible?
writer.writeAttributeFromComponent(HtmlAttributes.TITLE, ATTR_TIP);
writer.endElement(HtmlConstants.IMG);