From richfaces-svn-commits at lists.jboss.org Thu Nov 1 11:15:32 2007 Content-Type: multipart/mixed; boundary="===============0534646086174250388==" 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: r3676 - trunk/docs/userguide/en/src/main/docbook/included. Date: Thu, 01 Nov 2007 11:11:32 -0400 Message-ID: --===============0534646086174250388== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: ochikvina Date: 2007-11-01 11:11:32 -0400 (Thu, 01 Nov 2007) New Revision: 3676 Modified: trunk/docs/userguide/en/src/main/docbook/included/panelMenu.xml Log: http://jira.jboss.com/jira/browse/RF-920 - adding Look and Feel section Modified: trunk/docs/userguide/en/src/main/docbook/included/panelMenu.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/panelMenu.xml 2007-11= -01 14:56:38 UTC (rev 3675) +++ trunk/docs/userguide/en/src/main/docbook/included/panelMenu.xml 2007-11= -01 15:11:32 UTC (rev 3676) @@ -233,15 +233,57 @@ = + = +
+ Look-and-Feel Customization + = + For skinnability implementation, the components use a + style class redefinition method. + + = + To redefine the appearance of all + <rich:panelMenu> + components at once, you should add to your style sheets + style class + used by a + <rich:panelMenu> + component +
=
Definition of Custom Style Classes + = + + Classes names that define a component appearance + + + + Class name + Class description + + + + = + + rich-panel-menu + Defines styles for a wrapper <div> element of a = component + + = + + +
+ In order to redefine styles for all + <rich:panelMenu> + components on a page using CSS, it's enough to create= a class with the + same name and define necessary properties in it. + = + To change styles of particular + <rich:panelMenu> + components, define your own style class in the correspondi= ng + <rich:panelMenu> + attributes. = - As this component is just a wrapper for its children its provide= the only - "rich-panel-menu" class for wrapper div element. To redefi= ne appearance of - particular panel menus, it's possible to define your own CSS cl= ass. And then just - define it in the components class attribute. -
Relevant Resources Links --===============0534646086174250388==--