Context menus in XForms

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 UTC