IBM Developing IBM Lotus Domino 8.5.2 Applications: Advanced XPage Design - LOT-922 Exam Practice Test

Question 1
Dominic wants to implement the open source CSS framework called Blueprint in his XPages application. He does not want to include any other CSS framework resources which may exist on the Domino server. What is the best way to include all of the required CSS files in the XPages in his application?

Correct Answer: A
Question 2
Joe wishes to retrieve the HttpServletRequest while his XPage is loading. Which of the following is true regarding this activity?

Correct Answer: D
Question 3
Rachel needs to enable her XPages application for multi-language use. Where should she go to enable localization?

Correct Answer: B
Question 4
Fred wants to remove any reference to pre-defined CSS frameworks such as OneUI from his XPages application. How does he achieve this?

Correct Answer: A
Question 5
Aaron has created an XPages application that has a couple of XPages to surface the same data to two different application roles in two completely different user interfaces. Each role can manipulate parts of the data, but in both cases, the data must adhere to the same business logic and rules. What would be the best way for Aaron to implement the same business logic in each XPage?

Correct Answer: A
Question 6
Per wants to connect to a datasource using JDBC. What is the best way to do this?

Correct Answer: D
Question 7
Michelle is editing an existing XPage: ?The page has a "tags" Edit Box with Type Ahead enabled, which provides suggestions for possible tags or keywords to add to the document. ?The HTML source of the Edit Box includes a dojoType attribute. ?After the edit box there is a panel named "tagsHint" explaining the concept of tags. ?Now Michelle wants to hide the "tagsHint" panel when values are already present in the "tags" field. ?She adds an Output Script control containing the following code: var tags = dijit.byId("#{id:tags}"); if( tags.value.length > 0 ){ // already set some tag var tagsHint = XSP.getElementById("#{id:tagsHint}"); tagsHint.style.display = "none"; } ?When she opens the page in a web browser, the JavaScript Error Console reports the error: tags is undefined at the line: if( tags.value.length > 0 ){ // already set some tag What is the problem with the sample code?

Correct Answer: B