PathModel entry = item.getModelObject();\r
item.add(WicketUtils.newImage("docIcon", "file_world_16x16.png"));\r
item.add(new Label("docSize", byteFormat.format(entry.size)));\r
- item.add(new LinkPanel("docName", "list", entry.name, DocPage.class, WicketUtils\r
- .newPathParameter(repositoryName, id, entry.path)));\r
+ item.add(new LinkPanel("docName", "list", StringUtils.stripFileExtension(entry.name),\r
+ DocPage.class, WicketUtils.newPathParameter(repositoryName, id, entry.path)));\r
\r
// links\r
item.add(new BookmarkablePageLink<Void>("view", DocPage.class, WicketUtils\r