MySpace Open Platform

A Place For Developers

Welcome Developers!

in

Welcome!

in

Profile navigation fails on IE?

Last post 06-03-2009 10:01 AM by RTM. 8 replies.
Page 1 of 1 (9 items)
Sort Posts: Previous Next
  • 05-21-2009 11:55 AM

    • RTM
    • Top 150 Contributor
    • Joined on 09-11-2008
    • Posts 31

    Profile navigation fails on IE?

     Hello,

     Our application profile view works fine on Firefox and Safari, but not on IE. The profile displays correctly, and when you click on the link to go to the canvas it takes you there, but when you hit the back button it somehow re-renders the canvas view again, not taking you back to the profile view. When checking  the browser's back history, there's a URL being called between the profile and the canvas,

    api.msappspace.com/apprendering

    Our app id is 134917. We use OpenSocial 0.8, and tested on IE 7.

     

    Thank you in advance!

     

    Pier

    Filed under:
  • 05-21-2009 12:55 PM In reply to

    • RTM
    • Top 150 Contributor
    • Joined on 09-11-2008
    • Posts 31

    Re: Profile navigation fails on IE?

    To go to the canvas view, we included

            <Require feature="views" />

    on ModulePrefs in our application xml. In the profile section, we call this code:

                    var supported_views = gadgets.views.getSupportedViews();
                    gadgets.views.requestNavigateTo(supported_views['canvas']);

    we also tried

                    var canvas = new gadgets.views.View('canvas');
                    gadgets.views.requestNavigateTo(canvas);

    Both ways work fine on Firefox, but on IE you can't hit back because the canvas view keeps rendering.

  • 05-22-2009 9:46 AM In reply to

    • RTM
    • Top 150 Contributor
    • Joined on 09-11-2008
    • Posts 31

    Re: Profile navigation fails on IE?

     Bump?

    Any suggestions?

  • 05-27-2009 9:55 AM In reply to

    • RTM
    • Top 150 Contributor
    • Joined on 09-11-2008
    • Posts 31

    Re: Profile navigation fails on IE?

     I have modified the previous posts so people can have a better idea of what's going on with our app. I know developers are busy with lots of postings, but any help would be very appreciated. This is all that is holding us back from getting our app published.

     Thanks in advance

     

    Pier

  • 05-28-2009 11:42 AM In reply to

    • RTM
    • Top 150 Contributor
    • Joined on 09-11-2008
    • Posts 31

    Re: Profile navigation fails on IE?

     OK, I figured out it was not requestNavigateTo which was failing. It's the code that generates the canvas that is acting a bit different on IE. I basically grab the appParams value to call a specific page. Since the html code is not on my app xml but rather on our servers, that seems to be causing the problem.

    All in all, there's still an issue with how IE renders, specifically with iframe based apps.

  • 05-28-2009 11:55 AM In reply to

    Re: Profile navigation fails on IE?

     Sorry I didn't see this thread before now. 

    I know we are looking at a couple of IE issues. I need to re-read the thread. Also feel free to message me if I miss a post. :)

  • 05-30-2009 4:25 PM In reply to

    • RTM
    • Top 150 Contributor
    • Joined on 09-11-2008
    • Posts 31

    Re: Profile navigation fails on IE?

     I'm afraid I'm gonna have to insist on this. We tried using rendering the canvas inside an iframe to get rid of that IE bug, but now the invites and messages do not work (postTo calls do not get executed). Clearly I wouldn't have the need to create my own iframe if the app is already rendered as an iframe by MySpace.

    The problem with IE re-rendering is something that has to be addressed, or at least not taken in consideration for an application approval. I would be really relieved if someone can take a look at this or give me a hand, I've already spent the whole saturday on this, and I am running out of time for this application.

  • 06-01-2009 3:35 PM In reply to

    Re: Profile navigation fails on IE?

     Hey Pier, if you add me as a friend on your dev account, and then add me as a developer of the app, I could more easily debug this issue.  Let me know if that works for you.

    http://profile.myspace.com/index.cfm?fuseaction=user.viewprofile&friendid=183399670

    Chad

  • 06-03-2009 10:01 AM In reply to

    • RTM
    • Top 150 Contributor
    • Joined on 09-11-2008
    • Posts 31

    Re: Profile navigation fails on IE?

     Hey Chad, we eventually solved the problem. We pushed the functionality from the XML to server side. We submitted yesterday.

     Thanks for the offering though! I'll still add you as a friend =P

     

    Pier

    Filed under:
Page 1 of 1 (9 items)