I've been including dojo components in my Domino form using the following $$HTMLHead field:
/4D9CAED2A27002E0852575C700626165/$File/LoadDojo.jpg)
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...
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
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 | ||