Uploaded image for project: 'DSpace'
  1. DSpace
  2. DS-1233

Inline editable metadata

    XMLWordPrintable

    Details

    • Attachments:
      3
    • Comments:
      0
    • Documentation Status:
      Needed

      Description

      Currently, when a field is defined as "repeatable", multiple instances of it are shown as simple labels, allowing to delete them by a checkbox. This of course is annoying when one metadata instance must be modified.
      Suppose for example, you have to edit a metadata configured as a repetible textarea in order to correct some spelling mistake. You should have to rewrite the entire text as a new metadata instance and ckeck the deletion checkbox.

      This patch modifies the Mirage theme in order to replace the hidden inputs that used to contain the metadata text. Instead of hidden inputs and labels, this patch simply renders text boxes, with the same name conventions used for the hidden controls.

      The only modified file was [dspace-xmlui-webapp]/src/main/webapp/themes/Mirage/lib/xsl/core/forms.xsl

      You will find the complete patch attached. I have also attached the complete modified forms.xsl file and a small screenshot showing what is expected from this patch.

        Attachments

        1. forms.xsl
          21 kB
        2. inline-edit.patch
          6 kB
        3. inline-edit-screenshot.png
          inline-edit-screenshot.png
          18 kB

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            nesovi Nestor Oviedo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: