I have question regarding Surface in orkut apps. (opensocial-0.7)

1. How do I get current Surface a.k.a views [http://code.google.com/
apis/opensocial/articles/tutorial/tutorial-0.7.html]?
 I tried gadgets.views.getCurrentView().
Got an error saying gadgets.views has no property

Tried opensocial.getEnvironment().getSurface().getName()
Got an error saying opensocial.getEnvironment().getSurface().getName()
is not a function

2.  How do navigate to other views? [Considering earlier problems]

It would be really helpful if somebody can show me a running example.

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