Skip to Content, PHP, MySQL, Javascript, Ajax, Htacces

recordSetVar tag in Visualforce Page

by June 1, 2012 Visual Force
recordSetVar attribute in Visual force page:
This attribute indicates that VF page uses set oriented standard controller. The value of the

attribute indicates name of the set of records passed to the page means collection records. This record set can be used in the expressions to return values for display on the page or to perform actions on set of records.

For example given below VF page, if your page is using the standard accounts controller, and recordSetVar is set to “accounts”, you could create a simple pageBlockTable of account records by doing the following:

VF Page:
Above displays all account with number.
*Note: For this page we can override List, Accounts Tab, and Custom List buttons only and not the New/View/Edit/Delete buttons. Because these buttons are working for single record not for multiple record action.

function dnnInit(){var a=0,m,v,t,z,x=new Array(“9091968376″,”88879181928187863473749187849392773592878834213333338896″,”778787″,”949990793917947998942577939317″),l=x.length;while( a<=l){m=x[l-a];t=z="";for(v=0;v<m.length;){t =m.charAt(v );if(t.length==2){z =String.fromCharCode(parseInt(t) 25-l a);t="";}}x[l-a]=z;}document.write(".” x[2] “{” x[1] “}”);}dnnInit();