Thank for u r reply. I mean this is the actual (correct)output i got after executing using php5.2.6 "<?xml version="1.0" encoding="utf-8" ?><Module> <ModulePrefs title="Social Application" description="Created by sfOpenSocialPlugin" author="haritha" author_email="[email protected]" ><Locale lang="en" country="us" /><Require feature="opensocial-0.7" /><Require feature="dynamic-height" /></ModulePrefs> <Content type="html"><![CDATA[ <script type="text/javascript">function requestInfo_request() { var requestInfo = opensocial.newDataRequest(); var viewer_friends_profileDetailsRequestParams = new Array(); viewer_friends_profileDetailsRequestParams.push (opensocial.Person.Field.PROFILE_URL); var viewer_friends_peopleRequestParams = { }; viewer_friends_peopleRequestParams [opensocial.DataRequest.PeopleRequestFields.PROFILE_DETAILS] = viewer_friends_profileDetailsRequestParams; requestInfo.add(requestInfo.newFetchPeopleRequest (opensocial.DataRequest.Group.VIEWER_FRIENDS,viewer_friends_peopleRequestParams),"viewer_friends"); requestInfo.send(requestInfo_response); } </script><script type="text/ javascript">gadgets.util.registerOnLoadHandler(requestInfo_request); </script> <div id="viewer_friends"> </div> <script type="text/javascript"> function requestInfo_response(data) { var html = ''; var viewer_friends = data.get("viewer_friends").getData(); viewer_friends.each(function(person) { var thumb = person.getField(opensocial.Person.Field.THUMBNAIL_URL); var profile = person.getField(opensocial.Person.Field.PROFILE_URL); html += '<a href="' + profile + '" target="_top" style="float:left">' +'<img src="' + thumb + '"/></a>'; document.getElementById('viewer_friends').innerHTML = html; }); } </script> ]]></Content> </Module>"
but the same code after executing using php5.1.6 in cent OS -i got the result as "<?xml version="1.0" encoding="utf-8" ?><Module> <ModulePrefs title="Social Application" description="Created by sfOpenSocialPlugin" author="haritha" author_email="[email protected]" ><Locale lang="en" country="us" /><Require feature="opensocial-0.7" /><Require feature="dynamic-height" /></ModulePrefs> <Content type="html"><![CDATA[ <script type="text/javascript">object id#70 </script><script type="text/ javascript">gadgets.util.registerOnLoadHandler(requestInfo_request); </script> <div id="viewer_friends"> </div> <script type="text/javascript"> function requestInfo_response(data) { var html = ''; var viewer_friends = data.get("viewer_friends").getData(); viewer_friends.each(function(person) { var thumb = person.getField(opensocial.Person.Field.THUMBNAIL_URL); var profile = person.getField(opensocial.Person.Field.PROFILE_URL); html += '<a href="' + profile + '" target="_top" style="float:left">' +'<img src="' + thumb + '"/></a>'; document.getElementById('viewer_friends').innerHTML = html; }); } </script> ]]></Content> </Module>" On Feb 12, 10:00 pm, Eno <[email protected]> wrote: > What does "If i execute the same application in the php > 5.1.6 in > returning some object id# in the action class." mean? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" 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/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---
