Top "Visualforce" questions

Visualforce is Salesforce.

Sending email with template using trigger

I have the following Trigger: trigger send_notification on Inquery__c (after update) { Inquery__c inquery = trigger.new[0]; String[] toAddresses = …

apex-code visualforce
Visualforce: How do I print the Current Date?

How do I print the current date on Visualforce? Stuff like Today(), System.now, doesn't work. Haven't been able to …

salesforce visualforce
How to exit an apex function?

I have an apex function which has a void return type. I want to exit the function at a specific …

salesforce apex-code visualforce
Unable to bind Component attribute with controller

I am trying to develop a visualforce custom component which takes an attribute from a visual force page. I need …

salesforce apex-code visualforce
Apex SOQL subquery in Visualforce

I am looking at showing a subquery SOQL query in an Visualforce page. This is my SOQL Expression. public ApexPages.…

salesforce apex-code visualforce soql force.com
VisualForce page for new custom object

I am a newbie in this field. First time trying to code a VisualForce page. I have created a custom …

salesforce apex-code visualforce
How to increment a value in a map with Apex?

Is there a way to increment a value in a map without needing a second variable? for example, this doesn't …

map salesforce apex-code increment visualforce
Visualforce Repeaters

Hi I am getting a headache with the visualforce repeater control: <apex:repeat value="{!productDetails}" var="o"> <…

salesforce visualforce
Disable command button after one click

I am facing a problem while disabling the command button after one click. I am using action function for this …

salesforce visualforce
Custom Exception Message in apex Salesforce

I want to create a custom exception. In this exception I want to make a constructor which take one string …

salesforce apex-code visualforce apex