Skip to Content
0
Jul 22, 2009 at 05:56 PM

Value Help using simpleType

22 Views

Hi all,

I'm using the SimpleType for show all contents in a Search Help. But I have two problems. The first is that I can only use two columns for it. Can I use more than 2 columns? The secod is that I need to put a sort in this search Help. I dont know if it is possible.

See my source code below:

Private void shBusca_Pais(IWDAttributeInfo attributeInfo) {

ISimpleTypeModifiable modeloType = attributeInfo.getModifiableSimpleType();

modeloType.setFieldLabel("Pais");

IModifiableSimpleValueSet valueSet = modeloType.getSVServices().getModifiableSimpleValueSet();

for (int i =0; i < wdContext.nodeS_Paises().size(); i++){

valueSet.put(wdContext.nodeS_Paises().getS_PaisesElementAt(i).getLand1(),

wdContext.nodeS_Paises().getS_PaisesElementAt(i).getLandx());

}

}

Great,