From richfaces-svn-commits at lists.jboss.org Tue Jul 31 13:07:00 2007 Content-Type: multipart/mixed; boundary="===============5036596135643648065==" 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: r1964 - in trunk/docs/userguide/en/src/main: resources/images and 1 other directory. Date: Tue, 31 Jul 2007 13:07:00 -0400 Message-ID: --===============5036596135643648065== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: vkorluzhenko Date: 2007-07-31 13:07:00 -0400 (Tue, 31 Jul 2007) New Revision: 1964 Modified: trunk/docs/userguide/en/src/main/docbook/included/dropDownMenu.xml trunk/docs/userguide/en/src/main/docbook/included/suggestionBox.desc.xml trunk/docs/userguide/en/src/main/docbook/included/suggestionBox.xml trunk/docs/userguide/en/src/main/resources/images/suggestionbox4.gif Log: http://jira.jboss.com/jira/browse/RF-451 Modified: trunk/docs/userguide/en/src/main/docbook/included/dropDownMenu.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/dropDownMenu.xml 2007= -07-31 17:05:19 UTC (rev 1963) +++ trunk/docs/userguide/en/src/main/docbook/included/dropDownMenu.xml 2007= -07-31 17:07:00 UTC (rev 1964) @@ -276,7 +276,7 @@ =
- Redefinition of Skin Parameters + Skin parameters redefinition = Label Skin parameters redefinition Modified: trunk/docs/userguide/en/src/main/docbook/included/suggestionBox.d= esc.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/suggestionBox.desc.xm= l 2007-07-31 17:05:19 UTC (rev 1963) +++ trunk/docs/userguide/en/src/main/docbook/included/suggestionBox.desc.xm= l 2007-07-31 17:07:00 UTC (rev 1964) @@ -42,6 +42,7 @@ Flexible list of components to update after AJAX request= managed by attributesSetting restriction to AJAX request generationEasily setting action to collect suggestion data = + Keyboard navigation support = \ No newline at end of file Modified: trunk/docs/userguide/en/src/main/docbook/included/suggestionBox.x= ml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/suggestionBox.xml 200= 7-07-31 17:05:19 UTC (rev 1963) +++ trunk/docs/userguide/en/src/main/docbook/included/suggestionBox.xml 200= 7-07-31 17:07:00 UTC (rev 1964) @@ -189,7 +189,240 @@ after which AJAX requests are called to perform suggestion. = + =
+ Look-and-Feel Customization + = + For skinnability implementation, the components use a style = class redefinition method. + Default style classes are mapped on skin parameters. + = + There are two ways to redefine the appearance of all suggest= ionbox at once: + = + + + Redefine the corresponding skin parameters + + = + + Add to a user's style sheets style classes used by a= suggestionbox + + +
+ = +
+ Skin parameters redefinition + = +
+ General skin parameters redefinition for popup list</ti= tle> + = + <tgroup cols=3D"2"> + <thead> + <row> + <entry>Parameters for popup list</entry> + = + <entry>CSS properties</entry> + </row> + </thead> + = + <tbody> + <row> + <entry>additionalBackgroundColor</entry> + = + <entry>background-color</entry> + </row> + = + <row> + <entry>panelBorderColor</entry> + = + <entry>border-color</entry> + </row> + </tbody> + </tgroup> + </table> + = + <table> + <title>Skin parameters redefinition for shadow element of the = list + = + + + + Parameters for shadow element of the list + = + CSS properties + + + = + + + shadowBackgroundColor + = + background-color + + = + + shadowBackgroundColor + = + border-color + + = + + shadowOpacity + = + opacity + + + +
+ = + + Skin parameters redefinition for popup table rows</titl= e> + = + <tgroup cols=3D"2"> + <thead> + <row> + <entry>Parameters for popup table rows</entry> + = + <entry>CSS properties</entry> + </row> + </thead> + = + <tbody> + <row> + <entry>generalSizeFont</entry> + = + <entry>font-size</entry> + </row> + = + <row> + <entry>generalTextColor</entry> + = + <entry>color</entry> + </row> + = + <row> + <entry>generalFamilyFont</entry> + = + <entry>font-family</entry> + </row> + </tbody> + </tgroup> + </table> + = + <table> + <title>Skin parameters redefinition for selected row + = + + + + Parameters for selected row + = + CSS properties + + + = + + + headerBackgroundColor + = + background-color + + = + + generalSizeFont + = + font-size + + = + + generalFamilyFont + = + font-family + + + headerTextColor + = + color + + = + + +
+
+ = +
+ Definition of Custom Style Classes + = +
+ Classes names + = + + + + + +
+ = + On the screenshot, there are classes names defining specifie= d elements. + = + + Component skin class + = + + + + Class name + = + Description + + + = + + + rich-sb-overflow + = + Defines the styles of outer div + + = + + rich-sb-int-decor-table + = + Defines the styles for suggestion box table= + + = + + rich-sb-int + = + Defines the styles for suggestion box table= rows (tr) + + = + + rich-sb-cell-padding + = + Defines the styles for suggestion box table= cells (td) + + = + + rich-sb-shadow + = + Defines the styles for shadow + + = + + rich-sb-int-sel + = + Defines the styles for selected row + + + +
+ = + In order to redefine the style for all saggestionbox compone= nts on a page using CSS, it's enough to + create classes with the same names and define the necessary pr= operties in them. + = + To change the style of particular suggestionbox components d= efine your own style classes in the corresponding suggestionbox attributes.= +
+ = +
Relevant resources links