Package org.vfny.geoserver.form.validation

Examples of org.vfny.geoserver.form.validation.ValidationTestEditorForm


public class ValidationTestEditorAction extends ConfigAction {
    public ActionForward execute(ActionMapping mapping,
            ActionForm incomingForm, UserContainer user, HttpServletRequest request,
            HttpServletResponse response) {
       
        ValidationTestEditorForm form = (ValidationTestEditorForm) incomingForm;
       
        String name = form.getName();
        String description = form.getDescription();
        List attributeKeys = form.getAttributeKeys();
        List attributeValues = form.getAttributeValues();
      
        ServletContext context = getServlet().getServletContext();
        ValidationConfig validationConfig = (ValidationConfig) context.getAttribute(ValidationConfig.CONFIG_KEY);
        TestSuiteConfig suiteConfig = (TestSuiteConfig) request.getSession().getAttribute(TestSuiteConfig.CURRENTLY_SELECTED_KEY);
        TestConfig testConfig = (TestConfig) request.getSession().getAttribute(TestConfig.CURRENTLY_SELECTED_KEY);
View Full Code Here

TOP

Related Classes of org.vfny.geoserver.form.validation.ValidationTestEditorForm

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.