I have following code to work with a selectOneMenu
provided by BootsFaces
. It works totally fine, except that the error message (validation failed) is not shown up. With a <h:selectOneMenu>
, it also works. Also with a <b:inputText
, perfectly. The error message is simple not displayed with <b:selectOneMenu>
.
<b:messages id="nachrichten" showDetail="true" showSummary="false" />
<b:selectOneMenu value="#{userprofile.user.year}" required="true" requiredMessage="Pls enter year">
<f:selectItem itemLabel="year auswählen" itemValue="#{null}" />
<f:selectItems value="#{yearHelper.allYears}" var="year" itemValue="#{year}" itemLabel="#{year.name}" />
<f:facet name="append">
<h:outputText value="" />
</f:facet>
</b:selectOneMenu>
How can I fix, that the message is shown up while using <b:selectOneMenu>
?