-
1. Re: Panel TAB , Skinabilty/CSS
sergeysmirnov Mar 11, 2007 12:33 PM (in response to oren1)Skin is a properties file with set of name/value pairs (skin parameters)
RichFaces Skinability is a CSS-based customization of look-n-feel
Skinability includes three levels:
1. Application Level: Applying CSS classes where some style parameters are linked with skin parameters. Each of the RichFaces visual components has this feature. So, changing just a properties file, you can change the look-n-feel of the whole application
2. Component Kind Level: Ability to customize the particular kind of component simultaneously. Each of the RichFaces visual component has a set of classes with pre-defined name that you can use for that purpose.
For example, if you do not want to have an explicitly outlined body for the all tab panels existing in your application, you can define:.rich-tabpanel-content { border-width: 1px 0px 0px 0px; background-color: transparent; }
3. Individual Component Level: Ability to define the style classes that are applied on particular component instance.
For example, on the page: http://livedemo.exadel.com/richfaces-demo/richfaces/tabPanel.jsf you can see that the "Usage/Look Customization" tab panel has a different look-n-feel in contrast with other tab panels on the same page.
References:
http://labs.jboss.com/file-access/default/members/jbossrichfaces/freezone/docs/devguide/Skinnability.html
Skinability Feature Overview
http://labs.jboss.com/file-access/default/members/jbossrichfaces/freezone/docs/devguide/tabPanel.html
The top table (attributes) contains the set of classes and style for Level 3
The bottom table (Component skin class) contains the predefined class names for Level 2 -
2. Re: Panel TAB , Skinabilty/CSS
oren1 Mar 12, 2007 12:54 AM (in response to oren1)Is the richfaces-demo.war is available for download?
-
3. Re: Panel TAB , Skinabilty/CSS
kguide Oct 1, 2007 8:33 AM (in response to oren1)Hello,
can you tell me, how I can access the file under
http://labs.jboss.com/file-access/default/members/jbossrichfaces/freezone/docs/devguide/Skinnability.html?
I always get the message "Sorry, you don't have access to this resource" although I'm locked in to jboss.com.
Thanks a lot
Daniel -
5. Re: Panel TAB , Skinabilty/CSS
ilya_shaikovsky Oct 1, 2007 9:21 AM (in response to oren1)sorry... refactoring after merge - broke some urls..
If you'll get such problem again - just start from the main Dev Guide page and use Table of content to navigate.