Free IBM LOT-922 Exam Dumps Questions & Answers
| Exam Code/Number: | LOT-922Join the discussion |
| Exam Name: | Developing IBM Lotus Domino 8.5.2 Applications: Advanced XPage Design |
| Certification: | IBM |
| Free Question Number: | 66 |
| Publish Date: | Jul 10, 2026 |
| # of views: | 1870 |
|
|
|
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?
Rick creates a Server-Side JavaScript library, and defines a few global variables at the beginning of the library. The JavaScript in his XPage and in the JavaScript library modify those global 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?
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?