incubator-isis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rmatth...@apache.org
Subject svn commit: r1090425 - /incubator/isis/trunk/viewer/scimpi/dispatcher/src/main/java/org/apache/isis/viewer/scimpi/dispatcher/context/RequestContext.java
Date Fri, 08 Apr 2011 20:16:38 GMT
Author: rmatthews
Date: Fri Apr  8 20:16:37 2011
New Revision: 1090425

URL: http://svn.apache.org/viewvc?rev=1090425&view=rev
Log:
Fixed processing of Aggregated reference

Modified:
    incubator/isis/trunk/viewer/scimpi/dispatcher/src/main/java/org/apache/isis/viewer/scimpi/dispatcher/context/RequestContext.java

Modified: incubator/isis/trunk/viewer/scimpi/dispatcher/src/main/java/org/apache/isis/viewer/scimpi/dispatcher/context/RequestContext.java
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/viewer/scimpi/dispatcher/src/main/java/org/apache/isis/viewer/scimpi/dispatcher/context/RequestContext.java?rev=1090425&r1=1090424&r2=1090425&view=diff
==============================================================================
--- incubator/isis/trunk/viewer/scimpi/dispatcher/src/main/java/org/apache/isis/viewer/scimpi/dispatcher/context/RequestContext.java
(original)
+++ incubator/isis/trunk/viewer/scimpi/dispatcher/src/main/java/org/apache/isis/viewer/scimpi/dispatcher/context/RequestContext.java
Fri Apr  8 20:16:37 2011
@@ -217,6 +217,10 @@ public abstract class RequestContext {
                             break;
                         }
                     }
+                } else if (association.isOneToManyAssociation()) {
+                    if (association.getId().equals(idParts[2])) {
+                        return association.get(parentObject);
+                    }
                 }
             }
             return aggregatedAdapter;



Mime
View raw message