[richfaces-issues] [JBoss JIRA] (RF-10986) Make background gradient in table headers and toolbars configurable

Mark Bloomfield (JIRA) jira-events at lists.jboss.org
Sun Feb 10 08:34:56 EST 2013


    [ https://issues.jboss.org/browse/RF-10986?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12753318#comment-12753318 ] 

Mark Bloomfield commented on RF-10986:
--------------------------------------

I found the skinning option fantastic for developers who are not so familiar CSS and that you can overide the base style very simply with your own colours etc. But in my opinion some of the hard coded items such as the image reduce the benefit of using the inbuilt skin.  

I appreciate there is a workaround it would have just been nice to at least control the gradient out of the box..
                
> Make background gradient in table headers and toolbars configurable
> -------------------------------------------------------------------
>
>                 Key: RF-10986
>                 URL: https://issues.jboss.org/browse/RF-10986
>             Project: RichFaces
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: skinning
>    Affects Versions: 3.3.2.SR1
>            Reporter: Martin Vecera
>             Fix For: 3.Future
>
>
> The background gradient is by default present at table headers and toolbars. The background is a dynamically generated image and its presence in a web page is caused by XML snippets like the following one (part of richfaces-ui.jar:/org/richfaces/skin.xcss):
> <u:style name="background-image">  
>   <f:resource xmlns:f="http:/jsf.exadel.com/template" f:key="org.richfaces.renderkit.html.GradientA"/>  
> </u:style>
> This can be overrided by a custom CSS which is a recommended fix - http://community.jboss.org/wiki/RichFacesDataTableBackgroundOut
> The big issue here is that you still have the gradient style configured and loaded by your browser, and the background image generated at the server.
> It would be great if the background gradient was configurable by a skin property like other attributes (e.g. skin.properties: gradientStyle=NONE).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the richfaces-issues mailing list