IBM C2040-922 - Developing IBM Lotus Domino 8.5.2 Applications: Advanced XPage Design Exam

Page:    1 / 14   
Total 66 questions

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?

  • A. <control> <name>ViewRoot</name> <property mode="override"> <name>styleClass</name> <value>soria</value> </property> <control>
  • B. <control> <name>ViewBody</name> <property mode="override"> <name>styleClass</name> <value>soria</value> </property> <control>
  • C. <control> <name>ViewRoot</name> <property mode="concat"> <name>styleClass</name> <value>soria</value> </property> <control>
  • D. <control> <name>ViewBody</name> <property mode="concat"> <name>styleClass</name> <value>soria</value> </property> <control>


Answer : C

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?

  • A. [ { vA: 'one', vB: 'two' },{ vA: 'three', vB: 'four' },{ vA: 'five', vB: 'six' } ]
  • B. "[ { vA: 'one', vB: 'two' },{ vA: 'three', vB: 'four' },{ vA: 'five', vB: 'six' } ]"
  • C. "[ { vA: one, vB:two },{ vA: three, vB: four },{ vA: five, vB: six } ]"
  • D. new Array(new Object({ vA: 'one', vB: 'two' }), new Object({ vA: 'one', vB: 'two' }), new Object({ vA: 'one', vB: 'two' }));


Answer : B

Tim has an XPage containing an Edit Box. He has read that it ispossible 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?

  • A. From the Dojo Tollkit Website, get theURL to the most recent version of the NumberSpinner.js control (where the URL begins with http://). In the XPage, in the Resources tab of the Properties view, add a JavaScript Library using that URL. Configure the Edit Box to set the dojoType to "dijit.form.NumberSpinner".
  • B. Import the NumberSpinner.js file from Dojo into the application as a JavaScript Library. In the XPage, in the Resources tab of the Properties view, add a JavaScript Library resource for that NumberSpinner.js file to the XPage. Configure the Edit Box to set the dojoType to "dijit.form.NumberSpinner".
  • C. Import the NumberSpinner.js file from Dojo into the application as a Dojo Module. In the XPage, in the Resources tab of the Properties view, add that Dojo Module resource for that NumberSpinner.js file to the XPage. Configure the Edit Box to set the dojoType to "dijit.form.NumberSpinner".
  • D. In the XPage, in the Resources tab of the Properties view, add a Dojo Module resource for "dijit.form.NumberSpinner" to the XPage. Configure the EditBox to set the dojoType to "dijit.form.NumberSpinner".


Answer : D

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?

  • A. In each XPage in the application add the required CSS files to the Resources section
  • B. Create a new theme which extends webstandard and then add each Blueprint CSS file via a resource definition
  • C. Create a new theme which extends oneui and then add each Blueprint CSS file via a resource definition
  • D. Create a new theme which doesnot have an extension property and then add each Blueprint CSS file via a resource definition


Answer : D

Tamsin is building an XPages application for use on mobile devices. She finds the font and row height on View Panel controls too small and difficult to navigate on a touch screen.
Which View Panel property should she add her CSS class to?

  • A. dataTableStyleClass
  • B. viewStyleClass
  • C. viewPanelStyleClass
  • D. captionStyleClass


Answer : A

Page:    1 / 14   
Total 66 questions