Package com.adito.properties.attributes.forms

Examples of com.adito.properties.attributes.forms.AttributeDefinitionForm.initialise()


        AttributeDefinitionForm df = (AttributeDefinitionForm) form;
        AttributeDefinition def = (AttributeDefinition) request.getSession().getAttribute(Constants.EDITING_ITEM);
        if (def.isSystem()) {
            throw new Exception("System attribute definitions may not be edited.");
        }
        df.initialise(def);
        df.setEditing();
        df.setReferer(CoreUtil.getReferer(request));
        CoreUtil.addRequiredFieldMessage(this, request);
        return mapping.findForward("display");
    }
View Full Code Here


        if (def.isSystem()) {
            throw new Exception("System attribute definitions may not be edited.");
        }
       
        // Initialise the form
        df.initialise(def);
        df.setCreating();
        df.setReferer(CoreUtil.getReferer(request));
       
        // Display
        CoreUtil.addRequiredFieldMessage(this, request);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.