You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wookie.apache.org by "Scott Wilson (JIRA)" <ji...@apache.org> on 2014/03/05 16:31:43 UTC

[jira] [Created] (WOOKIE-429) Add support for embedded experiences similar to OpenSocial

Scott Wilson created WOOKIE-429:
-----------------------------------

             Summary: Add support for embedded experiences similar to OpenSocial
                 Key: WOOKIE-429
                 URL: https://issues.apache.org/jira/browse/WOOKIE-429
             Project: Wookie
          Issue Type: New Feature
    Affects Versions: 2.0.0
            Reporter: Scott Wilson
             Fix For: 2.0.0


OpenSocial has a concept of an "embedded experience", which is basically being able to declare in an activity stream or some other context that a widget should be used to interact with an item of content. The widget is launched with a context parameter, the value of which can be accessed from within the widget's JavaScript.

(In the IMS LTI spec there is also the idea of a "resourceLink" which is typically the identity of a resource that the widget interacts with, such as a video, image or document. This is very similar to EE)

In Wookie, we tend to handle these scenarios already, using a method of the connector setting a preference at the same time it requests a widget; however, as preferences are widget-specific there isn't a general method used to access this information.

One option is that we could create a "magic" read-only preference to support these scenarios; so for example "context" would be a preference that could only be set from the container via the REST API. (We could make these appear in the Widget object separately from preferences e.g. widget.context rather than widget.preferences.context.)

If that feels like too much of a hack, another option is to create a new SPI for "Context" or "IndividualContext" (as opposed to SharedContext, which is for collaborative widgets) and corresponding AJAX support.



--
This message was sent by Atlassian JIRA
(v6.2#6252)