incubator-isis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From danhayw...@apache.org
Subject svn commit: r1232657 - /incubator/isis/trunk/framework/viewer/json/json-viewer/src/main/java/org/apache/isis/viewer/json/viewer/resources/domainobjects/DomainObjectReprRenderer.java
Date Wed, 18 Jan 2012 00:05:56 GMT
Author: danhaywood
Date: Wed Jan 18 00:05:55 2012
New Revision: 1232657

URL: http://svn.apache.org/viewvc?rev=1232657&view=rev
Log:
ISIS-170: more on the custom jqmobile client-side app (fixes to json-viewer)

Modified:
    incubator/isis/trunk/framework/viewer/json/json-viewer/src/main/java/org/apache/isis/viewer/json/viewer/resources/domainobjects/DomainObjectReprRenderer.java

Modified: incubator/isis/trunk/framework/viewer/json/json-viewer/src/main/java/org/apache/isis/viewer/json/viewer/resources/domainobjects/DomainObjectReprRenderer.java
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/framework/viewer/json/json-viewer/src/main/java/org/apache/isis/viewer/json/viewer/resources/domainobjects/DomainObjectReprRenderer.java?rev=1232657&r1=1232656&r2=1232657&view=diff
==============================================================================
--- incubator/isis/trunk/framework/viewer/json/json-viewer/src/main/java/org/apache/isis/viewer/json/viewer/resources/domainobjects/DomainObjectReprRenderer.java
(original)
+++ incubator/isis/trunk/framework/viewer/json/json-viewer/src/main/java/org/apache/isis/viewer/json/viewer/resources/domainobjects/DomainObjectReprRenderer.java
Wed Jan 18 00:05:55 2012
@@ -62,7 +62,8 @@ public class DomainObjectReprRenderer ex
     public static LinkBuilder newLinkToBuilder(ResourceContext resourceContext, Rel rel,
ObjectAdapter elementAdapter) {
         String oidStr = resourceContext.getOidStringifier().enString(elementAdapter.getOid());
         String url = "objects/" + oidStr;
-        return LinkBuilder.newBuilder(resourceContext, rel, RepresentationType.DOMAIN_OBJECT,
url);
+        final LinkBuilder builder = LinkBuilder.newBuilder(resourceContext, rel, RepresentationType.DOMAIN_OBJECT,
url).withTitle(elementAdapter.titleString());
+        return builder;
     }
 
     private static enum Mode {



Mime
View raw message