Is it possible to use a StreamedContent as parameter of the image attribute in an imageCropper tag?
Ex:
Code: Select all
public class Bean{
private StreamedContent image;
private CroppedImage croppedImage;
// getters and setters ....
}
Code: Select all
<p:imageCropper
value="#{bean.croppedImage}"
image="#{bean.image}" initialCoords="225,75,300,125" />
JSF 2 + Primefaces 3.0.M2-SNAPSHOT