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?