Revision 8790
Added by ben leinfelder over 10 years ago
src/edu/ucsb/nceas/metacat/replication/ReplicationService.java | ||
---|---|---|
336 | 336 |
String dataReplicate = null; |
337 | 337 |
String hub = null; |
338 | 338 |
Writer out = null; |
339 |
boolean showGenerateSystemMetadata = false;
|
|
339 |
boolean showGenerateSystemMetadata = true;
|
|
340 | 340 |
try { |
341 | 341 |
response.setContentType("text/xml"); |
342 | 342 |
out = response.getWriter(); |
... | ... | |
494 | 494 |
return; |
495 | 495 |
} |
496 | 496 |
|
497 |
// show SM generate button?
|
|
498 |
String dataoneConfigured = PropertyService.getProperty("configutil.dataoneConfigured"); |
|
499 |
if (dataoneConfigured != null) { |
|
500 |
showGenerateSystemMetadata = Boolean.parseBoolean(dataoneConfigured); |
|
501 |
} |
|
497 |
// hide SM/ORE buttons?
|
|
498 |
// String dataoneConfigured = PropertyService.getProperty("configutil.dataoneConfigured");
|
|
499 |
// if (dataoneConfigured != null) {
|
|
500 |
// showGenerateSystemMetadata = Boolean.parseBoolean(dataoneConfigured);
|
|
501 |
// }
|
|
502 | 502 |
|
503 | 503 |
// always list them after processing |
504 | 504 |
response.setContentType("text/html"); |
Also available in: Unified diff
show the SM and ORE generation buttons even if they have not registered/configured dataone. many potential MNs want to see their generated SM before registering (and we want them to too!).