I have a entity attribute String for input a link_logo in my form , i want just to know what can i write on the view for input the logo.
The Attribute on entity (agency):
@Column(name = "Logo")
private String link_logo;
My save method it worked and the bean too. I searched in the showcase but no result.
there is my view code now :
<div class="ui-sm-12 ui-md-2 ui-lg-1">
<p:outputLabel value="Upload image:" for="img" />
</div>
<div class="ui-sm-12 ui-md-4 ui-lg-5" >
<p:graphicImage id="img" value="#{agenceFormBean.agence.link_logo}" style="width:100%" />
</div>
any solutions please ?