incubator-isis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From danhayw...@apache.org
Subject svn commit: r1085955 - in /incubator/isis/trunk/viewer/restful/viewer/src/main/java/org/apache/isis/viewer/restful/viewer/resources: ResourceAbstract.java services/ServicesResourceImpl.java
Date Sun, 27 Mar 2011 15:08:55 GMT
Author: danhaywood
Date: Sun Mar 27 15:08:55 2011
New Revision: 1085955

URL: http://svn.apache.org/viewvc?rev=1085955&view=rev
Log:
ISIS-83, ISIS-84 patches applied

Modified:
    incubator/isis/trunk/viewer/restful/viewer/src/main/java/org/apache/isis/viewer/restful/viewer/resources/ResourceAbstract.java
    incubator/isis/trunk/viewer/restful/viewer/src/main/java/org/apache/isis/viewer/restful/viewer/resources/services/ServicesResourceImpl.java

Modified: incubator/isis/trunk/viewer/restful/viewer/src/main/java/org/apache/isis/viewer/restful/viewer/resources/ResourceAbstract.java
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/viewer/restful/viewer/src/main/java/org/apache/isis/viewer/restful/viewer/resources/ResourceAbstract.java?rev=1085955&r1=1085954&r2=1085955&view=diff
==============================================================================
--- incubator/isis/trunk/viewer/restful/viewer/src/main/java/org/apache/isis/viewer/restful/viewer/resources/ResourceAbstract.java
(original)
+++ incubator/isis/trunk/viewer/restful/viewer/src/main/java/org/apache/isis/viewer/restful/viewer/resources/ResourceAbstract.java
Sun Mar 27 15:08:55 2011
@@ -134,9 +134,9 @@ public abstract class ResourceAbstract {
 
         final Element ul = xhtmlRenderer.ul(HtmlClass.RESOURCES);
         
-        ul.appendChild(xhtmlRenderer.li_a("services", "Services", "services", "resources",
HtmlClass.RESOURCE));
-        ul.appendChild(xhtmlRenderer.li_a("specs", "Specifications (MetaModel)", "specs",
"resources", HtmlClass.RESOURCE));
-        ul.appendChild(xhtmlRenderer.li_a("user", "User (Security)", "user", "resources",
HtmlClass.RESOURCE));
+        ul.appendChild(xhtmlRenderer.li_a("/services", "Services", "services", "resources",
HtmlClass.RESOURCE));
+        ul.appendChild(xhtmlRenderer.li_a("/specs", "Specifications (MetaModel)", "specs",
"resources", HtmlClass.RESOURCE));
+        ul.appendChild(xhtmlRenderer.li_a("/user", "User (Security)", "user", "resources",
HtmlClass.RESOURCE));
         
         div.appendChild(ul);
 		return div;

Modified: incubator/isis/trunk/viewer/restful/viewer/src/main/java/org/apache/isis/viewer/restful/viewer/resources/services/ServicesResourceImpl.java
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/viewer/restful/viewer/src/main/java/org/apache/isis/viewer/restful/viewer/resources/services/ServicesResourceImpl.java?rev=1085955&r1=1085954&r2=1085955&view=diff
==============================================================================
--- incubator/isis/trunk/viewer/restful/viewer/src/main/java/org/apache/isis/viewer/restful/viewer/resources/services/ServicesResourceImpl.java
(original)
+++ incubator/isis/trunk/viewer/restful/viewer/src/main/java/org/apache/isis/viewer/restful/viewer/resources/services/ServicesResourceImpl.java
Sun Mar 27 15:08:55 2011
@@ -34,7 +34,7 @@ public class ServicesResourceImpl extend
         final List<ObjectAdapter> serviceAdapters = getPersistenceSession().getServices();
         for (final ObjectAdapter serviceAdapter : serviceAdapters) {
             final String uri = MessageFormat.format("{0}/object/{1}", getServletRequest().getContextPath(),
getOidStr(serviceAdapter));
-            ul.appendChild(xhtmlRenderer.li_a(uri, serviceAdapter.titleString(), "service",
"services", HtmlClass.SERVICE));
+            ul.appendChild(xhtmlRenderer.li_a(uri, serviceAdapter.titleString(), "object",
"services", HtmlClass.SERVICE));
         }
         div.appendChild(ul);
 



Mime
View raw message