Changing the location setting does not seem to work on my machine. Opening a URL with target="_blank" in an XPiNC application does not get opened in an external browser, but in a new main tab of the Notes Client.
You might take a look at our XPages2Eclipse product. In one of our API sample applications, we are using the internal function of Eclipse to launch a file in the associated application on the user's platform.
I just checked and that method also works with URLs. The
XPages2Eclipse toolkit is cross-platform. I verified on Windows and Mac
that the URL got opened in Firefox, which is my default browser.
You can find the sample here:
http://xpages2eclipse.mindoo.com/web/x2ewiki.nsf/dx/Program_API-_Read_registered_file_extensions_and_launch_files
and an evaluation version of the product here:
http://xpages2eclipse.mindoo.com
An alternative would be to use LotusScript for the URL opening. You could try to use a Notes URL to a page design element, which closes itself in the postOpen event and opens the URL in the system browser. But that could be a bit hard to find a stable and cross-platform solution for all kinds of browsers.