Hi All,
We might need to display button while showing page message to get user feed back. Based on user feedback necessary action need to be taken care.
For example
Below is the code snippet.
<apex:outputPanel rendered="{!isYesVisible}">
<apex:pageMessage severity="info" strength="3" summary="{!applicantMessage}">
<apex:commandButton value="Yes" action="{!cloneOpportunity}"/>
<apex:commandButton value="No" action="{!stayinSamePage}"/>
</apex:pageMessage>
</apex:outputPanel>
We might need to display button while showing page message to get user feed back. Based on user feedback necessary action need to be taken care.
For example
Below is the code snippet.
<apex:pageMessages escape="false"/>
<apex:pageMessage severity="info" strength="3" summary="{!applicantMessage}">
<apex:commandButton value="Yes" action="{!cloneOpportunity}"/>
<apex:commandButton value="No" action="{!stayinSamePage}"/>
</apex:pageMessage>
</apex:outputPanel>
3 comments:
what is isYesVisible
Salesforce Marketing Cloud Consultant certification exam dumps 2019 Great post as always! You article helped us and considered as best content on the topic. Thanks much
Nice Blog Thanks for Sharing.
marketing automation tools india
corporate directory
business directory
Post a Comment