Examples of WMSRenderingForm


Examples of org.vfny.geoserver.form.wms.WMSRenderingForm

  public ActionForward execute(ActionMapping mapping, ActionForm form,
      UserContainer user, HttpServletRequest request, HttpServletResponse response
  ) throws IOException, ServletException {
   
      WMSConfig config = getWMSConfig();
          WMSRenderingForm renderingForm = (WMSRenderingForm) form;

          boolean svgAntiAlias = renderingForm.getSvgAntiAlias();

          if (renderingForm.isSvgAntiAliasChecked() == false) {
            svgAntiAlias = false;
          }
         
          config.setSvgRenderer(renderingForm.getSvgRenderer());
          config.setSvgAntiAlias(svgAntiAlias);
          getApplicationState().notifyConfigChanged();

          return mapping.findForward("config");
      }
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.