public void encodeBegin(FacesContext context) throws IOException { Object value = getValue(); if (value instanceof byte[]) { getImageByteArrayResource(context).setContent((byte[]) value); } super.encodeBegin(context); }
public void encodeBegin(FacesContext context) throws IOException { Object value = getValue(); if (value instanceof byte[]) { getImageByteArrayResource(context).setContent((byte[]) value); } super.encodeBegin(context); }