]> git.mxchange.org Git - pizzaservice-war.git/blob - web/WEB-INF/templates/admin/admin_category_selection_box.tpl
The exception's message now contains the thrown exception's message, too.
[pizzaservice-war.git] / web / WEB-INF / templates / admin / admin_category_selection_box.tpl
1 <ui:composition
2         xmlns="http://www.w3.org/1999/xhtml"
3         xmlns:f="http://java.sun.com/jsf/core"
4         xmlns:h="http://java.sun.com/jsf/html"
5         xmlns:ui="http://java.sun.com/jsf/facelets">
6
7         <h:selectOneMenu class="select" id="productCategory" value="#{adminProductController.productCategory}" required="true" requiredMessage="#{msg.ADMIN_CATEGORY_MUST_BE_SELECTED}" converter="CategoryConverter">
8                 <f:selectItems value="#{shopController.allCategories}" var="cat" itemValue="#{cat}" itemLabel="#{cat.categoryTitle}" />
9         </h:selectOneMenu>
10 </ui:composition>