Package de.innovationgate.wgpublisher.webtml.utils

Examples of de.innovationgate.wgpublisher.webtml.utils.FormInfo


        // if an action was called
        if (actioncalled) {
            // if keepOnValidate is true and form was validated once and form was not validated
            // in this request
            if (form != null) {
                FormInfo formInfo = form.getforminfo();
                if (formInfo.isValidated() && formInfo.keepOnValidate() && !form.wasValidatedInThisRequest()) {
                    form.validate();
                }
            }
        }
       
View Full Code Here


                }
            }
           
            // Create TMLForm, if form information was issued
            if (form != null) {
                FormInfo formInfo = new FormInfo(form.getId(), false, false);
                formInfo.setSource("none");
                formInfo.setKeepOnValidate(false);
                CSConfig csConfig = (CSConfig) db.getAttribute(WGACore.DBATTRIB_CSCONFIG);
                if (csConfig != null) {
                    formInfo.setVersionCompliance(csConfig.getVersionCompliance());
                }
                de.innovationgate.wgpublisher.webtml.utils.TMLForm tmlForm = context.createform(formInfo);
                tmlForm.importServicesForm(form);
            }
           
View Full Code Here

       
        if (!(arg instanceof FormInfo)) {
            throw new EvaluatorException("Method WGA.createForm() needs an FormInfo object as parameter");
        }
       
        FormInfo formInfo = (FormInfo) arg;
   
        return fetchInitialContext(cx).createform(formInfo);
       
    }
View Full Code Here

            // update default action if neccessary
            updateDefaultAction(status.formInfo);
    }   
    else {
            // inititalize new formInfo
        status.formInfo = new FormInfo(this.getId(), this.getHtmlinput(), stringToBoolean(this.getPersist()));
        status.formInfo.setSource(status.source);
        status.formInfo.setTrim(stringToBoolean(this.getTrim()));
        status.formInfo.setKeepOnValidate(stringToBoolean(this.getKeeponvalidate()));
            status.formInfo.setTargetContextPath(getTMLContext().getpath());
            status.formInfo.setContentClass(getContentclass());
View Full Code Here

TOP

Related Classes of de.innovationgate.wgpublisher.webtml.utils.FormInfo

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.