
OpenNTF Code Bin
About This Code
Brief Description:
Dojo - Easy As 123 - updated again: 21-May-08
Contributor:
Stan L Uptagrafft
Document Release:
dojo 1.02
Notes Version:
R6.x, R8.x, R7.x
Last Modified:
25 May 2008
OpenNTF Disclaimer
All of the program code and information presented in the OpenNTF.org Code Bin are provided "as-is", and should be used at your own risk. OpenNTF.org make no express or implied warranty about anything in the Code Bin, and OpenNTF.org will not be responsible or liable for any damage caused by the use or misuse of anything from this site. OpenNTF.org makes no guarantees about anything. Please thoroughly test all of the knowledge and code you find here before you attempt to use them in your production environment.
Code / Description
I learn by seeing how things are done by others... I struggled with dojo because I could not find examples! This database has several dojo elements exampled. You will also see what is needed to incorporate dojo into your code, what needs to be installed locally/server and some different ways to use dojo (pass thru html or within field properties)
credits:
This database is a variation of a database used at a lotusphere 2008 session: SpeedGeeking. I have changed the name to prevent users from confusing this with the original... and not to take any credit for the work done by Scott Good or Henry Newberry.
I saw dojo illustrated at Lotusphere, and read all about it on various Lotus/IBM sites.. however, reading the documentation at the dojo web sites didn't help since I wanted to implement this on domino. After several days of experimentation I found Henry's database and I could finally see dojo working. I needed more field types and after additional experimentation learned many things.
This database will show you the things I learned, and hopefully, save you some time in your exploration. Feedback is welcomed, and my thanks are returned to Scott Good and Henry Newberry.
This is not an application. This is a simple database with one view and one form with dojo type fields exampled on a form.
Usage / Example
You can use/develop with dojo locally! You don't need to install it on your server to see how it works.
Download this database and launch it via Notes (or your browser) for further instructions.
ACL: -Default- is Manager and Anonymous is Manager.
I've included some comments on the form and would welcome any questions you have too.
Updates 29-March-2008
1) Confirmed works with dojo version 1.1 (also works with 1.02)
2) Added many more design elements (i.e. date/time/tooltips and more)
3) Added developer's table to help explain what to include based upon what elements are used
Updates 21-May-2008
1) Added even more design elements to the form
2) The view now includes a dojo radio button field in one column
3) This update has many improvements to previous examples
If you want to test this locally, simply open the view in Designer with Preview in Internet Explorer.
Code Attachments
Comments
Posted by Patrick Kwintensson on 03/17/2008 03:28:56 AMError message
From Notes 7:
attempted encryption operation is not supported by this version of Notes
Posted by Stan L Uptagrafft on 03/17/2008 06:02:59 AMencryption off
sorry... local encryption was on, this has been fixed. try again.
:)