Project

General

Profile

« Previous | Next » 

Revision 5847

rework geoserver configuration:
-geoserver context is set to 'geoserver' by default, but can be reconfigured
-data directory is set in the geoserver web.xml file (we have a template, set the value accordingly, then overwrite the deployed version in the geoserver webapp)
-the admin password is set directly in the data/security/users.properties file

View differences:

geoserver-configuration.jsp
59 59
	<hr class="config-line">
60 60
	
61 61
	<div class="form-row">
62
		<img class="question-mark" src="style/images/question-mark.gif" 
63
			onClick="helpWindow('<%= request.getContextPath() %>','metacat-configure.html#GEOSERVER_DATA_DIR')"/>
64
		<div class="textinput-label"><label for="geoserver.context" title="Geoserver data directory">Geoserver Data Directory</label></div>
65
		<input class="textinput" id="geoserver.GEOSERVER_DATA_DIR" 
66
				name="geoserver.GEOSERVER_DATA_DIR" 	             		    	    	           		    	             			
67
				value="<%= request.getAttribute("geoserver.GEOSERVER_DATA_DIR") %>"/> 
68
	</div>
69
	<div class="form-row">
70
		<img class="question-mark" src="style/images/question-mark.gif" 
71
			onClick="helpWindow('<%= request.getContextPath() %>','metacat-configure.html#GeoserverContext')"/>
72
		<div class="textinput-label"><label for="geoserver.context" title="Geoserver context">Context</label></div>
73
		<input class="textinput" id="geoserver.context" 
74
				name="geoserver.context" 	             		    	    	           		    	             			
75
				value="<%= request.getAttribute("geoserver.context") %>"/> 
76
	</div>
77
	<hr class="config-line">
78
	<div class="form-row">
62 79
				<img class="question-mark" src="style/images/question-mark.gif" 
63 80
	           		 onClick="helpWindow('<%= request.getContextPath() %>','metacat-configure.html#GeoserverUpdatePassword')"/>
64 81
				<div class="textinput-label"><label for="geoserver.username" title="Geoserver user name">User Name</label></div>
65 82
				<input class="textinput" id="geoserver.username" 
66
					   name="geoserver.username" 	             		    	    	           		    	             			
83
					   name="geoserver.username" readonly="readonly" 		    	    	           		    	             			
67 84
	           		   value="<%= request.getAttribute("geoserver.username") %>"/> 
68 85
	</div>
69 86
	<div class="form-row">

Also available in: Unified diff