Changeset 27:6bc918105c9a in AnnotationManagerN4J


Ignore:
Timestamp:
Sep 24, 2012, 5:25:40 PM (12 years ago)
Author:
casties
Branch:
default
Message:

back to this.getReference, problem was with mod_proxy (ProxyPreserveHost?).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main/java/de/mpiwg/itgroup/annotations/restlet/annotations_ui/GroupMembersResource.java

    r26 r27  
    4242        }
    4343        String result = null;
    44         Reference thisUrl = this.getRequest().getResourceRef();
     44        Reference thisUrl = this.getReference();
    4545        Reference groupsUrl = thisUrl.getParentRef();
    4646        result = "<html><body>\n<h1>Group members</h1>\n";
    4747        result += String.format("<p>Group: %s <a href=\"%s\">(%s)</a></p>\n", group.getName(), groupsUrl, group.getId());
    4848        result += "<p>Members:</p>\n";
     49        result += String.format("<form method=\"post\" action=\"%s\">", thisUrl);
    4950        result += "<table>";
    50         result += String.format("<form method=\"post\" action=\"%s\">", thisUrl);
    5151        List<Person> members = store.getMembersOfGroup(group);
    5252        for (Person p : members) {
Note: See TracChangeset for help on using the changeset viewer.