From richfaces-svn-commits at lists.jboss.org Sat Jun 28 10:53:08 2008
Content-Type: multipart/mixed; boundary="===============7325410165937525114=="
MIME-Version: 1.0
From: richfaces-svn-commits at lists.jboss.org
To: richfaces-svn-commits at lists.jboss.org
Subject: [richfaces-svn-commits] JBoss Rich Faces SVN: r9290 -
trunk/docs/userguide/en/src/main/docbook/included.
Date: Sat, 28 Jun 2008 10:53:08 -0400
Message-ID:
--===============7325410165937525114==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Author: artdaw
Date: 2008-06-28 10:53:08 -0400 (Sat, 28 Jun 2008)
New Revision: 9290
Modified:
trunk/docs/userguide/en/src/main/docbook/included/hotKey.xml
Log:
http://jira.jboss.com/jira/browse/RF-3783 - Details of Usage =
Modified: trunk/docs/userguide/en/src/main/docbook/included/hotKey.xml
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/docs/userguide/en/src/main/docbook/included/hotKey.xml 2008-06-28=
13:10:56 UTC (rev 9289)
+++ trunk/docs/userguide/en/src/main/docbook/included/hotKey.xml 2008-06-28=
14:53:08 UTC (rev 9290)
@@ -64,8 +64,54 @@
Details of Usage
-
+ There are two ways to register <ri=
ch:hotKey>:
+
+
+
+ by attaching it to the whole page (html[0] element=
). This is default scenario.
+
+
+
+
+ by attaching it with "selector"=
; attribute to all the elements =
+ defined using this selector. =
+ This attribute uses defined by w3c consortium syntax for CSS rule selector =
+ with some jQuery extensions. =
+
+
+
+
+ The "key" =
attribute defines the hot key itself =
+ which is processed by the component. =
+
+
+ After the hot key has been registered and defined you could se=
t the "handler" =
+ attribute which determines a JavaScript function to be called =
every time when corresponding keys are pressed. =
+
+ =
+
+ With the help of the "timing"
attribute
+ you could manage <rich:ho=
tKey> registration timing. =
+ There are three possible values of this attribute:
+
+
+
+
+ "immediate" - the component is rendered in b=
rowser immediately =
+
+
+
+
+ "onload" - the component is rendered after t=
he page is fully loaded
+
+
+
+
+ "onregistercall" - the component is rendered=
only after JavaScript API for the key registration is used.
+
+
+
JavaScript API
--===============7325410165937525114==--