Leads4pass > IBM > IBM Certified Application Developer > C2040-951 > C2040-951 Online Practice Questions and Answers

C2040-951 Online Practice Questions and Answers

Questions 4

Joshua would like to have a cookie set on his Movie Rental XPage before it loads on the browser. Which view would Joshua use to add this functionality?

A. Events view

B. Controls view

C. Properties view

D. Applications view

Buy Now
Questions 5

Elizabeth is modifying the Customers composite application. She needs to add code to determine if the RecentOrders component can be repositioned. What is a function she could use for this purpose?

A. @IsMoveable("RecentOrders")

B. @GetComponentProperty(MOVEABLE)

C. @ComponentProperty("RecentOrders"; MOVEABLE)

D. @GetComponentViewPreference(com.ibm.rcp.moveable)

Buy Now
Questions 6

Brett wants to add a view to his XPage, configured so that it displays two rows for each entry in the view. What technique can he use to accomplish this task?

A. Add a View control to the XPage and configure the view's NumberOfRows property to '2'.

B. Add a View control to the XPage and change the NumberOfRows property on the All Properties tab to '2'.

C. Enable the Application property Use Java Views on Web and configure the view's NumberOfRows property to '2'.

D. Add a Repeat control to the XPage and place the appropriate fields within the Repeat control in a two row table.

Buy Now
Questions 7

Yolanda is developing a rental car application using XPages. When she is testing the application, she gets an "Error 500: HTTP Web Server: Command Not Handled Exception" screen in the browser. Unfortunately, this error message does not give any details of what has happened. What can she do, do get more detailed error messages?

A. Turn on "Advanced Debug Information" in the properties of the XPage in question.

B. Turn on "Display default error page" in the "Errors and Timeout Section" of the XPages Tab in the Application Properties.

C. Turn off "Display default error page" in the "Errors and Timeout Section" of the XPages Tab in the Application Properties and select "Serverdefault" instead.

D. There is no way to get more detailed information automatically. Hence Yolanda has to implement her own JavaScript Error Code, which mayoutput debug data to the browser.

Buy Now
Questions 8

Nathan is adding the ability to upload files to his XPages application. What can he do to have the files placed in a particular rich text field.

A. In the Properties view, on the Data tab, select Simple Data Binding and specify a Domino document data source and bind to the specific richtext field.

B. In the Properties view, on the All Properties tab, under Basics, select the fieldName property and specify a Domino document data sourceand bind to the specific rich text field.

C. In the Properties view, on the File Upload tab, under Options, select the Add File to Field option and specify a Domino document data sourceand bind to the specific rich text field.

D. The file is uploaded as a V2Attachment and stored outside of the fields. To add it to a particular rich text field, Nathan can write an agent tosave the file to the operating system and reattach using the NotesRichTextItem classes.

Buy Now
Questions 9

Tom added a button to an XPage and a Simple Action. Tom chose "Basic" as the category, so he can select "Execute Script" to execute a script. What are the options that Tom will find under the "Language" section?

A. JavaScript(server side), LotusScript

B. JavaScript(server side), Expression Language(EL)

C. JavaScript(server side), Expression Language(EL), Custom

D. JavaScript(server side), Expression Language(EL), LotusScript

Buy Now
Questions 10

Hannah wants to change her font type on her invoices XPage. What view in the Domino Designer allows her to do that?

A. Page view

B. Themes view

C. Events view

D. Properties view

Buy Now
Questions 11

Carl is using the NotesRichTextDocLink object to work with a URL that he has in the body of an email. He would like to remove the underlying URL associated with the link, while leaving the formatting of the link alone. What method would Carl use to accomplish this task?

A. Remove

B. RemoveURL

C. RemoveLinkage

D. SetHotSpotTextStyle

Buy Now
Questions 12

Hye needs to create an XPage to allow users to browse a view of Inventory documents. She needs to allow a user to select one or more documents and click a button to delete the selected documents.

How can Hye accomplish this task?

A. Create a viewPanel and set the Selectable option on the first column. Add a button to the XPage and specify the Delete simple action for the onclick event.

B. Drag an EditTable control onto the XPage. Specify the view for the Source property and set the Selectable property. In the Submit section,select Delete for the action.

C. Create a viewPanel and include a column with the Check box property enabled. Add a button to the XPageand specify the Delete SelectedDocuments simple action for the onclick event.

D. Drag an EditTable control onto the XPage. Specify the view for the Data property and select Left margin and Check box. In theActionarea,select Submit for the Type, and select Delete Selected for the argument.

Buy Now
Questions 13

Henry wants to display responses in an XPage. Which best describes what he has to do?

A. Nothing; you cannot display any response document in XPages.

B. Important coding has to be done for that to run in XPages; no control exists.

C. A repeat container in a custom control is needed.

D. A repeat container in a custom control and a server-side JavaScript iteration are needed.

Buy Now
Exam Code: C2040-951
Exam Name: IBM Lotus Notes Domino 8.5 Application Development Update
Last Update: Dec 13, 2024
Questions: 94
10%OFF Coupon Code: SAVE10

PDF (Q&A)

$49.99

VCE

$55.99

PDF + VCE

$65.99