function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Salesforce BlitzSalesforce Blitz 

urgent help needed; <apex:selectoption>

HI,

I have <apex:selectoption> in VF which displays list of users.

My requirement is, on change of user, i need to pass the ID of the user to controller and do some SOQL in couple of methods of controller code and refresh the VF page.

How should this be done.

Thanks in Advance
AshlekhAshlekh
Hi,

You can use actionSupport tag for this requirment.Here is link of documenation.
https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_compref_actionSupport.htm

This will help you to understand how we can call method on the changing the value of selectlist.

-Thanks
Ashlekh Gera
Salesforce BlitzSalesforce Blitz
Hi AKG,

I have a VF page which display multiple tables(10 tables) just like a dashboard. and a custom controller

I have a picklist at top of page which displays names of available users.

When I change the user in VF page, the tables should display data only which are visible to the user selected.

Any idea of how to achieve this?


Thanks in advance,
Laxman