Uploaded image for project: 'Talend Component Kit'
  1. Talend Component Kit
  2. TCOMP-2016

UiSchema can't hold advanced titleMap for more advanded datalist widgets

Apply templateInsert Lucidchart Diagram
    XMLWordPrintable

Details

    • All
    • GreenHopper Ranking:
      0|i29ikz:
    • 9223372036854775807
    • Small

    Description

      The datalist widget on the frontend side requires a titleMap to be filled in in its UI Schema. The default behaviour of the datalist is to support a collection of tuple (named NameValue in component-runtime) made of a technical ID and a display name.

      It exists a more advanced usage of the datalist widget, which allows to have several list of elements in the drop down list, separated with a separator and a title. In order to support this, the component-runtime must evolve in order to support something else than a NameValue in the titleMap.

       

      Attached an example of what is supported in the UI with this advanced drop down list, and the related UI Schema fragment in JSON.

      Attachments

        1. advanded_datalist_titleMap.png
          7 kB
          Rémy DUBOIS
        2. advanded_datalist.png
          10 kB
          Rémy DUBOIS

        Activity

          People

            emmanuel_g emmanuel gallois
            rdubois Rémy DUBOIS
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: