Copy from JSF/Source/Request/Request.js:
parseCmd: function(cmd, params, sessid, options) {
var queryString = '';
var a = [];
var o = {};
if ($type(cmd) == 'array') {
var tmp, evParams;
for (var i = 0; i < cmd.length; i++) {
tmp = cmd[i];
o = {};
o.cmd = tmp.cmd;
o.chl = this.chl++;
chl will increase on every parseCmd() called.
chl means challenge, serialize the client request, to execute callback on
challenge, server will resonse it in raw.data.chl :)
2010/2/4 Sreelaj John <[email protected]>
> Hi,
>
> Could you tell me how to do that ? and what is it for ?
>
>
> On Thu, Feb 4, 2010 at 6:51 AM, ma liang <[email protected]> wrote:
>
>> yeah, seems you haven't increase the "chl" parameter of the client
>> request.
>>
>> JSF will do this for you.
>>
>> 2010/2/3 Sreelaj John <[email protected]>
>>
>> Hi,
>>>
>>> Anyone has seen this error ?
>>>
>>> [{"time":"1265204526","raw":"ERR","data":
>>> {"code":"250","value":"BAD_CHL"}}]
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "APE Project" group.
>>> To post to this group, send email to [email protected]
>>> To unsubscribe from this group, send email to
>>> [email protected]<ape-project%[email protected]>
>>> For more options, visit this group at
>>> http://groups.google.com/group/ape-project?hl=en
>>> ---
>>> APE Project (Ajax Push Engine)
>>> Official website : http://www.ape-project.org/
>>> Git Hub : http://github.com/APE-Project/
>>>
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "APE Project" group.
>> To post to this group, send email to [email protected]
>> To unsubscribe from this group, send email to
>> [email protected]<ape-project%[email protected]>
>> For more options, visit this group at
>> http://groups.google.com/group/ape-project?hl=en
>> ---
>> APE Project (Ajax Push Engine)
>> Official website : http://www.ape-project.org/
>> Git Hub : http://github.com/APE-Project/
>>
>
>
>
> --
> Regards As Always
> Sreelaj John
>
> --
> You received this message because you are subscribed to the Google
> Groups "APE Project" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<ape-project%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/ape-project?hl=en
> ---
> APE Project (Ajax Push Engine)
> Official website : http://www.ape-project.org/
> Git Hub : http://github.com/APE-Project/
>
--
You received this message because you are subscribed to the Google
Groups "APE Project" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/ape-project?hl=en
---
APE Project (Ajax Push Engine)
Official website : http://www.ape-project.org/
Git Hub : http://github.com/APE-Project/