From richfaces-svn-commits at lists.jboss.org Mon Oct 15 09:37:35 2007 Content-Type: multipart/mixed; boundary="===============1051153019329230111==" 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: r3372 - trunk/docs/userguide/en/src/main/docbook/included. Date: Mon, 15 Oct 2007 09:37:35 -0400 Message-ID: --===============1051153019329230111== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: vkorluzhenko Date: 2007-10-15 09:37:35 -0400 (Mon, 15 Oct 2007) New Revision: 3372 Modified: trunk/docs/userguide/en/src/main/docbook/included/calendar.xml Log: http://jira.jboss.com/jira/browse/RF-1086 - added infor about ondataselect = and ondataselected attributes Modified: trunk/docs/userguide/en/src/main/docbook/included/calendar.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/calendar.xml 2007-10-= 15 12:53:14 UTC (rev 3371) +++ trunk/docs/userguide/en/src/main/docbook/included/calendar.xml 2007-10-= 15 13:37:35 UTC (rev 3372) @@ -130,13 +130,45 @@ = Note: - "preloadDateRangeBegin" - and - - "preloadDateRangeEnd" + "preloadDateRangeBegin" + and + "preloadDateRangeEnd" attributes was designed only for the "client" mode to load some data initi= ally. = + + "ondataselect" + attribute is used to define an event that is triggered + before date selection. + + "ondateselected" + attribute is used to define an event that is triggered + after date selection. + For example, to fire some event after date selection you should = use + <a4j:support> + . And it should be bound to + "ondateselected" + event as + it's shown in the example below: + = + + = = + +...]]> + + + "ondataselect" + could be used for possibility of date selection canceling.= See an example below: + = + +...]]> + + How to use these attributes see also on the RichFaces Users Forum. + There are three button-related attributes: @@ -950,7 +982,7 @@ rich-calendar-popup - = + Defines styles for a popup element --===============1051153019329230111==--