W3C home > Mailing lists > Public > public-forms@w3.org > July 2009

RE: [dialog element] need another name for "visible" attribute

From: Nick Van den Bleeken <Nick_Van_den_Bleeken@inventivegroup.com>
Date: Thu, 30 Jul 2009 11:35:43 +0200
To: Mark Birbeck <mark.birbeck@webbackplane.com>, John Boyer <boyerj@ca.ibm.com>
CC: "public-forms@w3.org" <public-forms@w3.org>
Message-ID: <98F519CDC2FA6146AE00069E9A1D91FD5D700F8A13@erganix.dc.intranet>
Hi Mark,

I'm a bit concerned with using the attribute appearance for something more as a rendering hint. Correct my if I'm wrong, but is appearance until now not just a hint to the user agent about how the control could be rendered. I.e. it doesn't drives the availability of a UI control, for your case a 'splashpage' it probably doesn't matter if the dialog isn't showed at all. In the case we were talking about on the phone, a modeless dialog that needs be shown at startup, it probably would matter if the dialog is shown or not, so ignoring the appearance attribute may make a form unusable.

Here is a link to what we currently have http://www.w3.org/MarkUp/Forms/wiki/Dialog

Regards,

Nick Van den Bleeken
R&D Manager

Phone: +32 3 821 01 70
Office Fax: +32 3 821 01 71
Nick_Van_den_Bleeken@inventivegroup.com
http://www.inventivegroup.com


> -----Original Message-----
> From: public-forms-request@w3.org [mailto:public-forms-request@w3.org]
> On Behalf Of Mark Birbeck
> Sent: donderdag 30 juli 2009 10:48
> To: John Boyer
> Cc: public-forms@w3.org
> Subject: Re: [dialog element] need another name for "visible" attribute
>
> Hi John,
>
> Why not find a name for what this type of dialog-box would be, rather
> than some kind of action. In other words, layer on even more semantic
> sugar. :)
>
> For example, if a dialog was to show on form load, and clear on
> 'xforms-ready', you'd probably call that a splash-page. So
> @appearance="splashpage" would be a good way to describe it.
>
> I wasn't on the telecon, so I don't know what the use-case is for a
> dialog that shows on 'xforms-ready', but I'd wager that the same
> principle could be applied; is there an @appearance="..." that
> adequately describes the desired behaviour?
>
> This is just a thought, but it strikes me that we're always adding
> attributes to describe new things, when in fact we could be more
> declarative, and capture a 'set' of behaviour in a single attribute
> *value*.
>
> Regards,
>
> Mark
>
> On Thu, Jul 30, 2009 at 4:46 AM, John Boyer<boyerj@ca.ibm.com> wrote:
> >
> > Just want to quickly start a discussion thread to continue with the
> dialog
> > element, which we discussed on today's telecon.
> >
> > I understand that it is useful to indicate that a dialog should be
> visible
> > on form startup, in lieu of a show action that hooks xforms-ready.
> >
> > I also get that this is similar, if not analogous, to setting up a
> switch
> > using the selected attributes of cases.
> >
> > But the name "visible" for the attribute is not very good.  There's
> nothing
> > in the attribute name to suggest it is interpreted on startup only.
>  Granted
> > we do have the same problem with the selected attributes, but we're
> actually
> > planning to improve that in XForms 1.2, so past mistakes can't be
> used to
> > justify future ones.
> >
> > Any better ideas for a name?
> >
> > Thanks,
> > John M. Boyer, Ph.D.
> > STSM, Interactive Documents and Web 2.0 Applications
> > Chair, W3C Forms Working Group
> > Workplace, Portal and Collaboration Software
> > IBM Victoria Software Lab
> > E-Mail: boyerj@ca.ibm.com
> >
> > Blog: http://www.ibm.com/developerworks/blogs/page/JohnBoyer
> > Blog RSS feed:
> > http://www.ibm.com/developerworks/blogs/rss/JohnBoyer?flavor=rssdw
> >
> >
>
>
>
> --
> Mark Birbeck, webBackplane
>
> mark.birbeck@webBackplane.com
>
> http://webBackplane.com/mark-birbeck
>
> webBackplane is a trading name of Backplane Ltd. (company number
> 05972288, registered office: 2nd Floor, 69/85 Tabernacle Street,
> London, EC2A 4RR)
>
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
> --
>


Inventive Designers' Email Disclaimer:
http://www.inventivedesigners.com/email-disclaimer

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
--
Received on Thursday, 30 July 2009 09:36:43 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 October 2013 22:06:52 UTC