Project

General

Profile

« Previous | Next » 

Revision 6126

expose spatial cache regeneration option in the admin interface

View differences:

geoserver-configuration.jsp
70 70
	</div>
71 71
	<div class="form-row">
72 72
		<img class="question-mark" src="style/images/question-mark.gif" 
73
			onClick="helpWindow('<%= request.getContextPath() %>','metacat-configure.html#GEOSERVER_REGENERATE_CACHE')"/>
74
		<div class="textinput-label"><label for="spatial.regenerateCacheOnRestart" title="Regenerate spatial cache">Regenerate spatial cache</label></div>
75

  
76
		<%
77
		boolean regenerate = (Boolean) request.getAttribute("spatial.regenerateCacheOnRestart");
78
		if (regenerate) { 
79
		%>
80
		<input type="checkbox" class="textinput" id="spatial.regenerateCacheOnRestart" 
81
				name="spatial.regenerateCacheOnRestart" 	             		    	    	           		    	             			
82
				value="true"
83
				checked="checked"/>
84
		<% } else {%>
85
		<input type="checkbox" class="textinput" id="spatial.regenerateCacheOnRestart" 
86
				name="spatial.regenerateCacheOnRestart" 	             		    	    	           		    	             			
87
				value="true"/>
88
		<% } %>
89

  
90
	</div>
91
	<div class="form-row">
92
		<img class="question-mark" src="style/images/question-mark.gif" 
73 93
			onClick="helpWindow('<%= request.getContextPath() %>','metacat-configure.html#GeoserverContext')"/>
74 94
		<div class="textinput-label"><label for="geoserver.context" title="Geoserver context">Context</label></div>
75 95
		<input class="textinput" id="geoserver.context" 

Also available in: Unified diff