Revision 4091
Added by daigle over 16 years ago
src/edu/ucsb/nceas/metacat/spatial/SpatialDocument.java | ||
---|---|---|
276 | 276 |
docUrl = SystemUtil.getServletURL() |
277 | 277 |
+ "?action=read&docid=" + docid |
278 | 278 |
+ "&qformat=" |
279 |
+ PropertyService.getProperty("default-style"); |
|
279 |
+ PropertyService.getProperty("application.default-style");
|
|
280 | 280 |
} catch (PropertyNotFoundException pnfe) { |
281 | 281 |
log.error("Could not get access url because of unavailable property: " |
282 | 282 |
+ pnfe.getMessage()); |
src/edu/ucsb/nceas/metacat/MetaCatServlet.java | ||
---|---|---|
1 |
/**
|
|
1 |
/** |
|
2 | 2 |
* '$RCSfile$' |
3 | 3 |
* Purpose: A Class that implements a metadata catalog as a java Servlet |
4 | 4 |
* Copyright: 2006 Regents of the University of California and the |
... | ... | |
3777 | 3777 |
directoryName = |
3778 | 3778 |
PropertyService.getProperty("application.tomcatDir") + "/webapps/" |
3779 | 3779 |
+ PropertyService.getProperty("application.context") + "/sitemaps"; |
3780 |
skin = PropertyService.getProperty("default-style"); |
|
3780 |
skin = PropertyService.getProperty("application.default-style");
|
|
3781 | 3781 |
sitemapInterval = |
3782 | 3782 |
Integer.parseInt(PropertyService.getProperty("sitemapInterval")); |
3783 | 3783 |
} catch (PropertyNotFoundException pnfe) { |
Also available in: Unified diff
Change default-style property to application.default-style