In ADF I'm trying to use JSF's SelectOneMenu (please don't ask why), but I can't seem to label it easily.
This code does not show the label "MyTitle" in front of the SelectOneMenu.
<h:selectOneMenu id="sfqcd6" label="MyTitle"
value="#{dashboardBean.titleoper}"
binding="#{dashboardBean.titleoperValue}">
<f:selectItems value="#{dashboardBean.operTextList} id="srbd6z"/>
</h:selectOneMenu>
This code does show "MyTitle", but I'd rather not have to an an OutputLabel component just to get a label.
<h:outputLabel id="usernameLabel" for="sfqcd6"
value="My Title"/>
<h:selectOneMenu id="sfqcd6"
value="#{dashboardBean.titleoper}"
binding="#{dashboardBean.titleoperValue}">
<f:selectItems value="#{dashboardBean.operTextList}"
id="srbd6z"/>
</h:selectOneMenu>
The documentation says that SelectOneMenu should take a label parameter....https://docs.oracle.com/javaee/6/javaserverfaces/2.1/docs/vdldocs/facelets/h/selectOneMenu.html
In my ViewController project properties, under Libraries and Classpath, I see JSF 2.0 and JSTL 1.2., so I believe I am set up okay.
Thanks for your help,
Dale