You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In this post we are going to learn about How to retrieve and split the dropdown picklist values in Visualforce page Salesforce.
In this scenario, We will fetch the currency picklist value based on Quote Record Id and split from currency and it’s currency code uses of Apex class method in Visualforce.
In this post we are going to learn about How to retrieve and split the dropdown picklist values in Visualforce page Salesforce.
In this scenario, We will fetch the currency picklist value based on Quote Record Id and split from currency and it’s currency code uses of Apex class method in Visualforce.
👉 Get source code live demo link:-
Create Visualforce Page
Step 1:- Create Visualforce Page : splitCurrencyVf.vfp
`<apex:page standardController="Quote" extensions="splitCurrencyVfCtrl">
<apex:repeat value="{!quoteObj}" var="qotItem">
</apex:repeat>
</apex:page>`
Create Apex Class Extension Controller in Visualforce
Step 2:- Create Apex Class : splitCurrencyVfCtrl.apxc
`public class splitCurrencyVfCtrl {
}`
👉 Get source code live demo link:-
<apex:outputText value="{!qotItem.Name}"/>
<apex:variable var="index" value="{!1}" />
<apex:repeat value="{!qotItem.QuoteLineItems}" var="qLine" id="theRepeat">
<apex:variable var="index" value="{!index + 1}" />
</apex:repeat>
The text was updated successfully, but these errors were encountered: