use of com.liferay.faces.demos.applicant.richfaces.facelets.dto.Applicant in project liferay-faces-bridge-impl by liferay.
the class ApplicantBacking method postConstruct.
@PostConstruct
public void postConstruct() {
applicant = new Applicant();
FacesContext facesContext = FacesContext.getCurrentInstance();
File attachmentDir = attachmentManager.getAttachmentDir(facesContext);
List<Attachment> attachments = attachmentManager.getAttachments(attachmentDir);
applicant.setAttachments(attachments);
}
Aggregations