From richfaces-svn-commits at lists.jboss.org Wed Jan 30 06:19:59 2008 Content-Type: multipart/mixed; boundary="===============3415067141420242193==" 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: r5730 - trunk/docs/userguide/en/src/main/docbook/included. Date: Wed, 30 Jan 2008 06:19:43 -0500 Message-ID: --===============3415067141420242193== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: cluts Date: 2008-01-30 06:19:42 -0500 (Wed, 30 Jan 2008) New Revision: 5730 Modified: trunk/docs/userguide/en/src/main/docbook/included/tree.xml Log: http://jira.jboss.com/jira/browse/RF-1052 - done for tree Modified: trunk/docs/userguide/en/src/main/docbook/included/tree.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/tree.xml 2008-01-30 0= 1:45:09 UTC (rev 5729) +++ trunk/docs/userguide/en/src/main/docbook/included/tree.xml 2008-01-30 1= 1:19:42 UTC (rev 5730) @@ -805,7 +805,7 @@
Definition of Custom Style Classes - +
Classes names that define a component appearance @@ -824,16 +824,66 @@
= In order to redefine styles for all - <rich:tree> - components on a page using CSS, it's enough to crea= te a class with the - same names and define necessary properties in them. - - To change styles of particular - <rich:tree> - components define your own style class in the correspond= ing - <rich:tree> - attribute. + <rich:tree> + components on a page using CSS, it's enough to create= classes with the + same names (possible classes could be found in the table above) and define necessary properties in them. An ex= ample is placed below: + = + + Example: + + = + = + This is a result: + = +
+ Redefinition styles with predefined classes + + + + + +
+ = + In the example a tree color text was changed. + Also it=E2=80=99s possible to change styles of particular <rich:tree> component. In thi= s case you should create own style classes and use them in corresponding <rich:tree> style= Class attributes. An example is placed below: + = + + Example: + + = + The "styleClass" attribute for <rich:tree> is defined as it= =E2=80=99s shown in the example below: + = + + Example: + + +]]> = + = + This is a result: + = +
+ Redefinition styles with own classes and styleClass attribute= s + + + + + +
= + = + As it could be seen on the picture above, background color of tr= ee was changed. =
+ =
Relevant Resources Links --===============3415067141420242193==--