How can i add picklist values in drop down list by using custom controller. and Date picker calendar using custom controller( help me Syntax in controller and visual force page)
1)Add this in your VF Page custom controller public List getCountriesOptions() { List countryOptions = new List(); countryOptions.add(new SelectOption('','-None-')); countryOptions.add(new SelectOption('INDIA','India')); countryOptions.add(new SelectOption('USA','USA')); countryOptions.add(new SelectOption('United Kingdom','UK')); countryOptions.add(new SelectOption('Germany','Germany')); countryOptions.add(new SelectOption('Ireland','Ireland')); return countryOptions; } ----- 2)For Date Picker you can use a standard one provided by SalesForce VF:
Waiting for this video❤️
What if i want to insert related contact with account
@salesforcehulk.
Applied for cyntexa...When will start selecting process.?
Recruiting team will connect with you soon.
how can we add this VF page into notes and attachment as a pdf
can't we make a wrapper and return the whole wrapper in just one getter method?
How can i add picklist values in drop down list by using custom controller. and Date picker calendar using custom controller( help me Syntax in controller and visual force page)
1)Add this in your VF Page custom controller
public List getCountriesOptions() {
List countryOptions = new List();
countryOptions.add(new SelectOption('','-None-'));
countryOptions.add(new SelectOption('INDIA','India'));
countryOptions.add(new SelectOption('USA','USA'));
countryOptions.add(new SelectOption('United Kingdom','UK'));
countryOptions.add(new SelectOption('Germany','Germany'));
countryOptions.add(new SelectOption('Ireland','Ireland'));
return countryOptions;
}
-----
2)For Date Picker you can use a standard one provided by SalesForce
VF:
Bro make a one.full video on apex programming concepts
I think ya get set the getset in the instantiation: String accName {get;set;}; No?
yes by using this you don't have to explicitly write get and set methods.Salesforce does it for you!
😍