Revision 6864
Added by ben leinfelder almost 13 years ago
dataone-configuration.jsp | ||
---|---|---|
131 | 131 |
<div class="textinput-label"><label for="dataone.nodeSynchronize" title="Share metadata with DataONE">Share with DataONE</label></div> |
132 | 132 |
|
133 | 133 |
<% |
134 |
boolean synchronize = (Boolean) request.getAttribute("dataone.nodeSynchronize"); |
|
134 |
|
|
135 |
boolean synchronize = false; |
|
136 |
String nodeSynchronize = (String) request.getAttribute("dataone.nodeSynchronize"); |
|
137 |
if (nodeSynchronize != null) { |
|
138 |
synchronize = Boolean.parseBoolean(nodeSynchronize); |
|
139 |
} |
|
140 |
|
|
135 | 141 |
if (synchronize) { |
136 | 142 |
%> |
137 | 143 |
<input type="checkbox" |
... | ... | |
155 | 161 |
<div class="textinput-label"><label for="dataone.nodeReplicate" title="Accept Replicas from other Member Nodes">Accept Replicas</label></div> |
156 | 162 |
|
157 | 163 |
<% |
158 |
boolean replicate = (Boolean) request.getAttribute("dataone.nodeReplicate"); |
|
164 |
boolean replicate = false; |
|
165 |
String nodeReplicate = (String) request.getAttribute("dataone.nodeReplicate"); |
|
166 |
if (nodeReplicate != null) { |
|
167 |
replicate = Boolean.parseBoolean(nodeReplicate); |
|
168 |
} |
|
159 | 169 |
if (replicate) { |
160 | 170 |
%> |
161 | 171 |
<input type="checkbox" |
Also available in: Unified diff
store D1 configuration properties in the main backup so that they persist between upgrades.