Hi,
I am also a beginner, so don't mind if I state something very stupid.
But, it seems that in your code you have a stmt : var rpc = new
qx.legacy.io.remote.Rpc();
but, there is no such namespace as *qx.legacy. *Maybe instead of qx.io,
you called a wrong class.
cheers
Amit
Yann Farge ha scritto:
hi,
i'm a super newbie... but i want to improve!
i'm on qooxdoo 0.8.
i just want to do a login page with RPC
here is the beginning of my code (Application.js)
qx.Class.define("custom2.Application",
{
extend : qx.application.Standalone,
/*
*****************************************************************************
MEMBERS
*****************************************************************************
*/
members :
{
/**
* This method contains the initial application code and gets called
* during startup of the application
*/
main : function()
{
// Call super class
this.base(arguments);
var url = "http://127.0.0.1:8000";
var service = "login.test";
var toto = new qx.io.remote.Rpc();
var rpc = new qx.legacy.io.remote.Rpc();
rpc.setTimeout(10000);
rpc.setUrl(url);
rpc.setServiceName(service);
rpc.setCrossDomain(true);
AND in firebug i have this message:
qx.io is undefined var rpc = new qx.io.remote.Rpc();
Someone can help?
Thanks you all
------------------------------------------------------------------------
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
------------------------------------------------------------------------
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
--
Amit Rana
SpagoBI Developer
Research & Innovation Division
Engineering Ingegneria Informatica S.p.A.
Strada 2, Palazzo D3 - 20090,
Milanofiori Assago (Milan) - Italy
Mobile: +39-3276115975
www.eng.it
www.spagoworld.org
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel