Rachel needs to enable her XPages application for multi-language use. Where should she go to enable localization?
A. In Domino Designer, open up the Application Properties and on the Advanced tab click 'Enable localization'
B. In Domino Designer, open up the Application Properties and on the XPages tab click 'Enable localization'
C. In Lotus Notes, open up the Application Properties and on the Advanced tab click 'Enable localization'
D. It is not possible to enable localization at application-level in XPages.
正解:B
質問 2:
John wishes to add a Java Class to his XPages application. How would he do this?
A. Expand his application in the "Applications Navigator" and create a new Java Agent, place the necessary Java logic within the agent, and call the agent from within the XPage
B. Switch to the Java Perspective and create a new Java Source Folder within the application (using the Package Explorer), and create the Java Class within that folder
C. Expand his application in the "Applications Navigator" and create a new Java Script Library and place the necessary Java logic within that script library?
D. Switch to the Java Perspective, navigate to the "Local" Java Source Folder within the application (using the Package Explorer), and create the Java Class within that folder
正解:B
質問 3:
Brandon wants to extend Dojo's dijit.Dialog box to add some extra functionality. How would Brandon declare the new Dojo class?
A. dijit.declare("brandons.Dialog", "dijit.Dialog", { // added functionality });
B. dojo.declare("brandons.Dialog", "dijit.Dialog", { // added functionality });
C. dojo.declare("brandons.Dialog", dijit.Dialog, { // added functionality });
D. dijit.declare("brandons.Dialog", dijit.Dialog, { // added functionality });
正解:C
質問 4:
Liz must do a code review of a third party XPages application in order to optimize performance wherever possible. She has come up with a shortlist of things to do. Each of the following can be used to improve performance EXCEPT which one?
A. Using viewScope variables to manage application state wherever possible
B. Setting the dataCache property on Domino view data sources to "full" wherever possible
C. Using partial refresh wherever possible.
D. Replacing post-based requests with get-based requests wherever possible
正解:B
質問 5:
John needs to access data which is in a relational database from his XPages application. What is the best option for accessing the data?
A. As long as there is a JDBC driver available for the database then John can write Java to access the database
B. As long as there is a JDBC driver available for the database then John can write Java or Server Side Javascript to access the database.
C. The relational data source would need to have a web service added to it to allow access to the data.
D. It is not possible to access relational data from an XPage
正解:B
質問 6:
Peter wants to enhance the view controls used in his application so that they can display rich content from the underlying document collection. He wants to do this in an efficient manner as the application has thousands of documents and is accessed by hundreds of concurrent users. Which of the following approaches should John take to add this enhancement to his application most efficiently?
A. Add a computed column to the view control that opens each document, set the column content type to HTML, and bind the rich text content from each document using JavaScript code.
B. Add an action to each column that will retrieve the rich text content from the underlying document when clicked, assign it to a computed field with content type set to HTML, and then display that field.
C. Nothing - XPages view controls cannot display rich content.
D. Modify the Domino view to include the rich text field and add a new column to his view controls that automatically binds to this field.
正解:B
質問 7:
Wayne needs to debug some client side JavaScript code in an XPage to find why a feature is not working as expected. Which of the following actions would be the best option to determine the problem?
A. Wayne can insert print() and _dump() statements directly in the JavaScript code and use the information sent to the console window to help debug the problem
B. Wayne can install FireBug or FireBug lite in the browser, set breakpoints in the JavaScript code and then run and debug the application
C. Wayne can open the Java perspective in Domino Designer, find the Java code for the XPage in the "local\xsp" source folder, set breakpoint(s) in the code using the standard Java tooling and then preview the application
D. Wayne can activate the Source pane for the XPage in Domino Designer, set breakpoint(s) on the JavaScript code by double-clicking in the side-gutter and then preview the application
正解:B
麻生** -
A2040-922正解だけでなく,間違い選択肢についても確認できる,詳細な解説だお気に入りです。