Andreas,
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,
Chirag
> Am 09.09.2009 um 17:54 schrieb Chirag Patel:
>
>
>> I am using RpcJava to make sync as well as async call.
>> In order to implement session management I need to have a url which
>> includes jsessionid in it.
>> Is it possible to rewrite a url specified in qx.io.remote.Rpc() ?
>>
>> I followed url http://qooxdoo.org/documentation/0.7/rpc to rewrite
>> the URL but it is not working for me. It gives me error "qx.OO is
>> undefined" which is obvious because the build version of the
>> application does not include qooxdoo related classes.
>> How to overcome this?
>>
>
> Before I can answer your questions, I need some basic information:
>
> - Which qooxdoo version are you using?
> - It sounds like you already made successful RPC calls (just without
> URL rewriting). Is that true?
> - How are you specifying the server URL? Manually or via makeServerURL?
>
> 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