Skip to Content
0
Former Member
Sep 19, 2008 at 10:49 AM

Dynamic Binding of Node to DropdownBYKey

33 Views

Hi Colleagues,

I am new to WebDynpro.

I am facing an issue with "DropDownByKey" UI Element.

The scnario is:

1) There are 15 number of "DropDownByKey" UI Elements to be displayed on a page with the same data (time intervals).

One approach to achieve this would be:

1) Create a 15 attributes of simple data type and enter options in

enumerations.

2) Now bind each of these simple data types to all the 15 DropdownByKey elements.

The second approach could be:

1) Create a node with attribute type string.

2) Write functionality to add values to this attribute.

3) Create instances of Node.Attribute.

4) Bind these instances to individual 15 DropdownBykeys elements.

Please tell me which one of the two approaches would be better or if there is any other better approach.

In case, if the second appraoch is better, how to achieve this?

Thanks & Regards,

Ankit.