Skip to Content
0
Former Member
Sep 11, 2007 at 11:36 AM

Objectlist in Context

17 Views

hi,

i'm a struts-java developer trying to get into the abap world.

i have 2 views. 1 view with a button forwarding to the view2.

in the outbound of view1 i want to save a list of objects into the controllercontext.

In view2 i want to read this list and present it in a Table UI Element.

But i just don't get it how to do this. i have my objectlist (node) defined with 0..n with Selection 0..n. I have no Dictionary Structure, because the attribute of the node points to an object. Which seams to me ok as well.

How do i set this list in my context.

This does not work:

Elem_Cl_Component->set_Attribute(

exporting

Name = `COMPONENT`

Value = IP_LIST ).

this does not work either:

get all declared attributes

Elem_Cl_Complist->set_Static_Attributes(

exporting

Static_Attributes = IP_LIST ).

thx for any help