Exam Details

  • Exam Code
    :C2040-951
  • Exam Name
    :IBM Lotus Notes Domino 8.5 Application Development Update
  • Certification
    :IBM Other Certification
  • Vendor
    :IBM
  • Total Questions
    :94 Q&As
  • Last Updated
    :Mar 25, 2025

IBM IBM Other Certification C2040-951 Questions & Answers

  • Question 51:

    What is the difference between the global objects header and headerValues?

    A. Both represent the same object.

    B. headerValues is not a global object.

    C. header contains a RequestHeaderMap, which returns the first value of each header only, whereas headerValues provides all values of eachheader in an array.

    D. header contains the header values of the servlet request, whereas headerValues is an object, containing all the properties of the actualXPage in an string array.

  • Question 52:

    Lenni added a style sheet to an XPage using a URL link. The style sheet contains a class to format text to be red and bold. She applied the class to a label control; however, when she previews the XPage in a web browser, the label text is bold but the font is black.

    Which of the following could be causing the label font to be black?

    A. A color style cannot be applied to label text.

    B. Black is selected in the font color properties of the label.

    C. The style sheet must be imported into the XPage application.

    D. The style applied to the table cell where the label resides is overriding the label style.

  • Question 53:

    Margot has created a new theme for her application and saved it as a Themes resource. When she is testing her application, she wonders, why her new theme is not used. What could be the reason for this?

    A. Themes have to be activated individually to each design element that is used on the web.

    B. She forgot to activate her new theme in the application properties. In the Web section she has to change the default theme to her newtheme.

    C. There was a problem in her theme. When themes are not correct, Lotus Domino Designer disables the theme and uses the last used themeor the application or server default theme. Problems are reported in the Problems pane only when the theme is open in Lotus DominoDesigner.

    D. Margot used a reserved word as the name of the theme. When you do that, Lotus Domino Designer does not present you with an errormessage but simply ignores the theme with the illegal name

  • Question 54:

    Farah has added the main.css style sheet to her XPage. She wants to associate the helpText class from main.css with the lblHelp Label control on the page. How can Farah do this task?

    A. Select the Source tab from the Xpage canvas, and enter this line: .

    B. Right-click lblHelp from the XPage. On the HTML tab of the Properties window, enter helpText for the Class option.

    C. Select the lblHelp control on the Xpage. From the Style tab of the Properties window, enter helpText for the Class option.Click here to inputoption.

    D. Select the Source tab from the Xpage canvas. Locate the line. Below this line, add: .

  • Question 55:

    Renee is developing the Product Support Contact XPage. When a product manager enters the name of a support technician, the page is submitted and a lookup is done to try and populate the technician's e-mail address and phone number on the XPage. If there is no e-mail or phone number found, then messages should display to inform the product manager that the E-mail and Phone fields must be entered. On the XPages tab in the Application properties, the Client Validation check box is unchecked.

    What steps can Renee take to provide the needed validation messages on the XPage?

    A. Drag a Display Errors control from the core controls palette onto the XPage.

    B. Drag a Server Validation control from the core controls palette onto the XPage and select the names of the fields needing validation.

    C. On the XPages tab in the Application properties, click to select Client Validation. Drag a Display Errors control from the core controls paletteonto the XPage.

    D. On the XPages tab in the Application properties, click to select Server-side Validation. Drag a Display Errors control from the core controlspalette onto the XPage.

  • Question 56:

    Nadine has discovered that XPages dynamically generates names of UI elements. She therefore cannot know ahead of time what an element's name is when it is passed to the Web browser. What function can Nadine use in her server-side JavaScript to fetch the generated element ID at runtime?

    A. getClientId

    B. getXpageElementId

    C. toString(elementId())

    D. toString(getElementId())

  • Question 57:

    Josh has created an XPage that contains a view container and a button to delete selected documents using a Simple Action. His boss has asked him to modify the XPage button to give the user an opportunity to cancel the delete action. What can Josh do to fulfill this requirement?

    A. In the Validation tab of the XPage properties, Josh must enter a Validation message.

    B. In the Delete Selected Documents dialog, Josh must enter a value in the Confirmation text field.

    C. Josh cannot do this with one simple action. He must use a Confirm Action within an Action Group.

    D. In the view container properties, Josh must enable the Delete Selected Documents Confirmation option.

  • Question 58:

    Nick would like to use JavaScript to get the name of the current XPage.

    Which one of the following global objects and its corresponding method can he use to accomplish this?

    A. view.getPageName();

    B. session.getPageName();

    C. database.getPageName();

    D. applicationScope.getPageName();

  • Question 59:

    Zach needs to ensure that every XPage in the Products application includes a copyright line. This text should display identically at the bottom of every XPage. How can Zach accomplish this task?

    A. Right-click Custom Controls from the application navigator and select New Custom Control. Supply the text and formatting. Drag this controlfrom the controls palette onto the bottom of each XPage.

    B. Double-click Applications properties from the application navigator. In the Header and Footer area of the XPages tab, enter the text in theFooter Text field. Select the options for font, color, and justification.

    C. Create a page to hold the content. Right-click Custom Controls from the application navigator and select New Custom Control. Supply thename of the page for the Source property. Drag this control from the controls palette onto the bottom of each XPage.

    D. Create a subform to hold the content. Right-click Custom Controls from the application navigator and select New Custom Control. Supply thename of the subform for the Source property. Drag this control from the controls palette onto the bottom of each XPage.

  • Question 60:

    Joanne is working with two other developers on a company-wide intranet project built in XPages. Each developer has taken responsibility for different aspects of the site, but some of these occur in multiple places within the intranet. How should they manage these tasks?

    A. Create SubForms within the XPages to separate and reuse the code.

    B. Create Sections on each XPage to incorporate the shared functionality.

    C. Create custom controls for each aspect of the site that is repeated in multiple places.

    D. Create separate XPages for each primary area, then use the Source tab of the Editor view to copy the XML representing each subset offunctionality and paste it onto the necessary XPages.

Tips on How to Prepare for the Exams

Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only IBM exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your C2040-951 exam preparations and IBM certification application, do not hesitate to visit our Vcedump.com to find your solutions here.