From richfaces-svn-commits at lists.jboss.org Wed Oct 20 21:32:01 2010
Content-Type: multipart/mixed; boundary="===============0421745153091909842=="
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: r19623 - in
modules/docs/branches/m4/Component_Reference/src/main/docbook/en-US: extras
and 1 other directories.
Date: Wed, 20 Oct 2010 21:32:01 -0400
Message-ID: <201010210132.o9L1W1Jk018136@svn01.web.mwc.hst.phx2.redhat.com>
--===============0421745153091909842==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Author: SeanRogers
Date: 2010-10-20 21:32:01 -0400 (Wed, 20 Oct 2010)
New Revision: 19623
Added:
modules/docs/branches/m4/Component_Reference/src/main/docbook/en-US/extr=
as/exam-Component_Reference-richcalendar-Basic_usage.xml_sample
modules/docs/branches/m4/Component_Reference/src/main/docbook/en-US/imag=
es/figu-Component_Reference-richcalendar-Pop-up_positioning.png
modules/docs/branches/m4/Component_Reference/src/main/docbook/en-US/imag=
es/figu-Component_Reference-richcalendar-richcalendar.png
Modified:
modules/docs/branches/m4/Component_Reference/src/main/docbook/en-US/chap=
-Component_Reference-Rich_inputs.xml
Log:
Draft of rich:calendar complete
Modified: modules/docs/branches/m4/Component_Reference/src/main/docbook/en-=
US/chap-Component_Reference-Rich_inputs.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
--- modules/docs/branches/m4/Component_Reference/src/main/docbook/en-US/cha=
p-Component_Reference-Rich_inputs.xml 2010-10-21 00:31:11 UTC (rev 19622)
+++ modules/docs/branches/m4/Component_Reference/src/main/docbook/en-US/cha=
p-Component_Reference-Rich_inputs.xml 2010-10-21 01:32:01 UTC (rev 19623)
@@ -21,16 +21,37 @@
The <rich:calendar> component allows the user =
to enter a date and time through an in-line or pop-up calendar. The pop-up =
calendar can navigate through months and years, and its look and feel can b=
e highly customized.
=
+
+ <rich:calendar>
+
+
+
+
+
+
+ An expanded <rich:calendar> component, disp=
laying the calendar month of December, 2010.
+
+
+
+
+
Basic usage
- The <rich:calendar> component supports two di=
fferent ways of loading data through defining the mode a=
ttribute. When not specified, the component uses client =
mode, which loads an initial portion of data within a set date range. The r=
ange can be defined by using the preloadDateRangeBegin a=
nd preloadDateRangeEnd attributes. Additional data reque=
sts are not sent.
+ Basic usage of the <rich:calendar> component =
requires only the value attribute, which holds the curre=
ntly selected date. shows a basic declaration, with the value pointing to a dat=
a model.
+
+ Basic usage
+
+
=
Using a data model
+ The <rich:calendar> component supports two di=
fferent ways of loading data through defining the mode a=
ttribute. When not specified, the component uses client =
mode, which loads an initial portion of data within a set date range. The r=
ange can be defined by using the preloadDateRangeBegin a=
nd preloadDateRangeEnd attributes. Additional data reque=
sts are not sent.
+
+
Alternatively, with mode=3D"ajax" the <rich:c=
alendar> requests portions of data for rendering from a specia=
l data model. The data model can be defined through the dataModel<=
/varname> attribute, which points to an object that implements the CalendarDataModel interface. If the dataModel attribute is not defined or has a value of null, th=
e ajax mode functions the same as the client mode.
@@ -44,8 +65,24 @@
To change the appearance of the display button from the standard calen=
dar icon, use the buttonIcon and buttonIconDisa=
bled attributes to replace the icon with a specified file. Altern=
atively, use the buttonLabel attribute to display text o=
n the button without an icon. If buttonLabel is specifie=
d then both the buttonIcon and buttonIconDisabl=
ed attributes are ignored. To hide the text field box, set =
showInput=3D"false".
- To change the default position at which the pop-up calendar is shown r=
elative to the text field and button, use the jointPoint=
and direction attributes. The jointPoint attribute refers to the corner of the text field and button with which=
the calendar will be aligned and the direction specifie=
s which direction the pop-up calendar will span relative to the joint point=
. The default settings are jointPoint=3D"bottom-left" and direction=3D"bottom-right", causing the pop-up calendar to align w=
ith the bottom-left corner of the text field and span to the bottom-right, =
underneath the text field and button. The diagram shows the joint points an=
d directions that can be used. Alternatively, set both jointPoint<=
/varname> and direction attributes to auto to allow smart pop-up positioning.
+ To change the default position at which the pop-up calendar is shown r=
elative to the text field and button, use the jointPoint=
and direction attributes. The jointPoint attribute refers to the corner of the text field and button with which=
the calendar will be aligned and the direction specifie=
s which direction the pop-up calendar will span relative to the joint point=
. The default settings are jointPoint=3D"bottom-left" and direction=3D"bottom-right", causing the pop-up calendar to align w=
ith the bottom-left corner of the text field and span to the bottom-right, =
underneath the text field and button. The diagram shows the joint points an=
d directions that can be used. Alternatively, set both jointPoint<=
/varname> and direction attributes to auto to allow smart pop-up positioning. shows the different possible settings for the jointPoint and direction attributes.
+
+ Pop-up positioning
+
+
+
+
+
+
+ Pop-up positioning is determined using the jointPoint and direction attributes.
+
+
+
+
+ Pop-up positioning is determined using the jointPoint and direction attributes. Values for the jo=
intPoint attribute are shown in red, while values for the direction attribute are shown in black.
+
+
The calendar features a Today button for locati=
ng today's date on the calendar. This can be set to three different values =
using the todayControlMode attribute:
@@ -69,6 +106,12 @@
To make the entire calendar read-only, set readonly=3D"true". This allows months and years to be browsed through with the arrow cont=
rols, but dates and times cannot be selected.
+
+
=
Added: modules/docs/branches/m4/Component_Reference/src/main/docbook/en-US/=
extras/exam-Component_Reference-richcalendar-Basic_usage.xml_sample
=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
--- modules/docs/branches/m4/Component_Reference/src/main/docbook/en-US/ext=
ras/exam-Component_Reference-richcalendar-Basic_usage.xml_sample =
(rev 0)
+++ modules/docs/branches/m4/Component_Reference/src/main/docbook/en-US/ext=
ras/exam-Component_Reference-richcalendar-Basic_usage.xml_sample 2010-10-21=
01:32:01 UTC (rev 19623)
@@ -0,0 +1 @@
+
Added: modules/docs/branches/m4/Component_Reference/src/main/docbook/en-US/=
images/figu-Component_Reference-richcalendar-Pop-up_positioning.png
=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
(Binary files differ)
Property changes on: modules/docs/branches/m4/Component_Reference/src/main/=
docbook/en-US/images/figu-Component_Reference-richcalendar-Pop-up_positioni=
ng.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: modules/docs/branches/m4/Component_Reference/src/main/docbook/en-US/=
images/figu-Component_Reference-richcalendar-richcalendar.png
=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
(Binary files differ)
Property changes on: modules/docs/branches/m4/Component_Reference/src/main/=
docbook/en-US/images/figu-Component_Reference-richcalendar-richcalendar.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
--===============0421745153091909842==--