From richfaces-svn-commits at lists.jboss.org Tue Jan 29 05:44:22 2008 Content-Type: multipart/mixed; boundary="===============5865902990826833941==" 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: r5687 - trunk/docs/userguide/en/src/main/docbook/included. Date: Tue, 29 Jan 2008 05:44:22 -0500 Message-ID: --===============5865902990826833941== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: cluts Date: 2008-01-29 05:44:22 -0500 (Tue, 29 Jan 2008) New Revision: 5687 Modified: trunk/docs/userguide/en/src/main/docbook/included/toolTip.xml Log: http://jira.jboss.com/jira/browse/RF-1052 - done for tooltip Modified: trunk/docs/userguide/en/src/main/docbook/included/toolTip.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/toolTip.xml 2008-01-2= 9 10:43:56 UTC (rev 5686) +++ trunk/docs/userguide/en/src/main/docbook/included/toolTip.xml 2008-01-2= 9 10:44:22 UTC (rev 5687) @@ -316,7 +316,7 @@ =
Definition of Custom Style Classes - +
Classes names that define a component appearance @@ -338,16 +338,67 @@ It depends on <rich:toolTip><= /property> layout what a wrapper element <= ;span> or <div>to choose. In order to redefine styles for all - <rich:toolTip> - components on a page using CSS, it's enough to create = class with the - same name and define necessary properties in it. + <rich:toolTipl> + 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 exa= mple is placed below: = - To change styles of particular - <rich:toolTip> - components define your own style class in the corresponding= - <rich:toolTip> - attributes + + Example: + + = + = + This is a result: + = +
+ Redefinition styles with predefined classes + + + + + +
+ = + In the example a tool tip background color, border color and font= style were changed. + Also it=E2=80=99s possible to change styles of particular <rich:toolTipl> component. In = this case you should create own style classes and use them in corresponding= <rich:toolTip> sty= leClass attributes. An example is placed below: + = + + Example: + + = + The "styleClass" attribute for <rich:toolTip> is defined as = it=E2=80=99s shown in the example below: + = + + Example: + + +]]> = + = + This is a result: + = +
+ Redefinition styles with own classes and styleClass attributes= + + + + + +
= + = + As it could be seen on the picture above, background color and bo= rder color of tool tip were changed. =
Relevant Resources Links --===============5865902990826833941==--