[Yanel-commits] rev 22746 -
public/yanel/trunk/src/realms/welcome-admin/yanel/resources/show-realms/src/java/org/wyona/yanel/impl/resources
michi at wyona.com
michi at wyona.com
Sat Feb 17 21:13:03 CET 2007
Author: michi
Date: 2007-02-17 21:13:02 +0100 (Sat, 17 Feb 2007)
New Revision: 22746
Modified:
public/yanel/trunk/src/realms/welcome-admin/yanel/resources/show-realms/src/java/org/wyona/yanel/impl/resources/ShowRealms.java
Log:
use rc instead rti
Modified: public/yanel/trunk/src/realms/welcome-admin/yanel/resources/show-realms/src/java/org/wyona/yanel/impl/resources/ShowRealms.java
===================================================================
--- public/yanel/trunk/src/realms/welcome-admin/yanel/resources/show-realms/src/java/org/wyona/yanel/impl/resources/ShowRealms.java 2007-02-17 20:12:41 UTC (rev 22745)
+++ public/yanel/trunk/src/realms/welcome-admin/yanel/resources/show-realms/src/java/org/wyona/yanel/impl/resources/ShowRealms.java 2007-02-17 20:13:02 UTC (rev 22746)
@@ -162,15 +162,17 @@
/**
*
*/
- private String getXSLTPath() {
- return getRTI().getProperty("xslt");
+ private String getXSLTPath() throws Exception {
+ return getConfiguration().getProperty("xslt");
+ //return getRTI().getProperty("xslt");
}
/**
*
*/
- private String getMimeType(String path) {
- String mimeType = getRTI().getProperty("mime-type");
+ public String getMimeType(String path) throws Exception {
+ String mimeType = getConfiguration().getProperty("mime-type");
+ //String mimeType = getRTI().getProperty("mime-type");
if (mimeType == null) mimeType = "application/xhtml+xml";
return mimeType;
}
More information about the Yanel-commits
mailing list