Posts

Showing posts from April, 2017

Dynamic Visualforce Bindings with Example

Image
This blog will be explaining how to use dynamic Visualforce bindings with example. Sometimes we have to build Visualforce pages based on certain conditions or based on user input, i.e fields on page are determined at run time rather than compile time, In this case rendering based on conditions is not enough to achieve the goal. At this point dynamic Visualforce bindings come into the picture. In dynamic Visualforce bindings along with user input there are methods and properties of the controller that determine how to assemble a new page. Syntax : reference [expression] We can use dynamic binding in formula expression on Visualforce like {!reference [expression]} Where reference can be Sobject or Apex class, expression can be name of the field or object which recursively returns field. In this blog we will be creating Visualforce page for case creation and fields on the form will be decided at run time based on fields selected form will be created. We will show on