PDA

View Full Version : vizhtml


roobert
05-06-2014, 10:25 AM
Hello fellow today need your help to make a website connect through vizhtml.

The tutorial says
http://docs.worldviz.com/vizard/index.htm#vizhtml_forms_in_a_remote_browser.htm

* "Vizhtml.registerCode (url, code, directory = None) "

but it is I'm doing wrong, this is my code
"
import viz
import vizhtml

viz.go ()

url = 'http://localhost/DemoVizard1/index.html'
filename = 'index.html'

vizhtml.registerFile (url, filename)

"
and my html is:

<html>
<head>
<meta content="text/html; http-equiv="Content-Type" charset=utf-8">
<title>
Domain Parameters in Vizard
</ title>
</ head>
<body>
<form name="the_form" method="post">
**** Variable: <input>
</ form>
</ body>
</ html>

Why I can not see my page?
I'm trying to get in this way
(localhost:8080/vizhtml/http://localhost/DemoVizard1/index.html/)

Jeff
05-15-2014, 12:11 AM
If index.html is in the same directory as the vizard script you could use:
vizhtml.registerFile('','index.html')

Then enter the following in the browser:
http://localhost:8080/vizhtml/index.html