From richfaces-svn-commits at lists.jboss.org Mon Oct 8 11:16:04 2007 Content-Type: multipart/mixed; boundary="===============1489449368693028561==" 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: r3294 - trunk/docs/userguide/en/src/main/docbook/included. Date: Mon, 08 Oct 2007 11:16:04 -0400 Message-ID: --===============1489449368693028561== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: vkorluzhenko Date: 2007-10-08 11:16:04 -0400 (Mon, 08 Oct 2007) New Revision: 3294 Modified: trunk/docs/userguide/en/src/main/docbook/included/calendar.xml Log: http://jira.jboss.com/jira/browse/RF-968 - improved description 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-= 08 12:47:14 UTC (rev 3293) +++ trunk/docs/userguide/en/src/main/docbook/included/calendar.xml 2007-10-= 08 15:16:04 UTC (rev 3294) @@ -93,17 +93,50 @@ = - + + Usage + "currentDate" + attribute isn't available in the popup + mode. + The + <rich:calendar> + component ables to render pages of days in two modes. Sw= itching mode + could be defined with the + "mode" + attribute with two possible parameters: Ajax and Client.= Default value is set to + "Client". + + + Ajax + + + + Calendar requests portions of data from Data Model for a page re= ndering. If + + "dataModel" + attribute has "null" valu= e, data requests are + not sent. In this case the "Ajax" mode is equal to the + "Client" mode. + + + + Client + + + + Calendar loads an initial portion of data in a specified range a= nd use this data to + render months. Additional data requests are not sent. + There are three button-related attributes: "buttonLabel" - defines a label for the button. If the attribute is = set "buttonIcon" and "buttonIconDisabled" are ignored - + defines a label for the button. If the attribute is = set "buttonIcon" and + "buttonIconDisabled" are ignored @@ -225,8 +258,8 @@ = The <rich:calendar> - component provides the possibility to use a special data= model to define data for - element rendering. Data model includes two major interfaces: + component provides the possibility to use a special Data= Model to define data for + element rendering. Data Model includes two major interfaces: = CalendarDataModel @@ -402,389 +435,389 @@ =
Look-and-Feel Customization - = + For skinnability implementation, the components use a - style class redefinition method. - - Default style classes are mapped on + style class redefinition method. + Default style classes are mapped on skin parameters. - = + There are two ways to redefine the appearance of all - <rich:calendar> - components at once: - = + <rich:calendar> + components at once: + Redefine the corresponding skin parameters - = + Add to your style sheets - style classes - used by a - <rich:calendar> - component + style classes + used by a + <rich:calendar> + component
- = +
Skin Parameters Redefinition - = + Skin parameters redefinition for a popup element - = + Skin parameters - = + CSS properties - = + panelBorderColor - = + border-color - = +
- = + Skin parameters redefinition for headers (header, optional he= ader) - = + Skin parameters - = + CSS properties - = + panelBorderColor - = + border-bottom-color - = + additionalBackgroundColor - = + background-color - = + generalSizeFont - = + font-size - = + generalFamilyFont - = + font-family - = +
- = + - Skin parameters redefinition for footers (footer, optional fo= oter) and names of working days - = + Skin parameters redefinition for footers (footer, optional fo= oter) and names of working + days + Skin parameters - = + CSS properties - = + panelBorderColor - = + border-top-color - = + panelBorderColor - = + border-right-color - = + additionalBackgroundColor - = + background - = + generalSizeFont - = + font-size - = + generalFamilyFont - = + font-family - = +
- = + Skin parameters redefinition for weeks numbers - = + Skin parameters - = + CSS properties - = + panelBorderColor - = + border-bottom-color - = + panelBorderColor - = + border-right-color - = + additionalBackgroundColor - = + background - = + calendarWeekBackgroundColor - = + background-color - = + generalSizeFont - = + font-size - = + generalFamilyFont - = + font-family - = +
- = + Skin parameters redefinition for a toolbar and names of month= s - = + Skin parameters - = + CSS properties - = + headerBackgroundColor - = + background-color - = + headerSizeFont - = + font-size - = + headerFamilyFont - = + font-family - = + headerWeightFont - = + font-weight - = + headerTextColor - = + color - = +
- = + Skin parameters redefinition for cells with days - = + Skin parameters - = + CSS properties - = + panelBorderColor - = + border-bottom-color - = + panelBorderColor - = + border-right-color - = + generalBackgroundColor - = + background-color - = + generalSizeFont - = + font-size - = + generalFamilyFont - = + font-family - = +
- = + Skin parameters redefinition for holiday - = + Skin parameters - = + CSS properties - = + calendarHolidaysBackgroundColor - = + background-color - = + calendarHolidaysTextColor - = + color - = +
- = + Skin parameters redefinition for cell with a current date</ti= tle> - = + <tgroup cols=3D"2"> <thead> <row> <entry>Skin parameters</entry> - = + <entry>CSS properties</entry> </row> </thead> - = + <tbody> <row> <entry>calendarCurrentBackgroundColor</entry> - = + <entry>background-color</entry> </row> - = + <row> <entry>calendarCurrentTextColor</entry> - = + <entry>color</entry> </row> - = + </tbody> </tgroup> </table> - = + <table> <title>Skin parameters redefinition for a selected day - = + Skin parameters - = + CSS properties - = + headerBackgroundColor - = + background-color - = + headerTextColor - = + color - = + headerWeightFont - = + font-weight - = +
- = +
- = +
Definition of Custom Style Classes = @@ -860,10 +893,10 @@ = Defines styles for weeks numbers - = + rich-calendar-today - = + Defines styles for cell with a current date = @@ -914,16 +947,16 @@ = Defines styles for a popup element - = + rich-calendar-tool - = + Defines styles for toolbars - = + rich-calendar-month - = + Defines styles for names of months = @@ -989,8 +1022,9 @@
Relevant Resources Links Here you can see the example of <rich:calendar> usage and sou= rces for the given example. + >Here you can see the example of + <rich:calendar> + usage and sources for the given example. How to use JavaScript API see on the RichFaces Users Forum. --===============1489449368693028561==--