Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Flex - How to bind mx:list control to webdynpro???

Former Member
0 Kudos

Hi Friends,

I am trying to bind values to MX:LIST Control in the Flex with WebDynpro. Does anyone know how to do this?

I am able to assign dataProvider="" where xvar is a ArrayCollection but in the webdynpro it is to be defined as a context node and i am not sure what attributes i need to give in this node.

if anyone knows example with Flex List Control binding and communicating with webdynpro then please let me know.

Thanks,

Raghavendra

1 REPLY 1

wouter_peeters
Participant
0 Kudos

Hey,

Lets say you have an ArrayCollection of objects with each a firstname and lastname, then you would have to create a context node with 2 attributes (STRING) of firstname and lastname. Don't forget to set cardinality 0:N on your node.

You can also pass on data to your SAP backend by using fireEvent parameter.

FlashIsland.fireEvent(this,"refresh",{param1 : ti_inputparam.text})

Kind regards,

Wouter Peeters