I am trying to bind a pick list from a controller, my goal is to get the IDs from User Object and display them in the pick list. Any help will be appreciate it!
VF
<apex:selectList value="{!param}" size="1" >
<apex:selectList value="{!param}" size="1" >
<apex:selectOption itemLabel="{!param}" itemValue="{!param}" />
</apex:selectList>
</apex:selectList>
Controller
public List<User> param{
get{
return param = [Select id from User ];
}
set;
}