Lisa wants a confirmation before the document, which was edited in an XPage, is submitted and saved. How can she accomplish this task?
A. She puts a Button Control on the XPage, adds a group to the Simple Action panel, opens the group, addsa Confirm Action to the group,enters the text for the prompt, and then adds the Simple Action "Conditional Save Document" to the group.
B. She puts a Button Control on the XPage, adds a Confirmation Action through "Add Action ...", and adds the "Save Document" simple action.
C. She puts a Button Control on the XPage and selects Confirmation Action from the Add Action dialog box.
D. She puts a Confirmation Button Control on the XPage.
正解:B
質問 2:
Kaitlyn has been asked to track which browser versions people are using to access the Customers XPage. She wants to add code that writes the browser version to the server log whenever a user opens the XPage. What server-side code can Kaitlyn add to do this task?
A. Add this code in the onLoad event of the
XPage:print(headerValues.getHeader(HTTP_USER_AGENT));
B. Add this code in the onLoad event of the XPage:
var req = facesContext.getExternalContext().getRequest();print(req.get(HTTP_USER_AGENT));
C. Add this code in the beforePageLoad event of the XPage:
var req = facesContext.getExternalContext().getRequest();print(req.getHeader("User-Agent"));
D. Add this code in the beforePageLoad event of the XPage:print(headerValues.getHeader("User-
Agent"));
正解:C
質問 3:
Ragan is working in Designer and has inadvertently closed the Problems view. He needs to see this view to resolve errors in his XPage. How can he get the view to display?
A. Select Show Problems View in User Preferences.
B. Use the menu option of Window > Show Eclipse Views > Problems.
C. Right-click the XPage design element that has the error.
D. The Problem View displays when Designer is restarted.
正解:B
質問 4:
Emil has a data table in his XPage. He has identified the data table's data source as a particular Domino View Data Source. He has also inserted the columns that he needs. How can he assign each column to a matching column from the Domino view?
A. Drag a view control onto the data table and define its columns.
B. Right-click each column, select Data Binding from the context menu, and identify the appropriate column in the Domino view.
C. Select the data table and define its data binding to include all of the view's columns, in the appropriate order.
D. Drag the appropriate controls from the Controls view onto the columns in the data table and define theirdata bindings to the individualcolumns in the Domino view.
正解:D
質問 5:
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. 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.
B. Drag a Server Validation control from the core controls palette onto the XPage and select the names of the fields needing validation.
C. Drag a Display Errors control from the core controls palette onto 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.
正解:C
質問 6:
John wants to use Themes to help him define controls properties. He wants to use the OneUI theme but also extend it to be able to manage a different style for some buttons. How can he override the global theme properties for some of his buttons?
A. He needs to specify one theme file.
B. He can use the option
C. You cannot override any property of a specific control.
D. He has to change the Style attribute of his button.
正解:B
質問 7:
Rebecca has a Rental XPage that updates an underlying document in the database. As the user leaves each field on the XPage, Rebecca wants the underlying document fields to be updated.
What can she use to accomplish this task?
A. Add a Modify Field simple action to the Rental XPage QuerySave event.
B. Add an Update Data simple action to the Rental XPage onModify event.
C. Add a Modify Field simple action to the Edit Box core control onBlur event.
D. Add an Update Field simple action to the Field core control onExit event.
正解:C
質問 8:
John has an application that contains a form named "Order". His boss has asked him to create an XPage that will be used to create documents similar to the "Order" form. How can he ensure that he includes all of the fields that form contains to the XPage?
A. Define a document data source based on the form and drag the document from the Controls Palette to the XPage
B. Define a document data source based on the form and drag all of the fields from the Data Palette to the XPage
C. Define a document data source based on the form and drag the document from the Data Palette to the XPage
D. Define a document data source based on the form and drag all of the fields from the Control Palette to the XPage
正解:B
質問 9:
Manesh is developing the ActivityPlanner XPage. He now needs to add check boxes that allow a user to select one or more of the activities of Monthly Volunteering, New Hire Orientation, and Quality Circle. How can Manesh create the needed check boxes?
A. Drag a check box control onto the XPage canvas. In the Options area of the Properties tab,
enter the following values on separate lines:
Monthly Volunteering
New Hire Orientation
Quality Circle
B. From the controls palette, drag "Check Box" onto the XPage canvas. Open the Source tab, and
within the xp:checkBox tag, enter these lines:
C. From the controls palette, drag "Other" onto the XPage and select Other Controls > Checkbox
group. Open the Source tab, and within the
xp:checkBoxGroup tag, enter these lines:
D. Create a check box group control on the XPage canvas. In the Options area of the Properties
tab, enter the following values on separatelines:
Monthly Volunteering
New Hire Orientation
Quality Circle
正解:C
夏*玲 -
本日、試験受けて参りました。結果見事で合格しました。
この模擬試験で行って、全部覚えれば、間違いなく合格できます。
合格だけなら、この問題集は完璧です。