Re: fckeditor and DirectConnect
Re: fckeditor and DirectConnect
- Subject: Re: fckeditor and DirectConnect
- From: Helmut Schottmüller <email@hidden>
- Date: Tue, 13 May 2008 20:34:03 +0200
Hi Denis,
thanks, that worked fine!
Regards,
Helmut
Am 13.05.2008 um 10:19 schrieb Denis Frolov:
Hi,
You can try something like:
public String url() {
String url =
WOApplication
.application().resourceManager().urlForResourceNamed("editor.js",
null, null, context().request());
String rootDir = new File(url).getParentFile().getPath();
return rootDir + "/";
}
On Mon, May 12, 2008 at 1:09 PM, Helmut Schottmüller
<email@hidden> wrote:
Hi,
maybe very stupid but when I try to integrate the fckeditor with
DirectConnect, I have problems to set the oFCKeditor.BasePath
property. How
can I retrieve a working path from my WebServerResources directory?
urlForResourceNamed seems to work on files only...
Regards,
Helmut
_______________________________________________
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
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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