Mercurial > hg > AnnotationManagerN4J
changeset 26:f204ce7d1da8
trying out request.getResourceRef instead of this.getReference
author | casties |
---|---|
date | Mon, 24 Sep 2012 18:24:03 +0200 |
parents | 2140ef107551 |
children | 6bc918105c9a |
files | src/main/java/de/mpiwg/itgroup/annotations/restlet/annotations_ui/GroupMembersResource.java |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/main/java/de/mpiwg/itgroup/annotations/restlet/annotations_ui/GroupMembersResource.java Mon Sep 24 11:36:33 2012 +0200 +++ b/src/main/java/de/mpiwg/itgroup/annotations/restlet/annotations_ui/GroupMembersResource.java Mon Sep 24 18:24:03 2012 +0200 @@ -41,7 +41,7 @@ return null; } String result = null; - Reference thisUrl = this.getReference(); + Reference thisUrl = this.getRequest().getResourceRef(); Reference groupsUrl = thisUrl.getParentRef(); result = "<html><body>\n<h1>Group members</h1>\n"; result += String.format("<p>Group: %s <a href=\"%s\">(%s)</a></p>\n", group.getName(), groupsUrl, group.getId());