--
You received this message because you are subscribed to the Google
Groups "APE Project" group.
To post to this group, send email to ape-p...@googlegroups.com
To unsubscribe from this group, send email to
ape-project...@googlegroups.com
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/
Don't forget to include MooTools.
Also, I don't understand why you have a "sendResponse" error in
inlinepush since it's not used in that context.
You must not use sendResponse when you are not in "user" context (i.e. a
registerCmd with a "false" as second argument). You can use it in a
"CONNECT" hook though.
You must use the "return" syntax instead :
To send a raw :
return { "name":"rawName","data":{whateveryouwant} };
To send an error :
return ["xxx", "description"]
When you said that you don't get the "CHANNEL" raw when you call
"mkChan" it's totally normal :
- Ape.mkChan() only create a persistant channel
- You have to use user.join() to force a user to join a channel or make
him send a "JOIN" command.
Btw, you are doing it wrong in your code. Don't forget to "return -1" to
delay the connection (since you are using an async auth).
Anthony C.
Sudeep S a �crit :
Hi,
Don't forget to include MooTools.
Also, I don't understand why you have a "sendResponse" error in inlinepush since it's not used in that context.
You must not use sendResponse when you are not in "user" context (i.e. a registerCmd with a "false" as second argument). You can use it in a "CONNECT" hook though.
You must use the "return" syntax instead :
To send a raw :
return { "name":"rawName","data":{whateveryouwant} };
To send an error :
return ["xxx", "description"]
When you said that you don't get the "CHANNEL" raw when you call "mkChan" it's totally normal :
- Ape.mkChan() only create a persistant channel
- You have to use user.join() to force a user to join a channel or make him send a "JOIN" command.
Btw, you are doing it wrong in your code. Don't forget to "return -1" to delay the connection (since you are using an async auth).
Anthony C.
Sudeep S a écrit :
cmd.sendResponse was added in 1.01 just like Ape.mkChan().
The current more stable dev version is : http://github.com/harmer/APE_Server
Anthony
Sudeep Sunthankar a �crit :
> Sudeep S a �crit :
>
> Dear APE team,
> Im getting the below message while trying to debug my
> problem. Is
> there any file I'm missing out or any function that Im not using
> properly
> /var/ape/commands/inlinepush.js:75:ReferenceError: $defined is not
> defined
> /var/ape/commands/inlinepush.js:4:TypeError: cmd.sendResponse
> is not a
> function
> Inline Push problem
>
>
> Thanks and Regards,
> Sudeep Sunthankar
>
> On Jun 7, 12:42 pm, Sudeep Sunthankar <ssudeeps...@gmail.com
> <mailto:ape-p...@googlegroups.com>
> To unsubscribe from this group, send email to
> ape-project...@googlegroups.com
> <mailto:ape-project%2Bunsu...@googlegroups.com><ape-project%2Bunsu...@googlegroups.com
> <mailto:ape-project%252Buns...@googlegroups.com>>
> 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 ape-p...@googlegroups.com
> <mailto:ape-p...@googlegroups.com>
> To unsubscribe from this group, send email to
> ape-project...@googlegroups.com
> <mailto:ape-project%2Bunsu...@googlegroups.com>
I see.
cmd.sendResponse was added in 1.01 just like Ape.mkChan().
The current more stable dev version is : http://github.com/harmer/APE_Server
Anthony
Sudeep Sunthankar a écrit :
Sudeep S a écrit :
Sudeep Sunthankar a �crit :
> Dear Team,
>
> Thanks for the reposne. I have updated my APE server to latest GIT
> version , but I'm getting the below error
> document.domain has not been set.
> The value of document.domain is same as ape.conf.domain.
> Do I have to update the JSF also?
> One thing I have changed is the value of version to '1.01' in the
> file Source/Core/APE.js
>
>
> Please let me know
>
> Thanks
>
> --
> Regards,
> Sudeep Sunthankar
>
> IS
> On Mon, Jun 7, 2010 at 8:29 PM, Anthony Catel <a.c...@weelya.com
> <mailto:a.c...@weelya.com>> wrote:
>
> I see.
>
> cmd.sendResponse was added in 1.01 just like Ape.mkChan().
>
> The current more stable dev version is :
> http://github.com/harmer/APE_Server
>
> Anthony
>
> Sudeep Sunthankar a �crit :
> Sudeep S a �crit :
>
> Dear APE team,
> Im getting the below message while trying to debug my
> problem. Is
> there any file I'm missing out or any function that Im
> not using
> properly
> /var/ape/commands/inlinepush.js:75:ReferenceError:
> $defined is not
> defined
> /var/ape/commands/inlinepush.js:4:TypeError:
> cmd.sendResponse
> is not a
> function
> Inline Push problem
>
>
> Thanks and Regards,
> Sudeep Sunthankar
>
> On Jun 7, 12:42 pm, Sudeep Sunthankar
> <ssudeeps...@gmail.com <mailto:ssudeeps...@gmail.com>
> <mailto:ssudeeps...@gmail.com
> <mailto:ssudeeps...@gmail.com> <mailto:ssudeeps...@gmail.com
> <mailto:ape-p...@googlegroups.com
> <mailto:ape-p...@googlegroups.com>>
>
> To unsubscribe from this group, send email to
> ape-project...@googlegroups.com
> <mailto:ape-project%2Bunsu...@googlegroups.com>
>
> <mailto:ape-project%2Bunsu...@googlegroups.com
> <mailto:ape-project%252Buns...@googlegroups.com>><ape-project%2Bunsu...@googlegroups.com
> <mailto:ape-project%252Buns...@googlegroups.com>
>
> <mailto:ape-project%252Buns...@googlegroups.com
> <mailto:ape-project%25252Bun...@googlegroups.com>>>
>
> 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
> ape-p...@googlegroups.com <mailto:ape-p...@googlegroups.com>
> <mailto:ape-p...@googlegroups.com
> <mailto:ape-p...@googlegroups.com>>
>
> To unsubscribe from this group, send email to
> ape-project...@googlegroups.com
> <mailto:ape-project%2Bunsu...@googlegroups.com>
> <mailto:ape-project%2Bunsu...@googlegroups.com