Ashley is writing a server-side script to process the request parameters that are passed in her Registration XPage. What global object should she use to access the parameters that she's interested in?
A. header
B. requestScope
C. param
D. cookie
正解:C
質問 2:
Oleg would like to add a banner at the top of his XPage to display a graphic and the name of the application. How can he do this task?
A. Open the Properties view for the XPage. Open the All Properties tab and expand the basics section. Select the image for the headerImageproperty. For the headerLabel property, select Application Title
B. Drag a Panel control from the controls palette to the top of the XPage canvas. Drag an Image control onto the panel and select the image toinclude. Drag a Label control onto the panel. From the Properties view for the Label, open All Properties, select data > value. Set the Valueto Compute value, and enter @DbTitle();
C. Open the Properties view for the XPage. Open the All Properties tab and expand the basics section. Select the image for the pageIconproperty. For the pageTitle property, specify that it is a Computed value and enter @DbTitle();
D. Drag a Header control from the core controls to the top of the XPage canvas. Select the image from the Image option,and select ApplicationTitle for the Text option.
正解:B
質問 3:
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
質問 4:
Tara is writing an agent that allows users to reset their password on their ID file from the ID vault. What method listed below would need to be used in the agent to accomplish this task?
A. notesAdministrationProcess.ResetIDPassword
B. notesuiworkspace.ResetUserPassword
C. notesDatabase.ResetVaultIDPassword
D. notesSession.ResetUserPassword
正解:D
質問 5:
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
質問 6:
Devin has been developing an application that includes an XPage. When he opened the application in Designer this morning, he noticed a small "x" icon by the XPages listing in the Applications view. He had closed several of the Eclipse views yesterday, and does not see any errors displayed in the remaining views. How can Devin locate the problems in the source code?
A. Right-click the "x" icon from the Applications view and select Go To Error. The Problems view displays with the cursor at the first error.
B. Click to expand the XPages listing. A small "x" icon displays by the XPage with the errors. Double-click the name of the XPage. The Sourcetab opens with the cursor at the first error line.
C. Display the Problems view by selecting Window > Show Eclipse Views > Problems. Right-click a displayed error and select Go To. The Source view opens to the line with the error.
D. Click to expand the XPages listing. A small "x" icon displays by the XPage with the errors. Double-click the name of the XPage and the Sourceview opens to the line with the error.
正解:C
質問 7:
Michael has created an XPage that will be used to create Lotus Notes documents. In the button he wants to use to create the document, he also wants to redirect the user to another XPage. Which two Simple Actions can Michael use to do this?
A. Save Document and Redirect to XPage
B. Create Document and Redirect to XPage
C. Create Document and Open Page
D. Save Document and Open Page
正解:D
質問 8:
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
質問 9:
Cade is building an XPage for the Sales application. What are the options from which he can select when defining a data source from the data palette?
A. Data connections, DB2 access views, and file resources
B. Data connections and DB2?access views
C. Domino view and Domino document
D. @DbLookup and @DbColumn
正解:C
吉田** -
このA2040-951問題集一冊で合格できます!