Package at.reppeitsolutions.formbuilder.components

Examples of at.reppeitsolutions.formbuilder.components.FormFillerAttributesContainer


    @Override
    public void encodeBegin(FacesContext ctx,
            UIComponent component) throws IOException {
        FormFiller formFiller = (FormFiller) component;
        String uuid = UUID.randomUUID().toString();
        FormFillerAttributesContainer container = new FormFillerAttributesContainer();
        container.setFormData(formFiller.getFormData());
        container.setWorkflowState(formFiller.getWorkflowState());
        container.setConstraintClient(formFiller.getConstraintClient());
        container.setMetaDataObject(formFiller.getMetaDataObject());
        container.setMetaDataFetcher(formFiller.getMetaDataFetcher());
        ModelApplicationBean.getInstance().putFormData(uuid, container);
        HttpServletRequest request = (HttpServletRequest) FacesContext.getCurrentInstance().getExternalContext().getRequest();
        formFiller.getIFrame().setSrc(request.getContextPath() + "/pages/formfiller.xhtml?uuid=" + uuid + "&mode=" + formFiller.getMode());

        formFiller.getCallbackButton().setActionExpression(formFiller.getActionExpression());
View Full Code Here

TOP

Related Classes of at.reppeitsolutions.formbuilder.components.FormFillerAttributesContainer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.