Re: fckeditor and DirectConnect
Re: fckeditor and DirectConnect
- Subject: Re: fckeditor and DirectConnect
- From: "Denis Frolov" <email@hidden>
- Date: Tue, 13 May 2008 12:19:08 +0400
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
>
_______________________________________________
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