cancel
Showing results for 
Search instead for 
Did you mean: 

Creating context attribute in interface controller

Former Member
0 Kudos

Hi Experts,

I am trying to develop webdynpro java application on DC communication. In the process i was unable to create context attribute to interface controller.Can any suggest how and where exactly can i create the context attribute for interface controller.

Answer will be appreciated.

Regards,

Prasad

Accepted Solutions (0)

Answers (2)

Answers (2)

Sharathmg
Active Contributor
0 Kudos

Firstly, create the context in component controller.

Then, the context attributes which you would like to expose as public, copy and paste it on the context of the interface controller. Use the option Paste Special as it makes sure that the attributes are mapped to the ones in component controller.

Regards,

Sharath

govardan_raj
Contributor
0 Kudos

Hi prasad ,

which version of nwds you are using and creating an attribute in interface controller is wrong design strategy , usally we have to map the nodes and attributes from component controller context to interface controller context .

Regards

Govardan Raj S