Setting a web browser in sereclipse

Questions and answers regarding the use of eclipse environment as seen in Servoy Developer

Setting a web browser in sereclipse

Postby dpearce » Thu May 27, 2010 5:34 pm

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
dpearce
 
Posts: 469
Joined: Sun Dec 03, 2006 11:53 am

Re: Setting a web browser in sereclipse

Postby jcompagner » Fri May 28, 2010 12:16 pm

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?
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8829
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Setting a web browser in sereclipse

Postby dpearce » Sat May 29, 2010 9:56 am

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
dpearce
 
Posts: 469
Joined: Sun Dec 03, 2006 11:53 am

Re: Setting a web browser in sereclipse

Postby jcompagner » Mon May 31, 2010 9:29 am

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?
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8829
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet


Return to Eclipse Environment

Who is online

Users browsing this forum: No registered users and 4 guests

cron