DEV-501 practice questions, page 6 of 8, with answer review and explanations.
Question 26
This component provides inline editing support to and various container components. In order to support inline editing, this component must also be within an tag. The component can only be a descendant of the following tags: See also: the inlineEdit attribute of
apex:inlineEditSupport
apex:chartLabel
apex:page
apex:outputPanel
Question 27
A link to a JavaScript library that can be used in the Visualforce page. When specified, this component injects a script reference into the head element of the generated HTML page. For performance reasons, you may simply want to use a JavaScript tag before your closing tag, rather than this component.
apex:includeScript
apex:outputField
apex:attribute
apex:component
Question 28
A section of data within an component, similar to a section in a standard Salesforce page layout definition. An component consists of one or more columns, each of which spans two cells: one for a field's label, and one for its value. Each component found in the body of an is placed into the next cell in a row until the number of columns is reached. At that point, the next component wraps to the next row and is placed in the first cell. To add a field from a Salesforce object to an , use an or component. Each of these components automatically displays with the field's associated label. To add fields for variables or methods that are not based on Salesforce object fields, or to customize the format of Salesforce object field labels, use an component. Each , , or component spans both cells of a single column.
apex:outputLabel
apex:actionPoller
apex:pageblockSection
apex:facet
Question 29
A set of buttons that are styled like standard Salesforce buttons. This component must be a child component of an . Note that it is not necessary for the buttons themselves to be direct children of the componentbuttons that are located at any level within an component are styled appropriately.
apex:includeScript
apex:commandButton
apex:pageBlockButtons
apex:form
Question 30
A text area input element. Use this component to get user input for a controller method that does not correspond to a field on a Salesforce object, for a value that requires a text area.