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

Re: Widget instances and widget invocations

From: mozer <xmlizer@gmail.com>
Date: Thu, 30 Apr 2009 20:54:39 +0200
Message-ID: <21d9ade60904301154k20c5cb37ke5f685fef49a75e@mail.gmail.com>
To: Robin Berjon <robin@berjon.com>
Cc: public-webapps WG <public-webapps@w3.org>
On Thu, Apr 30, 2009 at 4:45 PM, Robin Berjon <robin@berjon.com> wrote:

> Hi,
>  a) the UA has somehow allowed me to pick which instance I run, I get back
> what I put for the right instance
>  b) the UA has become confused, I get both values, or something broken, or
> nothing
>  c) the UA has a single origin mapped to my widget, I get the last write

I would also add as a variant of a) (which is probalby more realistic) is

When you kill widget 1 it asks you if you want to save your data : Y1/N1
When you kill widget 2 it asks you if you want to save your data : Y2/N2

Then you will have Y1/Y2 --> data of 2 ; Y1/N2 --> data of 1; N1/Y2 --> data
of 2 ; N1/N2 --> previous data (or default if it was the first invocation

Then the UI may propose to the user to always save the preference and then
you will get c) behaviour

My two cents

Received on Thursday, 30 April 2009 18:55:19 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:12:53 UTC