Hi,
    You said that "C:\workspace should include the qooxdoo-Dir".
Can you please give the complete directory structure of your "C:\workspace".
Can you please redirect the output of the command "ls -R" [in Linux/Unix] or 
"dir /S" [in Windows] and send it to me.

Thanks a lot,
Raffi
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tobias Koller 
(GERMO GmbH)
Sent: Tuesday, January 29, 2008 2:21 PM
To: qooxdoo Development
Subject: Re: [qooxdoo-devel] RPC Client for java Backend

Hi raffi,

I will try to explain it ;)
I don't know if it's the most common way to do it but it works for me ;)


1. create a virtual Directory (edit the tomcat/conf/server.xml-File)
--> put this "content-line" at the end of the file. C:\workspace should 
--> include the qooxdoo-Dir
        
        <Context path="/qooxdooTest" docBase="C:\workspace" debug="1" 
reloadable="true"/>

      </Host>

        </Engine>

        </Service>

        </Server>


2. create this folder (Tomcat 
5.5\webapps\qooxdoo\WEB-INF\classes\de\germo\test) inside your tomcat directory 
3. put the RemoteTest.class file into this folder 4. rename Application.js_txt 
-->Application.js 5. put the Application.js-File into your 
class/custom-Directory (it's the default-folder in the skeleton) 6. restart 
your tomcat 7. open a webbrowser and call your application (f.e. 
http://localhost:8080/qooxdooTest/...../index.html)
8. click the button and test if something happens :D


Please tell me if it works!

Tobias




-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von S, Mohamed 
Raffi (Mohamed)
Gesendet: Dienstag, 29. Januar 2008 06:03
An: qooxdoo Development
Betreff: Re: [qooxdoo-devel] RPC Client for java Backend

Tobias, 
   I have the qooxdoo.test class that came in the java backend.
I'm trying to call the remote methods in qooxdoo.test remote service.
I think I am making some mistake in the client side (html or js) or missing 
some files.

Can you please send me your test html and js files to me.

Thanks,
Raffi 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tobias Koller 
(GERMO GmbH)
Sent: Monday, January 28, 2008 8:53 PM
To: qooxdoo Development
Subject: Re: [qooxdoo-devel] RPC Client for java Backend

Hi raffi,

you don't have to copy the qooxdoo-sdk\frontend\framework\source\class -Files. 
You have to copy your Java-Files (package-structure) to the 
Tomcat\webapps\qooxdoo\WEB-INF\classes.

f.e.:
Tomcat\webapps\qooxdoo\WEB-INF\classes\de\germo\test\MyTestClass.class
Tomcat\webapps\qooxdoo\WEB-INF\classes\de\germo\test\MyTestClass2.class
Tomcat\webapps\qooxdoo\WEB-INF\classes\de\germo\test\MyUserClass.class
...


Tobias

-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von S, Mohamed 
Raffi (Mohamed)
Gesendet: Montag, 28. Januar 2008 16:14
An: qooxdoo Development
Betreff: Re: [qooxdoo-devel] RPC Client for java Backend

Hi Tobias,
    Thanks for the response.
When you say copy the f.e. classes, what exactly to copy?

I went to "qooxdoo-sdk\frontend", did a "make distclean" and "make source" 
Copied all the files under "qooxdoo-sdk\frontend\framework\source\class".
Is that all I need to do? Do I miss anything else?

How to import the qooxdoo classes in the html?

Thanks in Advance,
Raffi

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tobias Koller 
(GERMO GmbH)
Sent: Monday, January 28, 2008 2:21 PM
To: qooxdoo Development
Subject: Re: [qooxdoo-devel] RPC Client for java Backend

Hi Raffi,

I use the java-backend like this:

var rpc = new qx.io.remote.Rpc();
rpc.setCrossDomain( false );
rpc.setTimeout(30000);
var call = null;                        
var p = this;

rpc.setUrl("http://localhost:8080/qooxdoo/.qxrpc";);
rpc.setServiceName("de.germo.test.myTestClass");
                 
call = rpc.callAsync(function(result, ex, id) { call = null;

if (ex == null) {
        alert("no exception - ok");                     
} else {
        Alert("exception "+ex);
}

},"myRemoteMethod");




Put your qooxdoo.war into your tomcat/webapps- directory and restart your 
tomcat.
The Tomcat should create a folder "qooxdoo" in the directory tomcat/webapps.

Now you can put your f.e. class-files (the whole package-structure) into 
Tomcat\webapps\qooxdoo\WEB-INF\classes.


But the error "qx is not defined" is something different I think.
Try to make "make distclean" and then "make source".

Tobias


-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von S, Mohamed 
Raffi (Mohamed)
Gesendet: Samstag, 26. Januar 2008 15:16
An: qooxdoo-devel@lists.sourceforge.net
Betreff: [qooxdoo-devel] RPC Client for java Backend

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

-------------------------------------------------------------------------
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

-------------------------------------------------------------------------
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

-------------------------------------------------------------------------
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

-------------------------------------------------------------------------
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

-------------------------------------------------------------------------
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