cancel
Showing results for 
Search instead for 
Did you mean: 

dynamic binding

Former Member
0 Kudos

Hi

I am creating 4 input fields dynamically i m binding static context attribute to these i need to bind a diff static context attribute to each of these input fields.and also retrive the data in these context how do i do it.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Below is the thread which can answer your question

[]

Regards

Raghu

Former Member
0 Kudos

Hi Nikhil,

Also refer thread-

Regards,

Anagha

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

Following is the code for this



//Do the same for other attributes too...

IWDAttributeInfo attributeInfo = wdContext.getNodeInfo().getAttribute("<Your Attribute Name>");
	  IWDInputField inputField = (IWDInputField)view.createElement(IWDInputField.class);
	  inputField.bindValue(attributeInfo);

Regards

Ayyapparaj

Former Member
0 Kudos

Hi,

And also these threads

[[]]

[[]]

Regards

Raghu

Former Member
0 Kudos

Hi Nikhil,

For dynamic UI elements' generation in webdynpro and binding to static context refer:

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/74cda090-0201-0010-6b91-f85b2489...

Regards,

Anagha