Daniel has an XPage design element that shows a view. The view has hundreds of entries, ten of which display at one time. What core control can Daniel add to the XPage to allow the user to navigate through the view?
A. Pager control
B. View control
C. Repeat control
D. Navigator control
正解:A
質問 2:
John would like the user to open another page from the current XPage set on the screen. What kind of simple action he can use to to that?
A. Basic (Server)
B. Advanced (Server)
C. Advanced (Client)
D. Basic (Client)
正解:A
質問 3:
Olivia is writing a Discussion application using XPages. She added a button on her main topic XPage to create a response document for this discussion. What should she do to generate the response document?
A. Add a Create Response Document simple action to the form QuerySave event
B. Add a Create Response Document simple action to the button onclick event
C. Add a Create New Document simple action to the button onclick event
D. Add a Create New Document simple action to the form QuerySave event
正解:B
質問 4:
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
質問 5:
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
質問 6:
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
質問 7:
Abbas has imported the screen.css stylesheet into his application. He has discovered that he needs to edit the properties of some of the classes in the CSS. What steps can he follow to make the needed changes and save the CSS changes within the application?
A. From the application navigator in Designer, expand Resources and double-click Style Sheets. Select screen.css in the Design pane. Fromthe Design tab of the Properties view, double-click a CSS class to edit its properties.
B. From the application navigator in Designer, expand Resources and expand Style Sheets. Double-click screen.css to use the built-in CSSeditor.
C. From the application navigator in Designer, expand Resources and expand Style Sheets. Click screen.css and in the Outline view select aclass to use the built-in CSS editor.
D. From the application navigator in Designer, expand Resources and double-click Style Sheets. Select screen.css in the Design pane. Fromthe Web Properties tab of the Properties view, double-click a CSS class to edit its properties.
正解:B