Package at.reppeitsolutions.formbuilder.components

Examples of at.reppeitsolutions.formbuilder.components.FormBuilderAttributesContainer


    @Override
    public void encodeBegin(FacesContext ctx,
            UIComponent component) throws IOException {
        FormBuilder formBuilder = (FormBuilder) component;
        String uuid = UUID.randomUUID().toString();
        FormBuilderAttributesContainer container = new FormBuilderAttributesContainer();
        container.setForm(formBuilder.getForm());
        container.setWorkflowStates(formBuilder.getWorkflowStates());
        container.setConstraintClients(formBuilder.getConstraintClients());
        container.setMetaDataObject(formBuilder.getMetaDataObject());
        container.setMetaDataDescriptions(formBuilder.getMetaDataDescriptions());
        container.setMetaDataFetcher(formBuilder.getMetaDataFetcher());
        ModelApplicationBean.getInstance().putForm(uuid, container);
        HttpServletRequest request = (HttpServletRequest) FacesContext.getCurrentInstance().getExternalContext().getRequest();
        formBuilder.getIFrame().setSrc(request.getContextPath() + "/pages/formbuilder.xhtml?uuid=" + uuid);

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

TOP

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

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.