Showing a web site in a Web Dialog
-
I am curious to know if anyone has already set an external URL in a Web dialog.
When I try the following code, I get an HTML error page:w = UI;;WebDialog.new w.set_url "http://www.google.com" w.show
The doc mentions a method allow_actions_from_host (hostname) to manage secure sites, but it does not work either, if I use it in the code:
w = UI;;WebDialog.new w.allow_actions_from_host "google.com" w.set_url "http://www.google.com" w.show
Thanks in advance
Fredo
-
w = UI;;WebDialog.new w.set_url "http://www.google.com" w.show
Works just fine on Windows XP+IE6 - both from Ruby script file and ruby console.
Verify you dont have another issue.
-
Morisdov,
You are right. I tried from another computer and it works fine.
Must be the firewall I have on my laptop.Thanks
Fredo
Advertisement