Target OWNER parameter in requestNavigateTo

4 views
Skip to first unread message

Arne Roomann-Kurrik (Google)

unread,
Apr 14, 2008, 1:26:00 PM4/14/08
to OpenSocial and Gadgets Specification Discussion
I've seen this mentioned a few places but couldn't find an official
request for it, so here is a request to be able to supply a target
owner's ID in the requestNavigateTo function.

Currently, opensocial.requestNavigateTo() redirects the viewer to the
current owner's context.

There are certain use cases where linking to another user's context
would be useful (e.g. "View my friend's application canvas", "Redirect
the page to another user's profile") which are not possible with the
current API.

The requested feature is an additional parameter that may be passed to
requestNavigateTo() which accepts a user's ID number. When the
function is called with this parameter, the supplied user's context is
given as the owner.

fer...@gmail.com

unread,
Apr 14, 2008, 1:29:49 PM4/14/08
to OpenSocial and Gadgets Specification Discussion
+1

On Apr 14, 10:26 am, "Arne Roomann-Kurrik (Google)"

Louis Ryan

unread,
Apr 14, 2008, 3:00:12 PM4/14/08
to opensocial-an...@googlegroups.com
+1

Lou Moore

unread,
Apr 14, 2008, 3:33:07 PM4/14/08
to opensocial-an...@googlegroups.com
+1

Reinoud Elhorst

unread,
Apr 14, 2008, 3:39:49 PM4/14/08
to opensocial-an...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

+1

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIA7MFqCQnCrE98GgRAoz+AJ0VFSWuL0HpQNVy6IROUtqmeKSiIwCfWz20
aaHQputwhN9PpymrJsJ+xK8=
=6OhX
-----END PGP SIGNATURE-----

Amar Gandhi

unread,
Apr 14, 2008, 5:27:11 PM4/14/08
to opensocial-an...@googlegroups.com
+1.

Cassie

unread,
Apr 20, 2008, 1:03:57 PM4/20/08
to opensocial-an...@googlegroups.com
Well this is overwhelmingly popular!
I believe the corresponding spec change would be like this:

 * @param {gadgets.views.View} view The view to navigate to
 * @param {Map.<String, String>} opt_params Parameters to pass to the
 *     gadget after it has been navigated to on the surface
 * @param {String} opt_ownerId The id of the owner of the page to navigate to.
 *     Defaults to the current owner.
 */
gadgets.views.requestNavigateTo = function(view, opt_params, opt_ownerId) {};


This is considered approved (unless of course I screwed up the spec change).
Thanks.

- Cassie

fer...@gmail.com

unread,
Apr 20, 2008, 7:08:03 PM4/20/08
to OpenSocial and Gadgets Specification Discussion
+1

On Apr 20, 10:03 am, Cassie <d...@google.com> wrote:
> Well this is overwhelmingly popular!
> I believe the corresponding spec change would be like this:
>
> * @param {gadgets.views.View} view The view to navigate to
> * @param {Map.&lt;String, String&gt;} opt_params Parameters to pass to the
> * gadget after it has been navigated to on the surface
> * @param {String} opt_ownerId The id of the owner of the page to navigate
> to.
> * Defaults to the current owner.
> */
> gadgets.views.requestNavigateTo = function(view, opt_params, opt_ownerId)
> {};
>
> This is considered approved (unless of course I screwed up the spec change).
> Thanks.
>
Reply all
Reply to author
Forward
0 new messages