Hi All,
i am placing the value into the dropdown..but am getting the issue
In the context:
Node name: Country and value attribute is : countryName.
IWDAttributeInfo attributeInfo = wdContext.getNodeInfo().getAttribute(IPrivateCountry_adobeView.ICountryElement.COUNTRY_NAME); // am getting error at this line
ISimpleTypeModifiable countryType = attributeInfo.getModifiableSimpleType();
countryType.setFieldLabel("Values");
IModifiableSimpleValueSet valueSet =countryType.getSVServices().getModifiableSimpleValueSet();
here am getting the follwoing error.
java.lang.NullPointerException
at com.sita.country.adobe.Country_adobeView.wdDoInit(Country_adobeView.java:106)
at com.sita.country.adobe.wdp.InternalCountry_adobeView.wdDoInit(InternalCountry_adobeView.java:168)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.doInit(DelegatingView.java:61)
at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
at com.sap.tc.webdynpro.progmodel.view.View.initController(View.java:445)
thanks.