Doug Zwick wrote:
> We are talking about the BasicService.showDocument method here
> (where the "no browser configured" message is originating)? As
> far as I have been able to determine, it uses the system wide
> preference defined by Safari's prefs dialog.
>
> Interestingly, it looks like Safari implements this by setting
> up bindings for HTML, HTTP and HTTPS with Launch Services. If
> you look in ~/Library/Preferences/com.apple.LaunchServices.plist
> for your browser's bundle ID (e.g. org.mozilla.firefox) you can
> see the bindings it sets up. If the URL given to showDocument
> does not hit one of these bindings, that could possibly be the
> cause of the error message.
>
> Note that if you change the bindings, you may need to jump through
> a hoop or two to get them recognized -- do a google on lsregister
> (its a command line tool under LaunchServices.framework).
>
>
Thanks Doug!
But your hont is a little bit too compicated for me. I've only few development experience in Java. The exact error message:
No browser configured! de.rbg.nbs.app.ba.util.BrowserException: could not connect to server folap.app.nbs.fiducia.de
I don't know, whether the BasicService.showDocument method causes the error. I have no access to the source code.
In ~/Library/Preferences/com.apple.LaunchServices.plist I can find the following inputs:
->Root->LSPrefsBindings->U:http->0:
LSBundleIdentifier String org.mozilla.forefox
LSBundleLocator Data <00000000 00a20003 00010 ...
...
->Root->LSPrefsBindings->U:http->0:
LSBundleIdentifier String org.mozilla.forefox
LSBundleLocator Data <00000000 00a20003 00010 ...
...
Nothing with "html" - nothing that looks like an URL (for me). Therefore, what "bindings" shall I change?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden
This email sent to email@hidden