# Multi Line Selection in COMBODYN2 working or not?

**URL:** <https://techcommunity.softwareag.com/t/multi-line-selection-in-combodyn2-working-or-not/76266>\
**Category:** Forum\
**Tags:** Former-Crossvision-Products, Application-Composer\
**Created:** [February 28, 2008, 3:36pm UTC](https://techcommunity.softwareag.com/t/multi-line-selection-in-combodyn2-working-or-not/76266 "2008-02-28T15:36:26Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Martin\_R](https://avatars.discourse-cdn.com/v4/letter/m/9fc29f/32.png) [@Martin\_R](https://techcommunity.softwareag.com/u/Martin_R)\
**Post date:** [February 28, 2008, 3:36pm UTC](https://techcommunity.softwareag.com/t/multi-line-selection-in-combodyn2-working-or-not/76266/1 "2008-02-28T15:36:26Z")

</div>

Hi

We use Application Designer 2.1 and would like to have a combo box showing more than 1 line that allows to select more than one value (“multi select”). From the documentation we conclude that it should suffice to set “size” to a value \> 1. The visual part of the rendering seems to be ok - we see more than one line but we can’t select more than one line. The generated html is a html “select” element. We’d expect this element to have a “multiple” attribute to provoke the multi selection stuff in the browser, but there’s none.

Presumed we’d be thinking in the correct direction with the select element and its multiple attribute - we don’t know as well what type the value property of the COMBODYN2 should be to be able to receive the multiple selection values.

Regards  
Martin

---

<div class="post-metadata">

**Author:** ![Christine\_Zimmermann](https://avatars.discourse-cdn.com/v4/letter/c/839c29/32.png) [@Christine\_Zimmermann](https://techcommunity.softwareag.com/u/Christine_Zimmermann)\
**Post date:** [March 3, 2008, 1:41pm UTC](https://techcommunity.softwareag.com/t/multi-line-selection-in-combodyn2-working-or-not/76266/2 "2008-03-03T13:41:50Z")

</div>

Hi Martin,

The class COMBODYNValidValues has several methods:  
The addValidValue method takes 3 parameters. The last parameter is the selected property. Example:

```auto
 addValidValue("0001","Marketing");
```

It also contains a method to get all selected values. The signature is:

```auto
 
public ValidValueLine[] getSelectedItems()
```

Best Regards,  
Christine

---

<div class="post-metadata">

**Author:** ![Christine\_Zimmermann](https://avatars.discourse-cdn.com/v4/letter/c/839c29/32.png) [@Christine\_Zimmermann](https://techcommunity.softwareag.com/u/Christine_Zimmermann)\
**Post date:** [March 3, 2008, 1:42pm UTC](https://techcommunity.softwareag.com/t/multi-line-selection-in-combodyn2-working-or-not/76266/3 "2008-03-03T13:42:04Z")

</div>

Hi Martin,

The class COMBODYNValidValues has several methods:  
The addValidValue method takes 3 parameters. The last parameter is the selected property. Example:

```auto
 addValidValue("0001","Marketing");
```

It also contains a method to get all selected values. The signature is:

```auto
 
public ValidValueLine[] getSelectedItems()
```

Best Regards,  
Christine

---

<div class="post-metadata">

**Author:** ![Christine\_Zimmermann](https://avatars.discourse-cdn.com/v4/letter/c/839c29/32.png) [@Christine\_Zimmermann](https://techcommunity.softwareag.com/u/Christine_Zimmermann)\
**Post date:** [March 3, 2008, 1:42pm UTC](https://techcommunity.softwareag.com/t/multi-line-selection-in-combodyn2-working-or-not/76266/4 "2008-03-03T13:42:18Z")

</div>

Hi Martin,

The class COMBODYNValidValues has several methods:  
The addValidValue method takes 3 parameters. The last parameter is the selected property. Example:

```auto
 addValidValue("0001","Marketing");
```

It also contains a method to get all selected values. The signature is:

```auto
 
public ValidValueLine[] getSelectedItems()
```

Best Regards,  
Christine

---

<div class="post-metadata">

**Author:** ![Christine\_Zimmermann](https://avatars.discourse-cdn.com/v4/letter/c/839c29/32.png) [@Christine\_Zimmermann](https://techcommunity.softwareag.com/u/Christine_Zimmermann)\
**Post date:** [March 3, 2008, 1:42pm UTC](https://techcommunity.softwareag.com/t/multi-line-selection-in-combodyn2-working-or-not/76266/5 "2008-03-03T13:42:57Z")

</div>

Hi Martin,

The class COMBODYNValidValues has several methods:  
The addValidValue method takes 3 parameters. The last parameter is the selected property. Example:

```auto
 addValidValue("0001","Marketing");
```

It also contains a method to get all selected values. The signature is:

```auto
 
public ValidValueLine[] getSelectedItems()
```

Best Regards,  
Christine

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 2:49pm UTC](https://techcommunity.softwareag.com/t/multi-line-selection-in-combodyn2-working-or-not/76266/6 "2021-04-02T14:49:12Z")

</div>


