cancel
Showing results for 
Search instead for 
Did you mean: 

List of Components

Former Member
0 Kudos

Hi,

I would like to show a list of (identical) components.

The size of the list changes, so the components need to be created and destroyed dynamically.

Can this be done? How?

Thanks in advance,

Roelof

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

hi,

Can you explain your requirement a little more....

Thanks and Regards

Avijit

Former Member
0 Kudos

The application I work on is supposed to present several options from which the user can pick one.

I would like to create a (visual) component for each option, and have the component fire an event when selected.

In my current solution I don´t use components, I simply create all controls dynamically and add them to a container.

Former Member
0 Kudos
Former Member
0 Kudos

Hi,

What i understand from your explanation is, that you will present the user with a list and when the user picks a value and triggers a action you want to create and destroy a webdynpro component dynamically.

If what i understand is true then go through the following tutorial which explains how you can create and destroy components.

<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e8d7cd90-0201-0010-4a8c-dd22fa16ca0a">Dynamic component usage</a>