Leads4pass > IBM > IBM Certified Advanced System Administrator > C2040-408 > C2040-408 Online Practice Questions and Answers

C2040-408 Online Practice Questions and Answers

Questions 4

Amy would like to create her own mechanism for displaying errors. She is using the Form Table control. Which would turn off the error generation for the table and rows in the Form Table control?

A. Nothing, there is no automatic error generation for tables.

B. Drag the Display Errors control onto the table and the Display Error control onto each row of the table.

C. Select the Form Table and set disableErrorSummary to "true" and disableRowError to "true".

D. Select the Form Table and set disableErrorSummary to "true". Select each form row and set disableRowError to "true".

Buy Now
Questions 5

Andrew, an IBM Domino developer, is using the Pager Save State control to keep the state of the view while the user is handling documents and going back to the view. How could Andrew define that the number of rows stored for the user should be just for the current view?

A. Set globalRows="true".

B. Set globalRows="false".

C. Use server-side JavaScript to store the view in a Session Scope variable.

D. Use server-side JavaScript to create an array, insert the view in it and then store the array in a Session Scope variable.

Buy Now
Questions 6

Which is true about enabling "Set Partial Execution Mode" and then clicking on the "Select Element" button to specify an id?

A. It allows a developer to execute code only for the specified id and it's children.

B. It allows a developer to refresh only a portion of the XPage specified by the id.

C. It allows a developer to execute code only for the specified id and it's children. "Partial Update" cannot be enabled for this to work.

D. It allows a developer to execute code only for the specified id and it's children. "Partial Update" must also be enabled for this to work.

Buy Now
Questions 7

Olivia is adding a Send Mail simple action to her XPages application. Which two types of formats are available for the body field of the email? (Choose two.)

A. XML

B. MIME

C. HTML

D. Rich text

E. Plain text

Buy Now
Questions 8

What should be done after importing a JAR design element to be able to reference the Java classes in Server Side JavaScript?

A. Nothing. The JAR is ready to be used.

B. Use a <%import ..> on the XPage source code.

C. Edit the xsp.properties to include a reference to the new JAR.

D. Edit the faces-config.xml to include a reference to the new JAR.

Buy Now
Questions 9

How would a developer define the default container control to be presented using a Dynamic Content control?

A. defaultFacet="key"

B. defaultContent="key"

C. setDefaultFacet("key")

D. setDefaultContent("key")

Buy Now
Questions 10

Kyle is creating a mobile page using the Mobile controls. He wants the "Documents" view page to refresh every time the user displays the page. How should he accomplish that?

A. Kyle should place the view on a page with the refreshContent property set to "true".

B. Kyle should set the resetContent property to "true" on the Application Page containing the view.

C. Kyle should add server-side JavaScript to the "onLoad" event of the page to refresh the view.

D. Kyle should put the view page into a panel with the "BeforePageLoad" event sent to refresh the view.

Buy Now
Questions 11

Which option will provide a formatted table with two columns, three rows, a title, description, and footer area?

A. Add a computed field to the custom control, change the content type to HTML, and enter the following code: [table]

B. Add a computed field to the custom control, change the content type to HTML, and enter the following code: [table] .

C. Add a form table control to the custom control. Enter a title and description to the form title and form description form options. Drop a formlayout row onto the table. Drop two layout column controls onto the row. Repeat twice for the additional rows.

D. Add a form table control to the custom control. Enter a title and description to the form title and form description form options. Drag a formlayout column onto the table. Drop three form layout row controls onto the column. Repeat for the second column.

Buy Now
Questions 12

What type of content is stored in the faces-config file?

A. Java

B. XML

C. XSP

D. HTML

Buy Now
Questions 13

Ben is using a view control on his XPage that contains other controls that perform many computations. He wants to add a Check Box control that will filter the data in the view, but is concerned about performance. He has set the Check Box control to use partial refresh and specified the View control as the refresh id. What else can Ben do to optimize the performance of the XPage?

A. From the "Server Options" section of the event handler on the View control. Click the "Select Element" button next to the Partial Refreshproperty. In the "Select Element to Update" dialog check the "Set Partial Execution Mode" Option.

B. From the "Server Options" section of the event handler on the View control. Click the "Select Element" button next to the "Set Partial ExecutionMode" property. Next select "Select Element from Page" and click on the id of the view control.

C. From the "Server Options" section of the event handler on the Check Box control. Click the "Select Element" button next to the "Set PartialExecution Mode" property. Next select "Select Element from Page" and click on the id of the view control.

D. From the "Server Options" section of the event handler on the Check Box control. Click the "Select Element" button next to the Partial Refreshproperty. In the "Select Element to Update" dialog check the "Set Partial Execution Mode" Option. Next select "Select Element from Page" andclick on the id of the Check Box control.

Buy Now
Exam Code: C2040-408
Exam Name: IBM Notes and Domino 9.0 Social Edition Application Development Update
Last Update: Dec 13, 2024
Questions: 106
10%OFF Coupon Code: SAVE10

PDF (Q&A)

$49.99

VCE

$55.99

PDF + VCE

$65.99