[Yanel-commits] rev 33119 -
public/yanel/trunk/src/contributions/resources/data-repo-sitetree/src/java/org/wyona/yanel/impl/resources
michi at wyona.com
michi at wyona.com
Sun Mar 9 23:53:55 CET 2008
Author: michi
Date: 2008-03-09 23:53:54 +0100 (Sun, 09 Mar 2008)
New Revision: 33119
Modified:
public/yanel/trunk/src/contributions/resources/data-repo-sitetree/src/java/org/wyona/yanel/impl/resources/DataRepoSitetreeResource.java
Log:
use getRepoNavigation() of realm class
Modified: public/yanel/trunk/src/contributions/resources/data-repo-sitetree/src/java/org/wyona/yanel/impl/resources/DataRepoSitetreeResource.java
===================================================================
--- public/yanel/trunk/src/contributions/resources/data-repo-sitetree/src/java/org/wyona/yanel/impl/resources/DataRepoSitetreeResource.java 2008-03-09 22:53:22 UTC (rev 33118)
+++ public/yanel/trunk/src/contributions/resources/data-repo-sitetree/src/java/org/wyona/yanel/impl/resources/DataRepoSitetreeResource.java 2008-03-09 22:53:54 UTC (rev 33119)
@@ -106,7 +106,7 @@
private String getNodeAsXML(String path) {
//private String getNodeAsXML(com.hp.hpl.jena.rdf.model.Resource resource) {
//log.error("DEBUG: Path: " + path);
- Sitetree sitetree = (Sitetree) getYanel().getBeanFactory().getBean("repo-navigation");
+ Sitetree sitetree = getRealm().getRepoNavigation();
Node node = sitetree.getNode(getRealm(), path);
StringBuffer sb = new StringBuffer("");
More information about the Yanel-commits
mailing list