From richfaces-svn-commits at lists.jboss.org Fri May 28 06:40:05 2010 Content-Type: multipart/mixed; boundary="===============0592022398359137347==" 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: r17344 - in root/examples/richfaces-showcase/trunk/src/main: webapp/richfaces and 2 other directories. Date: Fri, 28 May 2010 06:40:05 -0400 Message-ID: <201005281040.o4SAe5pF027058@svn01.web.mwc.hst.phx2.redhat.com> --===============0592022398359137347== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: ilya_shaikovsky Date: 2010-05-28 06:40:04 -0400 (Fri, 28 May 2010) New Revision: 17344 Added: root/examples/richfaces-showcase/trunk/src/main/webapp/richfaces/standar= dSkinning/ root/examples/richfaces-showcase/trunk/src/main/webapp/richfaces/standar= dSkinning/standardSkinning.xhtml Modified: root/examples/richfaces-showcase/trunk/src/main/resources/org/richfaces/= demo/data/common/navigation.xml root/examples/richfaces-showcase/trunk/src/main/webapp/templates/include= s/navigation.xhtml Log: https://jira.jboss.org/browse/RF-8374 Modified: root/examples/richfaces-showcase/trunk/src/main/resources/org/ric= hfaces/demo/data/common/navigation.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 --- root/examples/richfaces-showcase/trunk/src/main/resources/org/richfaces= /demo/data/common/navigation.xml 2010-05-28 09:37:03 UTC (rev 17343) +++ root/examples/richfaces-showcase/trunk/src/main/resources/org/richfaces= /demo/data/common/navigation.xml 2010-05-28 10:40:04 UTC (rev 17344) @@ -83,11 +83,11 @@ skinChange Parameters for non-Ajax components - = + clientParam Parameters from client side - = + @@ -264,4 +264,19 @@ + + Misc Components/Features + + + standardSkinning + Standard elements skinning + + + standardSkinning + Standard elements skinning feature + + + + + Added: root/examples/richfaces-showcase/trunk/src/main/webapp/richfaces/sta= ndardSkinning/standardSkinning.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- root/examples/richfaces-showcase/trunk/src/main/webapp/richfaces/standa= rdSkinning/standardSkinning.xhtml (rev 0) +++ root/examples/richfaces-showcase/trunk/src/main/webapp/richfaces/standa= rdSkinning/standardSkinning.xhtml 2010-05-28 10:40:04 UTC (rev 17344) @@ -0,0 +1,94 @@ + + + + +

This section overviews main principles of standard components + skinning with the Rich Faces framework.

+

This feature provides styling for standard HTML form elements in + order to be highly compilant with RichFaces common look'n'feel. There + should be two ways of applying skins to elements:

+ +

Standard controls skinning feature provides 2 levels of + skinning:

+
    +
  1. Standard - customization of only basic style + properties.
  2. +
  3. Extended - extends basic level introducing + customizations of a broader number of style properties
  4. +
+

Skinning level is calculated automatically at server side + depending on user agent info.

+ NOTE:Extended skinning is not applied to browsers with + rich visual styling for controls (e.g. Opera and Safari). Also advanced + level of skinning requires support of CSS 2 attribute selectors either + as implicit type attributes for button/textarea elements (e.g. IE7 in + standards compilant mode) or CSS 3 draft namespace selectors (e.g. + Mozilla Firefox). + +

Here is the skinned form example. Note there is no styling in + sources of that form

+ + + + Standard components skinning + + All the controls below is just standard JSF components skinned + with Rich Faces: +
+ + + + + + + + + + + + + + + +
+ + +
+ +

There three ways of applying skinning to application:

+ + +

To get a better idea of standard component skinning we recommend + to explore CSS files located in + ui/core/src/main/resources/org/richfaces/ folder of RichFaces svn.

+
+ + \ No newline at end of file Modified: root/examples/richfaces-showcase/trunk/src/main/webapp/templates/= includes/navigation.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- root/examples/richfaces-showcase/trunk/src/main/webapp/templates/includ= es/navigation.xhtml 2010-05-28 09:37:03 UTC (rev 17343) +++ root/examples/richfaces-showcase/trunk/src/main/webapp/templates/includ= es/navigation.xhtml 2010-05-28 10:40:04 UTC (rev 17344) @@ -4,7 +4,7 @@ xmlns:ui=3D"http://java.sun.com/jsf/facelets" xmlns:a4j=3D"http://richfaces.org/a4j" xmlns:rich=3D"http://java.sun.com/jsf/composite/rich"> - + = @@ -12,7 +12,7 @@
  • - +
    • --===============0592022398359137347==--