资 源 简 介
Picklist component, just pass object name and picklist API name in component and it will display all values of picklist as drop down on visualforce page. This is best used when we do not want to use input fields on visualforce page as field level security applies when we use input fields.
Suppose if we are logged in as user which do not have accessibility to picklist field "Industry" of object "Account" and I have used that picklist on my custom visualforce page. This user will not be able to see that picklist, but my requirement is to show that field in that particular case so I can use this component to display that picklist to user.
How to use the component : Download both the files "PicklistComponent.txt" and "PicklistController.txt". Create a component using them. Now create custom visualforce page where you will use this component.
Attributes which I have used in component: Value (Required) : Selected Value object