Hi,

Any one can help me about accessing function parameter ?

I have the follow function.

requsetProject : function(pid, idx) {
                    var req = new
qx.io.request.Xhr("/hrm/services/ActionServlet2", "POST");
req.setRequestData({
        'class' : 'ProjectDAO',
        'method' : 'queryProject',
        'args' : "{\"pid\" : \"" + pid + "\"}"
    });
req.addListener("success", function(e) {
var req = e.getTarget();
var str = req.getResponse();
  *// My Question is:*
* // in here, how to access the parameter 'idx' in outer function*
}, this);
req.send();
}

Thanks in advance!
Wang Fei
------------------------------------------------------------------------------
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with <2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to