Details
-
Wish
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
5.0.15
-
None
-
None
-
None
Description
Create an easier way to populate List of object to Select component. Currently we must create a class that implement SelectModel and a class that implement ValueEncoder. Perhaps it would be nice if there property in the Select component such as list that corresponds to the list of object to be displayed for the combobox as such:
<select t:type="Select" t:id="member" model="member" list="members" />
and the Page class as such:
private List<Member> members;
public List<Member> getMembers()
{ return members; }public void setMembers(List<Member> members)
{ this.members = members; } @SetupRender
public void init()