Coincidence, I was just implementing FCKEditor also. Three ways to
reference the Javascript and other resources in your project such as
CSS.
1. Add the Javascript to your WebServerResources in your project then
add a WOGenericContainer to your Component. Bind the
WOGenericContainers src
You might take a look at AjaxUtils.addScriptResourceInHead if you are using
Project Wonder ;)
On 8/9/07 3:06 PM, "Daniele Corti" <[EMAIL PROTECTED]> wrote:
>
>
> 2007/8/9, Sigurður E. Vilhelmsson <[EMAIL PROTECTED]>:
>> Hi all,
>>
>> How does one go about including a javascript in a page? Spe
2007/8/9, Sigurður E. Vilhelmsson <[EMAIL PROTECTED]>:
>
> Hi all,
>
> How does one go about including a javascript in a page? Specifically,
> I am trying to incorporate TinyMCE (or FCKEditor) in a form.
>
> I have the following in my html:
>
> src="/jscripts/tiny_mce/tiny_mce.js">
>
>
Hi all,
How does one go about including a javascript in a page? Specifically,
I am trying to incorporate TinyMCE (or FCKEditor) in a form.
I have the following in my html:
tinyMCE.init({
mode : "textareas"
});