Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
755
ig:dropDownList doesn't use Converter.getAsString()
posted

Hello,

I have the following use of ig:dropDownList:

                        <ig:dropDownList id="owner"
                                required="true"
                                value="#{assetController.asset.owner}"
                                converter="#{assetController.personConverter}"
                                dataSource = "#{assetController.allPeople}"/> 

I have Converter because my SelectItems looks like this: new SelectItem(person, person.getFullName()).

But ig:dropDownList doesn't call Converter.getAsString() method. After form's data submission is Converter.getAsObject() called but with fault because value of selected item doesn't correspond with expected object's identifier.

When I use standard h:selectOneMenu then everything works fine. 

Parents
No Data
Reply
  • 1579
    posted

    Hello, ANECT!

    I'll be very thankfull if you tell me the version of NetAdvantage and provided you use one the Hotfix, so that we can proove your problem with the correspondent version and check if the problem is fixed in our latest Hotfix!

    Thanks!

    --Bozhidar

Children