Salesforce: Dynamic dependant picklist in Visualforce Page


Manh Nguyen

I have a dynamic dependant picklist in Visualforce Page as the image below:

Image

+ The master picklist includes objects (e.g: Lead, Contact, Account, ..)

+ The secondary one contains a list of the last scan results.

1.1 The master list :

Select Object :

changeObjectType() function will call the function handleObjectTypeChange in Apex controller.

1.2 The secondary list:
Displaying Results from Scan on :

2. Apex Controller :

and

View original post