on 10-16-2012 8:55 AM
You can change the text for EVS window heading and first column using below code
IWDAttributeInfo attributeInfo =
wdContext.getNodeInfo().getAttribute(IPrivateMain.IContextElement.COUNTRY);
ISimpleTypeModifiable countryType = attributeInfo.getModifiableSimpleType();
countryType.setFieldLabel("Countries List");
countryType.setColumnLabel("Country");
Refer to the below link, it shows text changed in 2nd column
http://help.sap.com/saphelp_erp2005/helpdata/de/b3/f68e4ab25d7549888eb612bcb359f1/frameset.htm
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ravi,
Thanks for reply. I have seen it before but it changes my fi
rst column only not the second. IWDAttributeInfo attributeInfo =
wdContext.nodeCountry1().getNodeInfo().getAttribute(IPrivateTest_01View.ICountry1Element.COUNTRY1);
ISimpleTypeModifiable countryType = attributeInfo.getModifiableSimpleType();
countryType.setFieldLabel("My Country");
countryType.setColumnLabel("My test"); // no idea where it shows
countryType.setDescription("My Description");// no idea where it shows
IModifiableSimpleValueSet valueSet = countryType.getSVServices().getModifiableSimpleValueSet();
for(int i=0;i<wdContext.nodeTest1().size();i++){
valueSet.put(wdContext.nodeTest1().getTest1ElementAt(i).getCombo1(),wdContext.nodeTest1().getTest1ElementAt(i).getComboValue());
}
regards,
Ram
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.