Exam Logo

Salesforce (DEV-501) Exam Questions And Answers page 2

An HTML input element for a value that corresponds to a field on a Salesforce object. The component respects the attributes of the associated field, including whether the field is required or unique, and the user interface widget to display to get input from the user. For example, if the specified component is a date field, a calendar input widget is displayed. When used in an , tags always display with their corresponding output label.
Note that if custom help is defined for the field in Setup, the field must be a child of an or , and the Salesforce page header must be displayed for the custom help to appear on your Visualforce page. To override the display of custom help, use the in the body of an .
Consider the following when using JavaScript events with this tag:
For lookup fields, mouse events fire on both the text box and graphic icon
For multi-select picklists, all events fire, but the DOM ID is suffixed with _unselected for the left box, _selected for the right box, and _right_arrow and _left_arrow for the graphic icons
For rich text areas, no events fire.
Visualforce Controllers Apex
An HTML input element of type checkbox. Use this component to get user input for a controller method that does not correspond to a field on a Salesforce object.
Apex
An HTML input element of type hidden, that is, an input element that is invisible to the user. Use this component to pass variables from page to page.
Apex
An HTML input element of type text. Use this component to get user input for a controller method that does not correspond to a field on a Salesforce object.
This component does not use Salesforce styling. Also, since it does not correspond to a field, or any other data on an object, custom code is required to use the value the user inputs.
Apex
An HTML table that is defined by iterating over a set of data, displaying information about one item of data per row. The body of the contains one or more column components that specify what information should be displayed for each item of data. The data set can include up to 1,000 items.
Apex Visualforce Controllers
An ordered or unordered list of values that is defined by iterating over a set of data. The body of the component specifies how a single item should appear in the list. The data set can include up to 1,000 items.
Apex
Apex code can be initiated in what ways? (Select all that apply)
Apex
Apex is available in which Salesforce Editions? (Select all that apply)
Apex Controllers Visualforce Controllers
A read-only display of a label and value for a field on a Salesforce object. An component respects the attributes of the associated field, including how it should be displayed to the user. For example, if the specified component is a currency field, the appropriate currency symbol is displayed. Likewise, if the component is a lookup field or URL, the value of the field is displayed as a link.
Note that if custom help is defined for the field in Setup, the field must be a child of an or , and the Salesforce page header must be displayed for the custom help to appear on your Visualforce page. To override the display of custom help, use the in the body of an .
The Rich Text Area data type can only be used with this component on pages running Salesforce.com API versions greater than 18.0.
Visualforce Controllers Apex
A set of content that is grouped together, rendered with an HTML tag,
tag, or neither. Use an to group components together for AJAX refreshes.
Apex Visualforce Controllers