Re: fckEditor - getting its content value
Re: fckEditor - getting its content value
- Subject: Re: fckEditor - getting its content value
- From: "Jonathan Fleming" <email@hidden>
- Date: Wed, 27 Jul 2005 02:29:40 +0100
From: Dov Rosenberg <email@hidden>
To: Jonathan Fleming <email@hidden>,WebObjects Dev
<email@hidden>
Subject: Re: fckEditor - getting its content value
Date: Tue, 26 Jul 2005 20:35:40 -0400
We use FCK editor with WO without any problems. To WebObjects the FCK
editor
looks like a text area that is bound to a variable. They provide some
Javascripts that need to get called out to turn the text area into the FCK
Editor.
This is where I am failing I believe... what is the javascript that's called
to get the value?
can you post that function() please?
I've been searching for weeks on how to either save the updated content to a
copy area (hidden field) on save or simply how to save the content to into
the URL so I can get it from a request.
I'm not that up on javascript, but I cope.
everything else is OK eg. my set up is as below and i can edit the content I
just can not save it or get at it to save it
var oFCKeditor = new FCKeditor( 'id_280' ) ;
oFCKeditor.BasePath = "/WebObjects/siteEditorFCK/" ;
oFCKeditor.CheckBrowser = true ;
oFCKeditor.DisplayErrors = false ;
oFCKeditor.Width = "700" ;
oFCKeditor.Height = "400" ;
oFCKeditor.ToolbarSet = "Standard" ;
oFCKeditor.instanceName = "id_280" ;
oFCKeditor.Config['CustomConfigurationsPath'] =
'/WebObjects/xhtmlEditorFCK/fckconfig_ukchp.js' ;
oFCKeditor.Config[ "AutoDetectLanguage" ] = false ;
oFCKeditor.Config[ "DefaultLanguage" ] = "pt-BR" ;
oFCKeditor.Value = "My initial content goes here, but i can not get it back
out..." ;
oFCKeditor.Create() ;
HTH
--
Dov Rosenberg
Conviveon/Inquira
Knowledge Management Experts
http://www.conviveon.com
http://www.inquira.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden