What happens if action is not specified in apex?

What happens if action is not specified in apex?

If an action isn’t specified, the page loads as usual. If the action method returns null, the page simply refreshes. This method is called before the page is rendered, and allows you to optionally redirect the user to another page. Important: This action should not be used for initialization or DML.

What do you need to know about caching sites in apex?

For details on caching Sites pages, see “Caching Force.com Sites Pages” in the Salesforce online help. The name of one or more custom controller extensions written in Apex that add additional logic to this page. An identifier for the page that allows it to be referenced by other components in the page.

How many rows can be retrieved from a page in apex?

In read-only mode, a page may not execute any DML operations, but the limit on the number of records retrieved is relaxed from 50,000 to 1 million rows. It also increases the number of items in a collection that can be handled by iteration components, from 1,000 to 10,000.

How to create pageblocktable of account records in apex?

This record set can be used in expressions to return values for display on the page or to perform actions on the set of records. For example, if your page is using the standard accounts controller, and recordSetVar is set to “accounts”, you can create a simple pageBlockTable of account records with the following code:

How to create a hidden page in apex?

Step-2 Create a Hidden Page Item for Region Employees created above. This region is to show the most current (last) selected employee id. Create a dynamic action for the region Employees created in step-1.

What is the name of the custom controller class in apex?

The name of the custom controller class written in Apex used to control the behavior of this page. This attribute can’t be specified if the standardController attribute is also present. A Boolean value that specifies whether to prevent premature clicking on command buttons and links.