我有3列的ViewObject ID,Name_ar,Name_en
我试图创建ComboBox 如果所选语言为英语,则会显示Name_en和Name_ar是否是阿拉伯语?
如何实现?
这是代码
<af:selectOneChoice value="#{bindings.RealmROView1.inputValue}" label="#{bindings.RealmROView1.label}"
required="#{bindings.RealmROView1.hints.mandatory}"
shortDesc="#{bindings.RealmROView1.hints.tooltip}" id="soc1">
<f:selectItems value="#{bindings.RealmROView1.items}" id="si1"/>
<f:validator binding="#{bindings.RealmROView1.validator}"/>
</af:selectOneChoice>