IBM C2040-922 - Developing IBM Lotus Domino 8.5.2 Applications: Advanced XPage Design Exam
Page: 3 / 14
Total 66 questions
Question #11 (Topic: Topic 1)
John has a page with an edit box and a submit button and decides he wants to use a Dojo
NumberSpinner dijit. He adds the dojoType dijit.form.NumberSpinner to the edit box. The
submit button stops working. What is the reason for the submit button not working?
NumberSpinner dijit. He adds the dojoType dijit.form.NumberSpinner to the edit box. The
submit button stops working. What is the reason for the submit button not working?
A. John needs to check the check box "Enable Dojo" on the submit button
B. John needs to add adojo module to the XPage.
C. John needs to add a server side JavaScript library to the XPage
D. John needs to configure themes to include a dojo theme like tundra
Answer: B
Question #12 (Topic: Topic 1)
Marion wants to use the Dojo mobile controls in an application she is building for
deployment on a Domino 8.5.2 server. Which of the following statements best describes
the steps she must take?
deployment on a Domino 8.5.2 server. Which of the following statements best describes
the steps she must take?
A. Marion just has to use the relevant Dojo modules that are installed by default on the server.
B. Marion must use modules from at least Dojo 1.5.0.
C. Marion must use modules from at least Dojo 1.6.0.
D. Dojo does not have any mobile controls.
Answer: B
Question #13 (Topic: Topic 1)
John wishes to add a managed bean to his application. In order to do this he must do
which of the following:
which of the following:
A. Create a file called xpages-config.xml within his application and define the managed bean within the file using the appropriate syntax.
B. Create a JavaBean class and add the Java class as a page resource to the XPage where the managed bean is to be used.
C. Open the pre-existing faces-config.xml file located at WebContent\WEB-INF\faces- config.xml and add the appropriate markup to the file.
D. Open the pre-existing xpages-config.xml file located at WebContent\WEB-INF\xpages- config.xml and add the appropriate markup to the file.
Answer: C
Question #14 (Topic: Topic 1)
John has a JavaScript function in a Client Side JavaScript library which he wrote to parse
some JSON data and loop through the resulting objects. If he wanted to perform thesame
task in Server Side JavaScript what would be the most efficient action?
some JSON data and loop through the resulting objects. If he wanted to perform thesame
task in Server Side JavaScript what would be the most efficient action?
A. write a new function in Server Side JavaScript to perform the same task
B. copy the Client Side function into a Server Side JavaScript library, add the script library to his XPage and call the function from his Server Side JavaScript
C. add the Client Side JavaScript library to his XPage and call the function from his server side JavaScript
D. Server Side JavaScript does not work with JSON data
Answer: B
Question #15 (Topic: Topic 1)
Per wants to connect to a datasource using JDBC. What is the best way to do this?
A. Write a LotusScript or Java agent and call it from Client-Side JavaScript, as he would have done in traditional Domino web applications.
B. He must use a third-party tool like DECS or LEI.
C. The necessary JDBC drivers will come pre-installed withDomino. He just needs to write SSJS or Java to call the required methods.
D. He will need to download and install the relevant JDBC drivers and write SSJS or Java to call the required methods.
Answer: D