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

Context menus in XForms

From: David Landwehr <david.landwehr@solidapp.com>
Date: Tue, 14 Mar 2006 11:09:12 +0100
Message-ID: <44169648.4080207@solidapp.com>
To: www-forms@w3.org

Hi,

I would like to provide a functionality of context menus in my XForms 
processor for MIDP, but I'm having difficulties to see how the abstract 
controls in XForms will let me do this. To expand on my use case 
consider the following example:
<xforms:input ref="email">
  <xforms:label>Email:</xforms:label>
  <xforms:contextmenu>
    <xforms:label>Options</xforms:label>
    <xforms:contextmenu>
      <xforms:label>Send</xforms:label>
      <xforms:trigger>
        <xforms:label>via bluetooth</xforms:label>
        <xforms:submit send="via-bluetooth"/>
  </close all elements>

So when you give focus to the input (or right click in the input field 
in a browser) a context  menu is available which has the structure
  Send -> via bluetooth

In the above example I just use the contextmenu element and the trigger 
element for illustration purposes. I have no idea how to express this in 
XForms in a standardized way and was wondering if anyone had a good 
suggestion?

Thanks,
David

-- 
--------------------------------------------
David Landwehr (david.landwehr@solidapp.com)
Chief Executive Officer, SolidApp
Web: http://www.solidapp.com
Office: +45 48268212
Mobile: +45 24275518
--------------------------------------------
Received on Tuesday, 14 March 2006 10:09:24 GMT

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