Hi Chirag,

Am 11.09.2009 um 06:12 schrieb Chirag Patel:

> 1) I am using qooxdoo 0.8.2
> 2) Yes it it true that RPC calls are successful without URL  
> rewriting. This is fine as long as browser supports cookie. It is  
> obvious that the server will not be able to identify a client if the  
> cookie support in browser is disabled.
> 3) I am using relative URL while making RPC calls. The method  
> rpc.makeServerURL() returns null for me. As far as I know this  
> method works only if the class qx.core.ServerSettings has been  
> loaded on the client. I load this class using script tag <script  
> src=".qxrpc" /> I can see the script loaded but is not parsed  
> successfully and that is the reason the method rpc.makeServerURL()  
> does not work for me.
>
> I already made change in the RpcServlet to change  
> qx.OO.defineClass() to qx.Class.defineClass().
> This did not work for me and I got a different error "qx.Class is  
> undefined."
> Is this because the script is not executed within the context of  
> qooxdoo framework?
> Do I need to load this script using framework classes like Request  
> and parse it?

Thanks for your answers. I think the problem is that you include  
the .qxrpc script too early. The script must be loaded after the core  
qooxdoo script for your application has been parsed. I must admit that  
I'm not familiar with the current loading mechanism in qooxdoo, so I  
don't know if it's a simple matter of moving the script tag around.  
You could try to use the method mentioned here:

http://www.nabble.com/forum/ViewPost.jtp?post=25378446&framed=y

Regards,

   Andreas J.


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to