First of all: a very good day to you all.

Quite recently, I have been trying to understand APE and its
mysteries. Right now, I am able to use it together with jQuery.
However, I have been experiencing a few obstacles. The biggest one of
them is this:

When loading a page, usually when the browser has started fresh, it
logs an error to me: user.properties is not defined. I know what this
indicates, for the reason is the simple fact is that instead of APE
starting with the property 'name', it starts with properties where
properties' value is 'undefined'.

My question is: Is this a know bug? Is there a solution and if not:
can I help solving it?

The script I am making is to see which users are online and through an
array it checks whether the online person is a friend or not, and puts
it in the respective div element.

Here is a link to the script, and how I call it from the page:

Script:
http://pastebin.com/UFT5D5Gv

Page:
<script type="text/javaScript">
                                                                
$(document).ready(function(){
                                                                        
APE.Config.scripts = [APE.Config.baseUrl + '/Build/
uncompressed/apeCoreSession.js'];
                                                                        var 
client = new APE.Client;

                                                                        var 
onlineUserName = "{username}";
                                                                        var 
dataZ = '{exp:qvnetworking:contacts offset="0"
count="1000"}{foreach contact}{user_to.user_name}<br />{/foreach}{/
exp:qvnetworking:contacts}';
                                                                        
dataZ.split("<br />");

                                                                        
client.load({
                                                                        
'domain': APE.Config.domain,
                                                                        
'server': APE.Config.server,
                                                                        
'identifier': 'jquery',
                                                                        
'channel': 'online',
                                                                        
'transport': 2,
                                                                        
'complete': function(ape){
                                                                            // 
APE has finished loading so now we can load our
scripts

                                                                            new 
onlineuserspage(ape, onlineUserName,
dataZ).initialize();
                                                                        },
                                                                        
'scripts': APE.Config.scripts //Scripts to load for
APE JSF
                                                                    });
                                                                });
                                                        </script>

-- 
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/

Reply via email to