![Oracle 11g Oracle 11g](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFIt8qFJ01Z-9WFvAreXVysd3GVPiR2frU3JpXzv71eSUMClB2EdDWwtyhslxdkAVaKLTyVPidu8JTftjVYyOHCI3feecYkyo9dn5QjjdJyQgekT6uWHavkOWHZrtpFtQs0n3ksPeCEIK4/s1600/oracle+11g-0000.png)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
<af:selectOneChoice id="sc1" clientComponent="true" required="false" immediate="true" shortDesc="#{bundle.TYPES}" showRequired="true" mode="default" contentStyle="width:30px" binding="#{pageFlowScope.myBean.types}" value="#{pageFlowScope.myBean.type}" unselectedLabel="#{bundle.SELECT_ONE}" label="#{sprportalBundle.TYPES}:" autoSubmit="false"> <af:forEach items="#{bindings.typeLOV.iteratorBinding.allRowsInRange}" var="item"> <f:selectItem id="sit1" itemLabel="#{item.type}" itemValue="#{item.type}"/> </af:forEach> </af:selectOneChoice>
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
<af:selectOneChoice label="#{bundle.MYLABEL}" id="xs1" required="false" immediate="true" valueChangeListener="#{pageFlowScope.myBean.typesVCL}" showRequired="true" value="#{pageFlowScope.myBean.type}" binding="#{pageFlowScope.myBean.typeBinding}" styleClass="classname"> <af:selectItem label="#{bundle.CHOICE_TYPE1}" value="#{pageFlowScope.myBean.typeValue1}" id="xs2"/> <af:selectItem label="#{bundle.CHOICE_TYPE1}" value="#{pageFlowScope.myBean.typeValue2}" id="xs3" rendered="#{pageFlowScope.myBean.typeValueShown}"/> </af:selectOneChoice>
Populating af:selectOneChoice using af:selectItems tag
1 2 3 4 5 6 7 8
<af:selectOneChoice value="#{bindings.Team.inputValue}" label="#{bundle.MYLABEL}" shortDesc="#{bindings.type.hints.tooltip}" id="xc2" binding="#{pageFlowScope.myBean.team}" autoSubmit="true" unselectedLabel="#{bundle.MYLABEL}" rendered="#{not pageFlowScope.myBean.noTeams}" simple="true"> <f:selectItems value="#{bindings.Team.items}" id="xc3"/> </af:selectOneChoice>
No comments :
Post a Comment
your comments welcomed !