Package org.geoserver.config

Examples of org.geoserver.config.ReadOnlyGeoServerLoader


            private static final long serialVersionUID = 1L;

            @Override
            protected void onSubmit(AjaxRequestTarget target,
                    org.apache.wicket.markup.html.form.Form<?> form) {
                ReadOnlyGeoServerLoader loader = getReadOnlyGeoServerLoader();
                if (loader.isEnabled()) {
                    readOnlyInfo.getModel().setObject("disabled");
                    loader.enable(false);
                } else {
                    readOnlyInfo.getModel().setObject("enabled");
                    loader.enable(true);
                }
                target.addComponent(this.getParent());
            }
        };
        form.add(readOnly);
View Full Code Here

TOP

Related Classes of org.geoserver.config.ReadOnlyGeoServerLoader

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.