W3C home > Mailing lists > Public > www-forms@w3.org > March 2006

Re: Context menus in XForms

From: Allan Beaufour <beaufour@gmail.com>
Date: Wed, 22 Mar 2006 09:40:55 +0100
Message-ID: <90d6cb0e0603220040j7b275517v58cf7831ac912a11@mail.gmail.com>
To: "David Landwehr" <david.landwehr@solidapp.com>
Cc: www-forms@w3.org

On 3/15/06, David Landwehr <david.landwehr@solidapp.com> wrote:
> I had an interesting chat with Roland Merrick from IBM and he suggested
> the following construction:
> <xf:input>
>   <xf:label>Label</xf:label>
>   <xf:action appearance="context">
>     <xf:trigger>
>       <xf:label>Menu Item 1</xf:label>
>     </xf:trigger>
>     ...
>     <xf:action appearance="context">
>       <xf:label>Sub Menu</xf:label>
>       <xf:trigger>
>         <xf:label>Menu Item 2</xf:label>
>       </xf:trigger>
>   </xf:action>
> </xf:input>
> The idea of the appearance="context" is my own, but the idea was that if
> an action block used in this way it would simply be a styling issue
> (which could just as well come from CSS) to show the context menu
> (except that it also has some semantic meaning in the case where it
> should be merged into the parent's context menu).

Hmm, in my world action elements have no visual appearance so it sort
of conflict with my view of things, but I actually like that approach.

... Allan
Received on Wednesday, 22 March 2006 08:47:23 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 10 March 2012 06:22:03 GMT