[Yanel-commits] rev 44117 -
public/yanel/trunk/src/contributions/resources/contact-form/src/java/org/wyona/yanel/impl/resources
michi at wyona.com
michi at wyona.com
Tue Aug 11 11:15:41 CEST 2009
Author: michi
Date: 2009-08-11 11:15:40 +0200 (Tue, 11 Aug 2009)
New Revision: 44117
Modified:
public/yanel/trunk/src/contributions/resources/contact-form/src/java/org/wyona/yanel/impl/resources/ContactResource.java
Log:
obsolete methods removed
Modified: public/yanel/trunk/src/contributions/resources/contact-form/src/java/org/wyona/yanel/impl/resources/ContactResource.java
===================================================================
--- public/yanel/trunk/src/contributions/resources/contact-form/src/java/org/wyona/yanel/impl/resources/ContactResource.java 2009-08-11 09:02:46 UTC (rev 44116)
+++ public/yanel/trunk/src/contributions/resources/contact-form/src/java/org/wyona/yanel/impl/resources/ContactResource.java 2009-08-11 09:15:40 UTC (rev 44117)
@@ -67,7 +67,6 @@
private String defaultLanguage = "en";
private String messageBundle = "contact-form";
- private RepoPath rp = null;
private Path path = null;
private String language = null;
@@ -81,11 +80,11 @@
return null;
}
- public View getView(HttpServletRequest request, String viewId)
- throws Exception {
+ /**
+ *
+ */
+ public View getView(HttpServletRequest request, String viewId) throws Exception {
path = new Path(request.getServletPath());
- rp = new org.wyona.yarep.util.YarepUtil().getRepositoryPath(new org.wyona.yarep.core.Path(path.toString()), getRepositoryFactory());
- rp.getRepo();
try {
language = request.getParameter("yanel.meta.language");
} catch(Exception e) {
@@ -270,10 +269,6 @@
return "application/xhtml+xml";
}
- protected RepositoryFactory getRepositoryFactory() {
- return yanel.getRepositoryFactory(org.wyona.yanel.core.map.Realm.DEFAULT_REPOSITORY_FACTORY_BEAN_ID);
- }
-
private String getEmailRegEx() throws Exception {
if (getResourceConfigProperty("email-validation-regex") != null) return getResourceConfigProperty("email-validation-regex");
return defaultEmailRegEx;
More information about the Yanel-commits
mailing list