ShowUrl weirdness

Hi,

I wrote a simple method that takes the content of a field (MovieTitle) and uses the openurl command to perform a search on the Internet Movie DataBase.
The method is:
application.showURL(“http://us.imdb.com/Find?” + MovieTitle)
In servoy developer, it returns me the message 'If running in client…", showing the correct url. I also tried to paste the url from the clipboard and it works.
In Servoy client, the button doesn’t do anything.
Even stranger, I have another button that uses the showurl function (in this case, it takes only the value of a field, as url) and it works fine.

Any idea? :wink:

Make sure to replace the spaces with %20 then it will work fine.

jaleman:
Make sure to replace the spaces with %20 then it will work fine.

I did it, but I still had problems: the button reacted to my action, but it didn’t work also (it appeared a generic error message.

So, I tried to start Servoy server, instead of using Developer as server: the problem disappeared :D

Probably you didn’t reload your solution in Client after fixing it in Developer? I personally tested it with Developer as a server and it worked perfectly fine.