I can't get f:selectItems to work with a custom class.
I tried several different ways to make it work, but I get validation errors on submit (like "invalid value").
I also tried writing a converter and it works, but I still get that validation error on submit.
If I have something like this:
Product.java:
What should the backing bean be like?
Ideally, testBean.selectedProduct should be a Product. I thought
JSF 2.0 let you do this easily.
I tried making testBean.productList be a List<Product> and a List<SelectItem> and I always have the same problem.
Thanks a lot.