Arthur wants to change the look of his entire XPages application. What can he do to accomplish this task?
A. Create a theme and apply appropriate style information, then change the Application's Default theme on the Basics tab of the Applicationproperties.
B. Create a Style Sheet resource and apply appropriate style information, then change the Application's Default style sheet on the Basics tab ofthe Application properties.Click here to input option.
C. Create a theme and apply appropriate style information, then change the Application's Default theme on the XPages tab of the Applicationproperties.Click here to input option.
D. Create a Style Sheet resource and apply appropriate style information, then change the Application's Default style sheet on the XPages tabof the Application properties.Click here to input option.
正解:A
質問 2:
Kumar is building the XPage that serves as the home page for the Corporate Happenings site. The home page needs to include an image at the top right of the page, and this image changes weekly. How can Kumar design his XPage to do a look up to the vConfig view to determine the location of the image, rather than hard-coding an image URL?
A. Drag a computed field control onto the XSP editor. Select Formula language for the Data Binding. Enter this code in the script pane: "
B. Drag a computed field control onto the XSP editor. Select Formula language for the Data Binding. Enter this code in the script pane: "
C. Drag an image control onto the XPage. Select Use an image placeholder. For the Image source property, select the Computed propertybutton. Enter this code for the script: @DbLookup("","vConfig","spotlightImage",1)
D. Drag an image control onto the XPage. Select Use an image placeholder. For the Image source property, select the Computed propertybutton. Enter this code for the script: @DbLookup("";"vConfig";"spotlightImage";1)
正解:C
質問 3:
Annie is working to develop an application based on XPages. One of the Xpages that she developed will be used for data collection. The data filled in the fields needs to be validated before submitting the entire page. In some cases, empty the fields and request the user type need to be in a valid value. How can she activate the Ajax Partial Update to achieve this target?
A. The Partial Update can be activated to any Event. Select "Partial Update" on the Event tab andthen select the element she wants to haveupdated when the event is fired.
B. The Partial Update can be activated to any Event. Select "Partial Update" on the Properties tab and then select the element she wants tohave updated when the event is fired.
C. Select "Partial Update" on the Event tab related to the field she wants to partially refresh.
D. Select "Partial Update" on the Properties tab related to the field she wants to partially refresh.
正解:A
質問 4:
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. The style applied to the table cell where the label resides is overriding the label style.
B. The style sheet must be imported into the XPage application.
C. A color style cannot be applied to label text.
D. Black is selected in the font color properties of the label.
正解:D
質問 5:
Darren is working with the Outline view on a new XPage. He drags a button control so that it is above an edit box control. What effect does this have on the XPage in the Design editor?
A. There will be no effect until Darren clicks the Synchronize Navigator with Editor tab in the Outline view, then the button control will moveabove and to the left of edit box control.
B. There will be no effect until Darren saves the Xpage, then the button control will move above and to the left of edit box control.
C. There will be no effect until Darren clicks the Synchronize Navigator with Editor tab in the application navigator, then the button control willmove above and to the left of edit box control.
D. The button control will move above and to the left of edit box control.
正解:D
質問 6:
Christopher's Environment Monitoring XPage dashboard allows the user to enter the current time, temperature, and humidity. The Update core control button needs to update two different Domino databases with this data when clicked. What simple action can Christopher use to accomplish this task?
A. Save Data Sources
B. Set Value
C. Modify Field
D. Save Document
正解:A
質問 7:
John is using the new Java editor to create a Java agent that will fill up some items in a Lotus Notes document. During the editing process, John realizes that a specific variable name is not the name of the item he wishes to update, but he used that variable many times in the code already. How will John change the name of the variable in the code?
A. Double-click the variable name to select it, right-click, select Rename from the menu, enter the new variable name, and press Enter.
B. Click on the menu item Edit -> Rename in the dialog box, enter the new variable name, and click replace all.
C. Click the menu item Edit -> Find/Replace in the dialog box, enter the new variable name, and click replace all.
D. Double-click the variable name to select it, right-click, select Refactor from the menu, then select Rename, enter the new variable name, andpress Enter.
正解:D
木村** -
この通りに行えば、必ず合格出来るようになってます。本C2040-951試験は非常に簡単なので頑張ってください。