W3C home > Mailing lists > Public > public-device-apis@w3.org > August 2011

Re: Contacts API -- formatted

From: Rich Tibbett <richt@opera.com>
Date: Thu, 25 Aug 2011 10:58:23 +0200
Message-ID: <4E560EAF.3080903@opera.com>
To: Andreas Gal <gal@mozilla.com>
CC: public-device-apis@w3.org
Andreas Gal wrote:
> Several classes implement a formatted field that is defined as:
> This attribute contains the full physical address including street, locality, region, postalCode, and country as appropriate, and formatted for display.
> Is this supposed to be active (e.g. if I change region on an address, it automatically updates), or is this a snapshot?
> If we allow diverging formatting, writing these objects back (assuming we do add an edit feature) becomes pretty confusing. If we don't plan on adding edit, why are these fields not readonly?
> Andreas
> [NoInterfaceObject]
> interface
> ContactAddress
>   {
>      attribute boolean    pref;
>      attribute DOMString? type;
>      attribute DOMString? formatted;
>      attribute DOMString? streetAddress;
>      attribute DOMString? locality;
>      attribute DOMString? region;
>      attribute DOMString? postalCode;
>      attribute DOMString? country;
> };

We discussed making this read-only with optimisations to make it reflect 
the values of the other attributes. We made a resolution to drop 
formatted in the 18th July teleconf [1].

This has already been updated in the editor's draft:


[1] http://www.w3.org/2011/07/19-dap-minutes.html#item06
Received on Thursday, 25 August 2011 08:58:53 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 14:53:49 UTC