Page 1 of 1

Setting a web browser in sereclipse

PostPosted: Thu May 27, 2010 5:34 pm
by dpearce
I seem to have a problem when using a showURL command in servoy 315 on a mac:

var url='http://www.google.co.uk'
var success=application.showURL(url)

i get a beep and a false message. I have looked in the serclipse settings and changed the broswer to external and firefox, in fact i have tried all settings and i just get a beep!

Is there something I should no about setting up a browser in eclipse. It just seems a logical choice and dialogue to follow, but i cannot even get google!!!

David

Re: Setting a web browser in sereclipse

PostPosted: Fri May 28, 2010 12:16 pm
by jcompagner
that showURL doesnt have anything to do with eclipse
Thats a smart client thing.

We use a 3th party lib BrowserLauncher for this (already for quite some time)

Does that same code work in a "normal" client?

Re: Setting a web browser in sereclipse

PostPosted: Sat May 29, 2010 9:56 am
by dpearce
Johan, yes its just as showUrl command, works fine in smart client on production platform, just annoying that it fails in Developer, when it worked out of the box in 3 i think in developer.

I am working on a complex integration with an adobe air application that ftps xml files and then opens the resulting file in a browser, so it is a pain not to be able to test properly in developer.

is lib BrowserLauncher an eclipse extension? How do i install it? or is this a different way on invoking a url launching in a browser that you are using to replace your own built in show URL command?

Thanks

David

Re: Setting a web browser in sereclipse

PostPosted: Mon May 31, 2010 9:29 am
by jcompagner
no it is just a jar..
Again it doesnt have anything to do with eclipse, its really a (smart)client code only.
There is a difference between a debug and none debug smartclient because in webstart we use WebStart api.

Do you get an error in the sevoy log?