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 PROTECTED]> wrote:Hi, maybe very stupid but when I try to integrate the fckeditor withDirectConnect, I have problems to set the oFCKeditor.BasePath property. Howcan 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 protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/dfrolov%40demax.ru This email sent to [EMAIL PROTECTED]
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
