key event listener for whole page

asked 2014-08-19 14:59:59 +0800

HolgerR gravatar image HolgerR
3 1

Hi there,

I want to press a key and execute a @Command.

I'd prefer a solution in the zul page.

I tried


and added the code in


but it seems to work only in components (eg textbox).

Any ideas ?

Regards, Holger

delete flag offensive retag edit

2 Answers

Sort by ยป oldest newest most voted
link publish delete flag offensive edit

answered 2014-08-19 15:07:05 +0800

IngoB gravatar image IngoB flag of Germany
256 6

You have to add it to every "part" of the borderlayout.

<north ctrlKeys="#f8">
link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

1 follower



Asked: 2014-08-19 14:59:59 +0800

Seen: 16 times

Last updated: Aug 21 '14

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More