I have two tables VENDOR and TEAM. VENDOR contains a reference to TEAM via TEAM_ID. In my JSF page to create a new VENDOR I want to populate a drop down with the list of TEAM name not IDs which I currently have. I got no clue how to do this. I currently have
I'm thinking I want something along the lines of
Anything that can point me in the right direction would be great.