Skip to Content
0
Former Member
Feb 28, 2007 at 12:18 PM

EVS Problem

29 Views

Hello Experts,

1) I want to display <b>short</b> column first and <b>longtext</b> second in the EVS.

2) On selecting the value help <b>longtext</b> should be displayed as selected inside the EVS combo box.

I have easily achieved the 1st and not able achieve 2nd.

Following is my code for EVS

IModifiableSimpleValueSet valueset = 
			 wdContext.nodeEt_abc_List().getNodeInfo().getAttribute("Short").getModifiableSimpleType().getSVServices().getModifiableSimpleValueSet();
			 
			 valueset.clear();
			 
			 for (int i=0; i<wdContext.nodeEt_abc_List().size(); i++)
			 	{
				 	valueset.put(wdContext.nodeEt_abc_List().getElementAt(i).getAttributeAsText("Short"), wdContext.nodeEt_abc_List().getElementAt(i).getAttributeAsText("Longtext"));
				}

Regards, Amol