Skip to Content
author's profile photo
Former Member

DropDownByKey - support for selecting multiple items?

Hello

Is there a simple way to allow a selection of multiple items (zero or more) when using a dropdown ui element?

Thanks in advance

Rob

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • author's profile photo
    Former Member
    Jul 26, 2004 at 08:30 AM

    Hi Rob,

    as far as i know, no. And to be honest, i can't see the benefit in doing this, if it was possible.

    Regards

    Stefan

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Please read the Javadoc:

      /**
       * Web Dynpro AbstractDropDownByIndex API.
       *
       * Abstract base class of drop-down list classes with index based context binding.
       * Represents a one-from-many selection visualized by a text field, a button and a drop-down list.
       * The selected value is displayed in the text field, the list of all selectable values is displayed
       * in the drop-down list which appears when the button is pressed.
       * <p>
       * <strong>Data binding:</strong>
       * <br>
       * The displayed texts and the selection are retrieved from a context.
       * The context must provide a node <code>X</code> with <code>X.cardinality = 0..n</code> with an attribute
       * <code>y</code> of type <code>String</code>.
       * The selectable values are the values of attribute <code>y</code> of the node elements.
       * The selected value is determined by the lead selection of node <code>X</code>.
       * <p>
       * The property <code>texts</code> must be bound to the attribute <code>y</code>.
       *
       * <p>This type can be called by applications using Web Dynpro, but DO NOT EXTEND OR IMPLEMENT IT!</p>
       *
       * @author SAP
       * @SAPWebDynproPart 2
       */
      

      A one-from-many selection control will by definition never allow a multiple selection.