cancel
Showing results for 
Search instead for 
Did you mean: 

Creating OVS help

Former Member
0 Kudos

Hi,

I am trying to create OVS help using model.

Here are the steps I followed.

1)Created model

2) created a custom controller "OVS_cust", created a contxt in it and binded it to the model.

Now in the OVS_cust.java ,

I got the IWDAttributinfo[], and now trying to initialize the IWDOVSContextNotificationListener listener.

but I am not getting the wdGetOVSCustController().getOVSListener() method .

Please let me kno the exaxt steps to follow.

I got many documents on it but , am not able to execute it .

Please Help,

Renuka

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Answers (3)

Answers (3)

former_member201361
Active Contributor
0 Kudos

Hi Renuka,

go through this link for OVS

[https://www.sdn.sap.com/irj/scn/wiki?path=/display/wdjava/valueHelp-ObjectValue+Selector]

Former Member
0 Kudos

Hi

1.check Mapping between view and custom controller and Component controller is there or not.

2.Did you define the getOVSListener() in the custom controller.

3.Once again go to Source >organize imports click on it and check it

sample code

IWDAttributeInfo[] ovsStartUpAttributes = { wdContext.nodeFlightData().getNodeInfo().getAttribute("Airlineid")};

IWDOVSContextNotificationListener listener = wdThis.wdGetOVSCustController().getOVSListener();

Thanks,

Tulasi

former_member192434
Active Contributor
0 Kudos