As all550 explained Recordsetvar is used to retun the List of sObject records. Little more in detail: It is the in built salesforce functionality that comes with standard controller. It will display the salesforce pre-defined options for the selectoptions by the variable "listviewoptions". And they internally manage the selected value(selectlist) with the variable "filterId".
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:
As all550 explained Recordsetvar is used to retun the List of sObject records. Little more in detail: It is the in built salesforce functionality that comes with standard controller. It will display the salesforce pre-defined options for the selectoptions by the variable "listviewoptions". And they internally manage the selected value(selectlist) with the variable "filterId".
As all550 explained Recordsetvar is used to retun the List of sObject records.
Little more in detail:
It is the in built salesforce functionality that comes with standard controller.
It will display the salesforce pre-defined options for the selectoptions by the variable "listviewoptions".
And they internally manage the selected value(selectlist) with the variable "filterId".
Follow link for info: http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_page.htm
Thank you
BLearn
All Answers
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:
As all550 explained Recordsetvar is used to retun the List of sObject records.
Little more in detail:
It is the in built salesforce functionality that comes with standard controller.
It will display the salesforce pre-defined options for the selectoptions by the variable "listviewoptions".
And they internally manage the selected value(selectlist) with the variable "filterId".
Follow link for info: http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_page.htm
Thank you
BLearn