Uploaded image for project: 'Nuxeo Studio'
  1. Nuxeo Studio
  2. NXS-3898

Custom vocabularies are not displayed correctly in Web UI layouts

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Cannot Reproduce
    • Affects Version/s: None
    • Fix Version/s: Designer-1.0.0
    • Component/s: Studio Designer

      Description

      When dragging and dropping a custom vocabulary from the catalog, the default display is:

      <div role="widget">
          <label>My Label</label>
          <div directory-name="MyVocabulary">[[document.properties.myschema:myproperty]]</div>
      </div>
      

      which displays:

      [object Object]

      in Web UI. The default should be either

      <div role="widget">
          <label>My Label</label>
          <div directory-name="MyVocabulary">[[formatDirectory(document.properties.myschema:myproperty)]]</div>
      </div>
      

      or

      <div role="widget">
          <label>My Label</label>
          <div directory-name="MyVocabulary">[[document.properties.myschema:myproperty.label]]</div>
      </div>
      

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: