How to reference Apex in Visualforce

Examples showing how to reference Apex variables and queries in visualforce. Also shows how to send variables from visualforce to an apex controller.

Github Repo: https://github.com/Nicholashuber/Apex-Visualforce

Simply create the visualforce page and controller and click preview after saving to see the results.

Apex:

Visualforce page:

 

Add Comment