I have logged the issue:
http://code.google.com/p/opensocial-resources/issues/detail?id=44&colspec=ID%20Type%20Container%20Stars%20Summary%20Status

Jerome

On Feb 18, 9:09 am, Jerome <[EMAIL PROTECTED]> wrote:
> Hmmm... that's weird. Before posting here last night, I verified in
> the "CodeRunner (0.7)" gadget that the function with the enum I posted
> above took me to the Canvas. I just tried again, and now I am getting
> an error too.
>
> Jerome
>
> On Feb 18, 5:52 am, Mark Otero <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hi Jerome,
>
> > Thank you for the reply.  However, the solution that you provided does
> > not work.  I checked "Firebug" and it appears that the function
> > gadgets.views.requestNavigateTo(...) is not fully implemented.
>
> > Here's the Javascript:
>
> > return {
> > 1751 requestNavigateTo : function(view, opt_params) {
> > 1752 // TODO: Actually implementing this is going to require
> > gadgets.rpc or
> > 1753 // ifpc or something.
> > 1754 var prefs = new gadgets.Prefs();
> > 1755 var ifpcRelay = gadgets.util.getUrlParameters().parent || '';
> > 1756 gadgets.ifpc_.call("remote_iframe_" + prefs.getModuleId(),
> > 1757 "requestNavigateTo",
> > 1758 ["remote_iframe_" + prefs.getModuleId(),
> > 1759 view.getName(),
> > 1760 opt_params],
> > 1761 ifpcRelay,
> > 1762 null,
> > 1763 '');
> > 1764 },
>
> > It appears that whoever was working on implementing this function
> > decided to stop after they realized that it required more work than
> > they initially bargained for.
>
> > Were you able to use the function call?
>
> > - Mark
>
> > On Feb 17, 5:01 pm, Jerome <[EMAIL PROTECTED]> wrote:
>
> > > Hi Mark,
>
> > > In 0.7, the gadget API allows to switch views. For instance, the
> > > following call would move to the canvas view:
> > > gadgets.views.requestNavigateTo(gadgets.views.ViewType.FULL_PAGE);
>
> > > You could create a A link with a onclick calling this API function.
>
> > > There is a more detailed example available 
> > > here:http://code.google.com/p/opensocial-resources/wiki/NavigationBetweenV...
>
> > > Hope this helps.
>
> > > Jerome - LjmSite
>
> > > On Feb 17, 4:06 pm, Mark Otero <[EMAIL PROTECTED]> wrote:
>
> > > > Hi - is there a way to link to the canvas view on the profile view?
> > > > For example, "click here to go to canvas"?  I know that users can
> > > > select "view more" but is there a way to link to the canvas view
> > > > page?
>
> > > > The opensocial.requestNavigateTo(...) function does not work and does
> > > > not appear to be a part of the 0.7 specification.
>
> > > > Thanks!- Hide quoted text -
>
> > - Show quoted text -- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Orkut Developer Forum" group.
To post to this group, send email to opensocial-orkut@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/opensocial-orkut?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to