Object as itemValue in <f:selectItems>
- by Ehsun
Is it possible to have objects as itemValue in tag?
for example I have a class Foo:
public class Foo {
private int id;
private String name;
private Date date;
}
And another class Bar
public class Bar {
private Foo foos;
}
public class BarBean {
private Set<Foo> foos;
}
Now in a Bean called BarBean I need to have a to get…