Tim has an XPage containing an Edit Box. He has read that it ispossible to use the DojoToolkit NumberSpinner control in

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

Tim has an XPage containing an Edit Box. He has read that it ispossible to use the DojoToolkit NumberSpinner control in

Post by answerhappygod »

Tim has an XPage containing an Edit Box. He has read that it ispossible to use the DojoToolkit NumberSpinner control in XPages, and he wishes to modify his XPage so that theEdit 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".
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!

This topic has 1 reply

You must be a registered member and logged in to view the replies in this topic.


Register Login
 
Post Reply