09-13-2009 3:25 AM
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
11-04-2010 1:15 PM
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