Hi,
    I am trying out the java RPC backend.
I built and deployed the war. Wrote a HTML and javascript (pasted in
this mail).
I think, I need to place some js files in the webapps.
I am getting an error "qx is not defined", when I create the
qx.io.remote.Rpc object
Can anyone tell me what are the additional files I need to place and
where can I get those files?

My HTML
------------------------------------------------
<html>
<head>
<script type="text/javascript" src="test.js" />
</head>
<body onload="testSync()">
</body>
</html>
-------------------------------------------------

My javascript
-------------------------------------------------
var rpc = new qx.io.remote.Rpc(
        "http://localhost:8080/qooxdoo/.qxrpc";,
        "qooxdoo.test"
);

function testSync()
{
        try
        {
                var result = rpc.callSync("echo", "Test");
                alert("result: " + result);
        }
        catch(ex)
        {
                alert("excewption: " + ex);
        }
}
----------------------------------------------------

Thanks,
Raffi 

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to