cancel
Showing results for 
Search instead for 
Did you mean: 

drop-down list in interactive form go up and sounds weird

Former Member
0 Kudos

Hello everybody,

I've a problem with a drop down list in an interactive form in my webdynpro java application.

I've an interactive form in my view, display type is "native".

I've put a drop down list in the pdf and filled it with some elements taken from a bapi.

It looks like this

IWDAttributeInfo countryInfo = wdContext.nodeListePoste().getNodeInfo().getAttribute("ListeTypePoste");

ISimpleTypeModifiable countryType =

countryInfo.getModifiableSimpleType();

IModifiableSimpleValueSet countryValueSet =

countryType.getSVServices().getModifiableSimpleValueSet();

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

IPrivateFDIView.IListe_Poste_viewElement element = (IPrivateFDIView.IListe_Poste_viewElement)wdContext.nodeListe_Poste_view().getElementAt(i);

countryValueSet.put(element.getPoste_Code(),element.getPoste_Libelle());

}

then I've binded my drop down list with the element of the context "ListeTypePoste"

When I run the application I can see the list in my drop down but it goes "up"

Like this:

http://img198.imageshack.us/img198/7263/20111207170807.png

Instead of having my list going down it goes up.

And when I click the arrow to open the list I've a weird BEEEEEP like an error.

At the end the list works well and if I choose an element it's well selected, but I would like to take of the BEEEP and to have the regular list going down.

Any ideas?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

I think you problem can be traced to the place where you put your drop down.

As far as I understand your drop down funcions well.

Try to move it into another container or best put it under RoorContainer. Test it.

regards

yuval peery

Former Member
0 Kudos

I've resolved by using an enumerated drop down list. this works fine. I've no idea why the other didn't work and sounded weird, event moving it

Thanks for your help anyway

Answers (0)