if (linkClass.equals(BlobPage.class)) {\r
// Blob Tag Object\r
item.add(WicketUtils.newImage("tagIcon", "file_16x16.png"));\r
- item.add(new LinkPanel("tagDescription", "list", message, TagPage.class,\r
+ LinkPanel messageLink = new LinkPanel("tagDescription", "list", message, TagPage.class,\r
WicketUtils.newObjectParameter(repositoryName, entry.getObjectId()\r
- .getName())));\r
+ .getName()));\r
+ if (!entry.getShortMessage().equals(message)) {\r
+ messageLink.setTooltip(entry.getShortMessage());\r
+ }\r
+ item.add(messageLink);\r
\r
Fragment fragment = new Fragment("tagLinks", "blobLinks", this);\r
fragment.add(new BookmarkablePageLink<Void>("tag", TagPage.class, WicketUtils\r
// Standard Tag Object\r
if (entry.isAnnotatedTag()) {\r
item.add(WicketUtils.newImage("tagIcon", "tag_16x16.png"));\r
- item.add(new LinkPanel("tagDescription", "list", message, TagPage.class,\r
+ LinkPanel messageLink = new LinkPanel("tagDescription", "list", message, TagPage.class,\r
WicketUtils.newObjectParameter(repositoryName, entry.getObjectId()\r
- .getName())));\r
+ .getName()));\r
+ if (!message.equals(entry.getShortMessage())) {\r
+ messageLink.setTooltip(entry.getShortMessage());\r
+ }\r
+ item.add(messageLink);\r
\r
Fragment fragment = new Fragment("tagLinks", "annotatedLinks", this);\r
fragment.add(new BookmarkablePageLink<Void>("tag", TagPage.class,\r