Hi everyone, I've got a question. Does anybody use ERXFavIcon? It doesn't work properly locally (on production it's ok)
The cause of problem is this code: WOResourceManager rs = WOApplication.application().resourceManager(); href = rs.urlForResourceNamed(filename, framework, null, null); We should pass request in urlForResourceNamed. With null algument we have such path: /WebObjects/MyApp.woa/Contents/WebServerResources/favicon.ico instead of /cgi-bin/WebObjects/MyApp.woa/-41424/wr/wodata=/Users/username/Documents/workspace/MyApp/build/MyApp.woa/Contents/WebServerResources/favicon.ico By the way, ERXStyleSheet passes request in urlForResourceNamed and doesn't have such problem. So it seems that we just need to replace href = rs.urlForResourceNamed(filename, framework, null, null); with href = rs.urlForResourceNamed(filename, framework, null, context.request()); Any thoughts? -- Cheers, Michael
_______________________________________________ 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]
