Ignore:
Timestamp:
Feb 9, 2015, 11:55:51 AM (9 years ago)
Author:
casties
Branch:
admin_ui_rel_links
Message:

starting web admin ui with relative links. doesn't fully work yet.

File:
1 edited

Legend:

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

    r75 r93  
    7676        List<Annotation> annotations = store.getAnnotations("id", "*");
    7777        for (Annotation annotation : annotations) {
    78             Reference url = this.getReference().clone();
    79             url.addSegment(annotation.getUrlId());
     78            String url = annotation.getUrlId();
    8079            result += String.format("<tr><td><a href=\"%s\">%s</a></td><td>%s</td><td>%s</td><td>%s</td><td>%s</td></tr>\n", url,
    8180                    annotation.getUri(), annotation.getBodyText(), annotation.getTargetBaseUri(), annotation.getTargetFragment(),
Note: See TracChangeset for help on using the changeset viewer.