I have a Collection of model objects in my backing bean, and I want to use the f:selectItems tag to display them in a h:selectOneMenu. I have read many tutorials ...
h:selectOneMenu
Usually i do something like below. Clicking button execute transition.
<!-- view --> <h:form> <h:commandButton action="doit"> <f:ajax render="@form"/> </h:commandButton> </h:form> <!-- flow --> <transition on="doit">...</transition>
I have a primefaces datatable and dropdown. Dropdown is placed outside the datatable.I have wrapped the datatable inside the output panel.
...
I'm using spring3.0, jsf 2.0 and richfaces. I have the following method in my Bean:
public String onChange (){ String render; if (this.getItemValue().equals("project")){ ...