Uploaded image for project: 'Chemistry (Retired)'
  1. Chemistry (Retired)
  2. CMIS-308

New features for the CMIS browser

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.2.0-incubating
    • OpenCMIS 0.3.0
    • opencmis-test

    Description

      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.

      Attachments

        1. chemistry-browser.tar.bz2
          27 kB
          Ian Ashley
        2. entry.xsl
          9 kB
          Ian Ashley
        3. feed.xsl
          14 kB
          Ian Ashley

        Activity

          People

            fmui Florian Müller
            ianashley Ian Ashley
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: