working version, without exceptions
This commit is contained in:
parent
32896e0cc3
commit
68a66d2067
|
@ -12,11 +12,9 @@
|
||||||
<h:body>
|
<h:body>
|
||||||
|
|
||||||
|
|
||||||
<h:form>
|
<ui:repeat value="#{categoryBean.categories}" var="category">
|
||||||
<h:selectOneMenu value="#{categoryBean.category}" onchange="this.form.submit()">
|
<h:outputText value="#{category.name}"/><br/>
|
||||||
<f:selectItems value="#{categoryBean.categories}" var="category" itemValue="#{category.id}" itemLabel="#{category.name}"/>
|
</ui:repeat>
|
||||||
</h:selectOneMenu>
|
|
||||||
</h:form>
|
|
||||||
|
|
||||||
|
|
||||||
<ui:repeat value="#{categoryBean.books}" var="book" rendered="not empty #{categoryBean.category}">
|
<ui:repeat value="#{categoryBean.books}" var="book" rendered="not empty #{categoryBean.category}">
|
||||||
|
|
Loading…
Reference in New Issue