}
@Override
public void encodeBegin(FacesContext ctx,
UIComponent component) throws IOException {
FormDataResult formDataResult = (FormDataResult) component;
String uuid = UUID.randomUUID().toString();
FormDataResultAttributesContainer container = new FormDataResultAttributesContainer();
container.setFormDatas(formDataResult.getFormDatas());
ModelApplicationBean.getInstance().putFormDataResult(uuid, container);
HttpServletRequest request = (HttpServletRequest) FacesContext.getCurrentInstance().getExternalContext().getRequest();
formDataResult.getIFrame().setSrc(request.getContextPath() + "/pages/formresult.xhtml?uuid=" + uuid);
}