W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2011

Re: [widgets]

From: Scott Wilson <scott.bradley.wilson@gmail.com>
Date: Fri, 20 May 2011 18:28:41 +0100
Cc: public-webapps@w3.org
Message-Id: <2E7C59BA-07A5-4FE4-90DB-B52D725B2781@gmail.com>
To: Richard Felton <fuzzyfelt@gmail.com>
Hi Richard,

On 20 May 2011, at 16:19, Richard Felton wrote:

> Hi,
> 
> Hopefully this is the right place to ask this question.
> 
> I'm looking at the possibility of using W3C widgets as a web-app mechanism on an IP connected set-top box. I've had a look through the specifications available and I can't see a way to pass launch parameters to a widget. Is this possible or has it been ruled out for good reason?
> 
> For example, if I want to write a branded media player application (in a widget)  it'd be useful if I could allow the set-top box user interface to pass the identifier of the programme to be played into the widget. Effectively I'm looking for a way for a widget to specify something similar to command line options so that the launching entity can control the state the widget starts up in.

It depends on the widget engine and what APIs it exposes. 

For example, when a web application requests a widget instance from Apache Wookie[1], you can also set any of its preference values using a REST API call. 

Other engines could offer a widget launch protocol that allows setting preferences in the launch parameters.

S

[1] http://incubator.apache.org/wookie/
 
> 
> Regards,
> 
> Richard.
Received on Friday, 20 May 2011 17:29:13 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:45 GMT