Assessment: Developing IBM Lotus Domino 8.5.2 Applications: Advanced XPage Design 試験
Question No : 1
Question No : 2
Tim has an XPage containing an Edit Box. He has read that it is possible to use the Dojo Toolkit NumberSpinner control in XPages, and he wishes to modify his XPage so that the Edit Box will appear as a Number Spinner in the browser. What would the steps be to accomplish this?
Question No : 3
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?
Question No : 4
Titus has created a JSON string that he will pass to the browser. What method could he use to convert the string to an object?
Question No : 5
Brandon wants to extend Dojo's dijit.Dialog box to add some extra functionality. How would Brandon declare the new Dojo class?
Question No : 6
Eric has added the Dojo Module "dijit.form.FilteringSelect" to his XPage and set the dojoType on his Combo Box to "dijit.form.FilteringSelect". However, when he previews his XPage he is not seeing the FilteringSelect? What has he done wrong?
Question No : 7
Frank is attempting to add some functionality to an existing XPage: ?The XPage has a Date Time Picker edit box named "graduationDate" where users must enter their graduation date. ?Frank looks at the HTML source of the XPage and sees that the edit box has the HTML attribute:
dojoType="ibm.xsp.widget.layout.DateTimeTextBoxContainer" ?Frank has added a combo box where users should choose their type of Job, from the options "Intern", "Graduate" or "Experienced". ?Frank wants to add an onchange listener to the combo box, that checks the value of the graduation date and gives a browser alert popup dialog like "Intern and Graduate positions only available in the first 2 years after graduation". ?Frank has looked at the HTML source of the XPage and sees that the Date Time Picker edit box has a dojoType attribute. Which of the following code snippets should Frank use to retrieve the graduation date before triggering the alert dialog:
Question No : 8
Lydia wants to create a JSON string to represent an array with three objects. Each object has two variables, vA and vB, set to different string values of "one", "two", "three", "four", "five", and "six". What is the proper syntax for the JSON string?
Question No : 9
Ernie wants to add the Dojo theme "soria" to the other styling on his XPage. Which theme code will add the appropriate class to the body tag of the outputted HTML?
Question No : 10
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?
Question No : 11
Liz wants to make the user confirm their action when they try and delete a document from the application using a delete button. The confirmation message needs to display the title of the document in it. What is the best way to compute this message?
Question No : 12
Question No : 13
variables. The server the application runs on is heavily used, and the application settings are set to Keep Pages on Disk for best scalability. When the application executes, what is likely to happen?
Question No : 14
Elizabeth needs to parse the contents of a web page held on a remote server into an
applicationScope variable via the server side onclick event of a button using Server Side
Question No : 15
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.?