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 PROTECTED]> 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 (Webobjects-dev@lists.apple.com) > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/webobjects-dev/dfrolov%40demax.ru > > This email sent to [EMAIL PROTECTED] > _______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]