Beruflich Dokumente
Kultur Dokumente
Domino 8.5
Bluewash
Open
Source www.ibm.com/software/lotus/
notesanddomino
download.dojotoolkit.org/release-1.1.1
Dojo packaging
● 3 main packages
– Dijit
●UI widgets
– Dojo
●Runtime
– Dojox
Extensions, Experiments
●
● Support packages
– Util
● Tools for Build, Doc
Domino's additions to Dojo
● One main package
– ibm
● inotes
● domino
– Rich text
● xpages
– Date-timepicker
– Calendar
– Typeahead
– xspClientDojo
● (One support file
– A 'profile.js' file for configuring a Dojo build)
Where to find Domino’s Dojo
● Directory name provides version
– On disk: data\domino\js\dojo-x.y.z\dojo\dojo.js
– URI: /domjs/dojo-x.y.z/dojo/dojo.js
● Allows predictable browser caching
– Expires header set for static files by default
– Expires header optional for nsf file resources
● Set in 'Application Properties'
● Date-time picker
● Calendar
● Typeahead
● Rich text
More on Rich Text
– Data characteristics change the design
– Rich Text editor can display inline images
● But not Attachments
– Upload Control
– Attachments Control
– Document’s files are cached on read by
XPages
● Across many http requests
– XPages stores MIME in the item
Agenda
● What is Dojo?
● We (XPages) use it.
● Setup for Dojomino development.
● You can use Dojo too!
● Demo
● Q&A
Development in a Dojo world
● Firefox 3
– Firebug plugin
– Many others tools too – yslow, proxy, ...
● XSP settings
– xsp.error.page.default=true
– IE and Safari firebug lite console
● xsp.client.script.dojo.djConfig=isDebug:true
– http://sitepen.com/labs/toolbox/
● Adobe Air Dojo app – offline api doc
Using a Dojo widget on an XPage
● Start with the Dojo runtime
– <script type="text/javascript"
src="/domjs/dojo-1.1.1/dojo/dojo.js"
● Include a widget
– dojo.require(“dijit.TitlePane”)
● 2 ways to instantiate it
– Let dojo.parser find DojoType=“dijit.TitlePane”
● djConfig="parseOnLoad: true"
Thank you!
Resources
Lotus Domino Designer wiki
lotus.com/ldd/ddwiki.nsf
Wiki articles
Videos
Red wikis
Dojotoolkit.org
Google too...