You need to sign in to do that
Don't have an account?
BJames
Dojo
Anyone out there have any information they can share about using the Dojo Toolkit in an scontrol?
Specifically I'm attempting to use the editor widget and I have the dojo.js file installed as a document and I'm referencing it via the document URL. However I cannot seem to get it recognized and rendered...
Any ideas?
-=Bryan
What you need to do is first get the editor up and running. This code should work (assuming you have the dojo.js in the right place.
Code:
After building on what you posted, I discovered that one still needs access to a file system to use dojo via the dojo.require() method. So since this sControl will live in our instance, dojo won't work.
I was wondering if there is a JavaScript HTML editor that you would recommend using within an sControl?
-=Bryan
Message Edited by BJames on 04-11-2006 02:17 PM
The URL for the site this code comes from is here... http://www.unverse.net/using-whizzywig-web-pages.html
Code:
I tried using an embedded document URL from Salesforce and a direct link of the js from the creators site. Neither worked.
Ideas?
-=Bryan
--Update: It works in Firefox but not IE6 on Salesforce. IE6 is the customers platform.
--Would it be possible to use the HTML editor that I'm using to enter this message in an sControl?
Message Edited by BJames on 04-12-2006 08:47 AM
Wikiwyg ( http://www.wikiwyg.net/ ) came in second to dojo when I was looking at
Javascript text editors. Jeroen Coumans looks at dojo, wikiwyg and others at
http://www.jeroencoumans.nl/journal/wysiwyg-text-editing-in-cms.
Happy hunting!
Richard