답변 1개
Hi Hope,The exact code for VF page and its controller class would be too long to write. But yes, it aint that to achieve. The following code snippet will help you.
https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_intro.htmUse this link to better understand the apex components(tags)let me know if it helps.Thanks.<apex:selectList size="1" value="{!SelectedContact}">
<apex:actionSupport event="onchange" action="{!CallYourControllerFunctionHere}" reRender="Give IDs of the section which you want to rerender" />
<apex:selectOptions value="{!Contactlist}"/>
</apex:selectList>