Is it possible to catch a dblclick event with OPS ?
I have a table (made with a repeat), and i wanna catch dblclick event on rows in order to launch an action associated with that row. Any idea ? Thx -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
Currently XForms does not explicitly support double clicks as far as I
know. You always get one or more DOMActivate events upon clicking. It would certainly be possible to enhance the OPS XForms engine to support this, and to send an event other than DOMActivate, but double clicks are unconventional in web user interfaces so I am not sure there is that much of a need for this feature. Wouldn't buttons or links or icons do just as well? -Erik [hidden email] wrote: > Is it possible to catch a dblclick event with OPS ? > > I have a table (made with a repeat), and i wanna catch dblclick event on rows in order to launch an action associated with that row. > > Any idea ? > > Thx -- Orbeon - XForms Everywhere: http://www.orbeon.com/blog/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Ok...
Perhaps i can try to use a javascript ??? For example, in my repeat tag, i can put a dblClick attribute in my tr tag : <tr onDblClick="...">...</tr> But is it possible to dynamicaly generate the content of the onDblClick attribute ??? In fact, i tried this solution, but without success... Do you have any ideas ??? Thx -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
This is sort of a side issue, but have you considered finding an
alternative to double clicking? I mention this because the single- click modality is pretty much the norm for web browsing. From a usability standpoint you may be able to find a better way to handle the situation. Duane On Apr 21, 2006, at 8:07 AM, [hidden email] wrote: > Ok... > > Perhaps i can try to use a javascript ??? > > For example, in my repeat tag, i can put a dblClick attribute in my > tr tag : > > <tr onDblClick="...">...</tr> > > But is it possible to dynamicaly generate the content of the > onDblClick attribute ??? > > In fact, i tried this solution, but without success... > > Do you have any ideas ??? > > Thx > > > -- > You receive this message as a subscriber of the ops- > [hidden email] mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > ObjectWeb mailing lists service home page: http://www.objectweb.org/ > wws -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
In reply to this post by nineinchnails
[hidden email] wrote:
> Ok... > > Perhaps i can try to use a javascript ??? > > For example, in my repeat tag, i can put a dblClick attribute in my tr tag : > > <tr onDblClick="...">...</tr> > > But is it possible to dynamicaly generate the content of the onDblClick attribute ??? Unfortunately, not at this point. > In fact, i tried this solution, but without success... > > Do you have any ideas ??? I have asked the question to the public XForms mailing-list, to see if people have opinions on how this should best be handled. The DOMActivate event does support the notion of double click, but this is not exposed in XForms at the moment. -Erik -- Orbeon - XForms Everywhere: http://www.orbeon.com/blog/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Free forum by Nabble | Edit this page |