Hi,
Does anybody know the xxforms:text values for the arrow key events?. I tried left, Left, Up, up with or without modifier keys, nothing works. Responding to character keys like 'y' works as documented. <xforms:action ev:event="keypress" xxforms:modifiers="Control" xxforms:text="y"> ... </xforms:action> regards, Gerrit -- 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 OW2 mailing lists service home page: http://www.ow2.org/wws |
This post was updated on .
I'm also interested in the answer to this question so I searched around ..
see this example which includes examples of keypress .. https://github.com/orbeon/orbeon-forms/blob/master/src/resources/forms/orbeon/builder/form/form.xhtml suggesting use of javascript keycodes .. xxf:modifiers="control alt" xxf:text="%" xxf:modifiers="control alt" xxf:text="&" xxf:modifiers="control alt" xxf:text="'" xxf:modifiers="control alt" xxf:text="("Does this work? |
Hi DL,
Thanks!, works like a charm. I can now navigate a tree control using the ctrl + arrow keys. regards, Gerrit On Jun 26, 2012, at 6:22 PM, DL wrote: > I'm also interested in the answer to this question so I searched around .. > see this example which includes examples of keypress .. > > https://github.com/orbeon/orbeon-forms/blob/master/src/resources/forms/orbeon/builder/form/form.xhtml > > suggesting use of javascript keycodes .. > > xxf:modifiers="control alt" xxf:text="%" > xxf:modifiers="control alt" xxf:text="&" > xxf:modifiers="control alt" xxf:text="'" > xxf:modifiers="control alt" xxf:text="(" > > Does this work? > > -- > View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/keypress-xxforms-text-for-arrow-keys-tp4655350p4655351.html > Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com. > > -- > 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 > OW2 mailing lists service home page: http://www.ow2.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 OW2 mailing lists service home page: http://www.ow2.org/wws |
In reply to this post by DL
Hi,
Seems I've been celebrating to soon, the up arrow (&) results in the following error message: Fatal error: The entity name must immediately follow the '&' in the entity reference.
It's only the up arrow, the others work fine. I have no clue what could cause this. regards, Gerrit On Jun 26, 2012, at 6:22 PM, DL wrote:
-- 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 OW2 mailing lists service home page: http://www.ow2.org/wws |
My guess is that the "up" key might in some way be used by the "upload" control ??
http://wiki.orbeon.com/forms/doc/developer-guide/xforms-controls/upload-control but that is just a guess from reading this .. Line Column Description XML Element file:/Library/Tomcat/temp/upload_2337a6b0_13829ca689c__7ffe_00000066.tmp |
Reading more here ..
http://orbeon-forms-ops-users.24843.n4.nabble.com/keyboard-shortcut-for-quot-delete-quot-key-td2245374.html But that was posted in 2010. Does this constraint still apply? |
It's still strange that only the up arrow key results in this error, maybe this is because the tree control react to it. Using 4 character keys for navigation works, so I'll stick to that for the time being. I still would like to use the arrow keys because otherwise I have to explain to users why I didn't use them.
regards, Gerrit On Jun 26, 2012, at 8:57 PM, DL wrote: > Reading more here .. > > http://orbeon-forms-ops-users.24843.n4.nabble.com/keyboard-shortcut-for-quot-delete-quot-key-td2245374.html > > > >> At this point you can only have plain characters in >> xxforms:text="...". >> > > But that was posted in 2010. Does this constraint still apply? > > -- > View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/keypress-xxforms-text-for-arrow-keys-tp4655350p4655356.html > Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com. > > -- > 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 > OW2 mailing lists service home page: http://www.ow2.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 OW2 mailing lists service home page: http://www.ow2.org/wws |
Your earlier post popped up here ..
http://orbeon-forms-ops-users.24843.n4.nabble.com/Tree-view-cursor-navigation-td4099993.html One further thought .. perhaps you could include jQuery Hotkeys script into your form definition to listen for the arrow navigation keys .. then call the orbeon function from the jQuery function? This requires preloading of jQuery libraries in view.xhtml <head> .. placed just before </head> tag. Typically .. <!-- jQuery library links --> <link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js"></script> <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script> Then place the jQuery Hotkey script in <body></body> |
Administrator
|
This issue with "key up" might have been fixed since 3.9, but right
now I can't find trace of a commit addressing this. -Erik On Wed, Jun 27, 2012 at 2:02 AM, DL <[hidden email]> wrote: > Your earlier post popped up here .. > > http://orbeon-forms-ops-users.24843.n4.nabble.com/Tree-view-cursor-navigation-td4099993.html > > One further thought .. perhaps you could include jQuery Hotkeys script into > your form definition to listen for the arrow navigation keys .. then call > the orbeon function from the jQuery function? > > This requires preloading of jQuery libraries in view.xhtml <head> .. placed > just before </head> tag. Typically .. > > > > Then place the jQuery Hotkey script in <body></body> > > -- > View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/keypress-xxforms-text-for-arrow-keys-tp4655350p4655362.html > Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com. > > > -- > 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 > OW2 mailing lists service home page: http://www.ow2.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 OW2 mailing lists service home page: http://www.ow2.org/wws |
Hi Erik,
Should I try the 3.9 nightly build or go for the current 4.0 milestone? regards, Gerrit On Jun 28, 2012, at 6:41 AM, Erik Bruchez wrote: > This issue with "key up" might have been fixed since 3.9, but right > now I can't find trace of a commit addressing this. > > -Erik > > On Wed, Jun 27, 2012 at 2:02 AM, DL <[hidden email]> wrote: >> Your earlier post popped up here .. >> >> http://orbeon-forms-ops-users.24843.n4.nabble.com/Tree-view-cursor-navigation-td4099993.html >> >> One further thought .. perhaps you could include jQuery Hotkeys script into >> your form definition to listen for the arrow navigation keys .. then call >> the orbeon function from the jQuery function? >> >> This requires preloading of jQuery libraries in view.xhtml <head> .. placed >> just before </head> tag. Typically .. >> >> >> >> Then place the jQuery Hotkey script in <body></body> >> >> -- >> View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/keypress-xxforms-text-for-arrow-keys-tp4655350p4655362.html >> Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com. >> >> >> -- >> 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 >> OW2 mailing lists service home page: http://www.ow2.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 > OW2 mailing lists service home page: http://www.ow2.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 OW2 mailing lists service home page: http://www.ow2.org/wws |
Administrator
|
Gerrit,
The nightly builds are currently work in progress between the milestones. So it doesn't make much of a difference but I would try the 4.0 M5 right now. -Erik On Thu, Jun 28, 2012 at 6:54 AM, Gerrit Boers <[hidden email]> wrote: > Hi Erik, > > Should I try the 3.9 nightly build or go for the current 4.0 milestone? > > regards, > > Gerrit > > On Jun 28, 2012, at 6:41 AM, Erik Bruchez wrote: > >> This issue with "key up" might have been fixed since 3.9, but right >> now I can't find trace of a commit addressing this. >> >> -Erik >> >> On Wed, Jun 27, 2012 at 2:02 AM, DL <[hidden email]> wrote: >>> Your earlier post popped up here .. >>> >>> http://orbeon-forms-ops-users.24843.n4.nabble.com/Tree-view-cursor-navigation-td4099993.html >>> >>> One further thought .. perhaps you could include jQuery Hotkeys script into >>> your form definition to listen for the arrow navigation keys .. then call >>> the orbeon function from the jQuery function? >>> >>> This requires preloading of jQuery libraries in view.xhtml <head> .. placed >>> just before </head> tag. Typically .. >>> >>> >>> >>> Then place the jQuery Hotkey script in <body></body> >>> >>> -- >>> View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/keypress-xxforms-text-for-arrow-keys-tp4655350p4655362.html >>> Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com. >>> >>> >>> -- >>> 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 >>> OW2 mailing lists service home page: http://www.ow2.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 >> OW2 mailing lists service home page: http://www.ow2.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 > OW2 mailing lists service home page: http://www.ow2.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 OW2 mailing lists service home page: http://www.ow2.org/wws |
Hi Erik,
Thanks, I will try the new milestone. regards, Gerrit On Jul 3, 2012, at 8:27 AM, Erik Bruchez wrote: > Gerrit, > > The nightly builds are currently work in progress between the > milestones. So it doesn't make much of a difference but I would try > the 4.0 M5 right now. > > -Erik > > On Thu, Jun 28, 2012 at 6:54 AM, Gerrit Boers <[hidden email]> wrote: >> Hi Erik, >> >> Should I try the 3.9 nightly build or go for the current 4.0 milestone? >> >> regards, >> >> Gerrit >> >> On Jun 28, 2012, at 6:41 AM, Erik Bruchez wrote: >> >>> This issue with "key up" might have been fixed since 3.9, but right >>> now I can't find trace of a commit addressing this. >>> >>> -Erik >>> >>> On Wed, Jun 27, 2012 at 2:02 AM, DL <[hidden email]> wrote: >>>> Your earlier post popped up here .. >>>> >>>> http://orbeon-forms-ops-users.24843.n4.nabble.com/Tree-view-cursor-navigation-td4099993.html >>>> >>>> One further thought .. perhaps you could include jQuery Hotkeys script into >>>> your form definition to listen for the arrow navigation keys .. then call >>>> the orbeon function from the jQuery function? >>>> >>>> This requires preloading of jQuery libraries in view.xhtml <head> .. placed >>>> just before </head> tag. Typically .. >>>> >>>> >>>> >>>> Then place the jQuery Hotkey script in <body></body> >>>> >>>> -- >>>> View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/keypress-xxforms-text-for-arrow-keys-tp4655350p4655362.html >>>> Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com. >>>> >>>> >>>> -- >>>> 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 >>>> OW2 mailing lists service home page: http://www.ow2.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 >>> OW2 mailing lists service home page: http://www.ow2.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 >> OW2 mailing lists service home page: http://www.ow2.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 > OW2 mailing lists service home page: http://www.ow2.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 OW2 mailing lists service home page: http://www.ow2.org/wws |
Free forum by Nabble | Edit this page |