PermaLink More fun with Dojo: "Using JavaScript control" nullifies other Dojo components05/31/2009 01:55 PM
dojo

I've been including dojo components in my Domino form using the following $$HTMLHead field:

Load Dojo $$HTMLHead

However, when I change a Rich Text field to use the new "Using JavaScript control" setting, the dojo rich text area appears, but none of my other dojo controls (FilteringSelect, ComboBox, TextArea, etc.) will load.  Nice...


Comments :v

1. Axel05/31/2009 03:40:04 PM


Some error-messages in firebug?
If you were me there would be a high probably to have missed the dojo.declare() for the components that does not show up.




2. Stephan H. Wissel05/31/2009 08:08:42 PM
Homepage: http://www.wissel.net/


Looks very much like a Dojo version conflict. try the following:<br>- create a simple form with one richtext control.<br>- select JavaScript component<br>- have a look at the source code<br>I would bet you have a Dojo statement in there already. So you can take advantage of that then. Let us know your insights.




3. bruce lill06/01/2009 04:06:23 PM
Homepage: http://www.kalechi.com


The domino dojo controls have the onload turned off automatically. You can change this for the server (if you don't use xpages)

Or change the behavior for the server
Edit this file on the server:
data\domino\template\dojo-1.1.1\dom_common.htm
<script type="text/javascript"
src="&DOMINO_CTRL_URI_JSLIB;/dojo/dojo.js" djConfig="locale: '&DOMINO_CTRL_ACCEPT_LANGUAGE;', isDebug: true, parseOnLoad: true">
</script>

Restart http




Credits
NuTechs Powered by Domino
Search
Calendar
March 2010
Su
Mo
Tu
We
Th
Fr
Sa
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Monthly Archive
Get Real, Detroit!
Real Detroit Weekly
SWARM
Service
With
A
Rapid
Motion


-- old Rally's Hamburgers credo
Lotus Domino ND6 RSS News Feed RSS Comments Feed Podcast Feed Geo URL netcraft RSS Validator Lotus Geek Chris. A. Brandlehner Open Notes Picture Database OpenNTF CoComment Integrated BlogSphere
By Category
The BlogRoll
About
Contact Me
Contact me, Michael Sobczak, using this e-mail address:

my first initial my last name at Yahoo dot com
Recent Entries
No Recent Blogs
Powered by
Blogsphere