[ https://issues.apache.org/jira/browse/CMIS-308?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ian Ashley updated CMIS-308: ---------------------------- Attachment: feed.xsl entry.xsl Minor fixes that show target relationships as well as source relations and make the relationships link on the entry page go to the new relationships page > New features for the CMIS browser > --------------------------------- > > Key: CMIS-308 > URL: https://issues.apache.org/jira/browse/CMIS-308 > Project: Chemistry > Issue Type: New Feature > Components: opencmis-test > Affects Versions: 0.2.0-incubating > Reporter: Ian Ashley > Labels: test > Fix For: 0.3.0-incubating > > Attachments: chemistry-browser.tar.bz2, entry.xsl, feed.xsl > > > We have enhanced the CMIS browser as follows > - set the require_ids parameter when getting the children of a node to > improve performance > - show the rendition kind correctly in the existing rendition links > - added a new renditions link on the feeds page that opens a page showing all > the renditions. The thumbnail rendition is displayed and others can be > displayed using links > - updated the relationships display to show the source and target ids. These > are links that show the entries > - added a new thumbnails links to the feeds page that displays a grid of > thumbnails and object ids. The object ids are links to the entries and the > thumbnails are links to content streams > To support the above we have added the ability to override the stylesheet in > the request rather than use the content type to decide which stylesheet to > use. > ---- >  > Here are details of the changes on a per file bases. > *BrowseServlet.java* > - Added the use of override stylesheets. > The content type of the response was used to map to a stylesheet to > use. added the ability to specify an override stylesheet in the request (The > override stylesheet parameter must come after the url parameter, because of > the way it ready the parameters). > > *browser.css* > - added some extra style that is used for the thumbnail view. > > *web.xml* > - added some extra configuration that defines the override stylesheets. > > *feeds.xsl* > - it now sends the requestsIds that it displays. > - added the renditions link that uses the new renditions stylesheet. > - added the thumbnails link that uses the new thumbnails stylesheet. > - it now shows the rendition type (it was looking for the wrong attribute). > - the relationships link now has the correct style. > - changes the relationships link to use the new relationships stylesheet. > > *entry.xsl* > - It now shows the rendition type (it was looking for the wrong attribute). > - If the current object is a relationship then the source and target is shown > at the top as a link to their entry pages. > > *relationships.xsl* > - New stylesheet that displays the list of relations in a similar way to the > workbench. The source and target ids are links to their entry pages. > > *renditions.xsl* > - New stylesheet that displays a list of the renditions for the current > object. The cmis:thumbnail rendition is also shown. > > *thumbnails.xsl* > - New stylesheet that displays the children of a folder in a grid layout. -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira