cancel
Showing results for 
Search instead for 
Did you mean: 

accessing an input element

Former Member
0 Kudos

Hi

I have a view which contains a transparent container. There are two groups in the container each having multiple input fields.How can I access the values of input elements?

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

How can I read the elements values and assign to context?

Former Member
0 Kudos

Hi

If you want to access the value of an element with in the view. You have to create the required attributes as per your application.

For perform data binding select the UI element in the layout tab and go to properties assign the value property to the appropriate context attribute by choosing the Value properties.

If you want to access the UI elemnt value of one view to another view then your data must exist in th component controller.

Go through the simple tutorial it helps you understand the context mapping, data binding

http://help.sap.com/saphelp_nw04/helpdata/en/fd/ed32a8c9994b4ba4a1645a764814db/content.htm

regards

ambicasony

Former Member
0 Kudos

Hi Vidyadhar,

Check this link.U can get the sample applications & tutorials for these basic things.

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/28113de9-0601-0010-71a3-c87806865f26?rid=/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d">https [original link is broken] [original link is broken]

regards

Sumit

Former Member
0 Kudos

Hi Vidyadhar

You bind the UI elements with the context value attributes which is called as databinding.

With help of this value attributes you can access the values of UI elements.

check the following link

http://help.sap.com/saphelp_nw04/helpdata/en/76/98384162316532e10000000a1550b0/content.htm

hope it helps you

regards

ambicasony