简体   繁体   English

Oracle ADF。 LOV无法正确填充

[英]Oracle ADF. LOV will not populate correctly

I have an ADF page created (11g r2) and I have a column on the page with a list of values its code looks as followed: 我创建了一个ADF页面(11g r2),并且页面上有一列包含值列表,其代码如下所示:

<af:inputComboboxListOfValues id="nameId"
        popupTitle="Search and Select: #{bindings.Name.hints.label}"
        value="#{bindings.Name.inputValue}"
        label="#{bindings.Name.hints.label}"
        model="#{bindings.Name.listOfValuesModel}"
        required="#{bindings.Name.hints.mandatory}"
        columns="22"
        shortDesc="#{bindings.Name.hints.tooltip}">
    <f:validator binding="#{bindings.Name.validator}"/>
</af:inputComboboxListOfValues>

This works correctly when i first open the page, But once i select a different name from the list it duplicates itself and i can never select the first name again. 当我第一次打开页面时,此方法可以正常工作,但是一旦我从列表中选择了不同的名称,它就会复制自身,并且我再也无法选择该名字。 The list gets messed up. 清单搞砸了。 Has anyone seen this problem before? 有人看过这个问题吗?

第一张图片

第二

Open bindings tab and then click on the binding of lov, then in property inspector other>SelectItemValueMode set ListIndex. 打开绑定选项卡,然后单击lov的绑定,然后在属性检查器中的其他> SelectItemValueMode中设置ListIndex。 Like here: http://withice.blogspot.com/2012/12/list-of-values-doesnt-work-properly.html 就像这里: http : //withice.blogspot.com/2012/12/list-of-values-doesnt-work-properly.html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM