Hi again.
After some tests, almost everything is working :)
Bu again, i need some help...
if using this code:
if (itemId == 1) {
mycall = rpc.callAsync(function(result, ex, id) {
mycall = null;
if (ex == null) {
alert("Resultado (" + id + "): " + result);
} else {
alert("Async(" + id + ") exception: " + ex);
}
},
"echo",iNome.getValue(),iRg.getValue(),iCod.getValue(),tf1.getValue());
}
if (itemId == 2) {
mycall = rpc.callAsync(function(result, ex, id) {
mycall = null;
if (ex == null) {
alert("Resultado (" + id + "): " + result);
} else {
alert("Async(" + id + ") exception: " + ex);
}
}, "echo","teste2");
}
bla bla bla....
is there any way to do this IF with just one function and N params??
example:
if (x=1) {
$params = a.getvalue + b.getvalue + c.getvalur;
}
if (x=2) {
$params = a.getvalue + b.getvalue + c.getvalur + i.getvalue + j.getvalue;
}
// finally call the function
rpc.call(....., $params);
is there any way to do this??
As i can see in documentation, params must NOT be array.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
qooxdoo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel