PDII Exam Question 46
Consider the following code snippet:
HTML
<apex:page docType="html-5.0" controller="FindOpportunities">
<apex:form >
<apex:pageBlock >
<apex:pageBlockSection title="find opportunity">
<apex:input label="opportunity name"/>
<apex:commandButton value="search" action="{!search}"/>
</apex:pageBlockSection>
<apex:pageBlockSection title="Opportunity List" id="opportunityList">
</apex:pageBlockSection>
</apex:pageBlock>
</apex:form>
</apex:page>
Users of this Visualforce page complain that the page does a full refresh every time the Search button is pressed. What should the developer do to ensure that a partial refresh is made so that only t13he section identified with opportunityList is re-drawn on the screen?1415
HTML
<apex:page docType="html-5.0" controller="FindOpportunities">
<apex:form >
<apex:pageBlock >
<apex:pageBlockSection title="find opportunity">
<apex:input label="opportunity name"/>
<apex:commandButton value="search" action="{!search}"/>
</apex:pageBlockSection>
<apex:pageBlockSection title="Opportunity List" id="opportunityList">
</apex:pageBlockSection>
</apex:pageBlock>
</apex:form>
</apex:page>
Users of this Visualforce page complain that the page does a full refresh every time the Search button is pressed. What should the developer do to ensure that a partial refresh is made so that only t13he section identified with opportunityList is re-drawn on the screen?1415
PDII Exam Question 47
The use of the transient keyword in Visualforce page helps with which performance issue?
PDII Exam Question 48
A developer is trying to decide between creating a Visualforce component or a Lightning component. Which scenario necessitates the use of Visualforce?
PDII Exam Question 49
Which code snippet represents the optimal Apex trigger logic for assigning a Lead's Region based on its PostalCode, using a custom Region__c object?
PDII Exam Question 50
Which statement is true regarding savepoints?
