How do I stop richfaces adding borders to panels and calendars?

后端 未结 3 720
南方客
南方客 2020-12-31 14:55

I\'m hoping to use a custom richfaces skin to handle the bulk of my presentation work. Unfortunately richfaces renders borders around every cell in a calendar component and

3条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-31 15:15

    There is a skin called plain that's got nearly no styles at all attached to it.

    Here's an excerpt from the documentation:

    Skin 'plain' was added from 3.0.2 version. It doesn't have any parameters. It's necessary for embedding RichFaces components into existing projecst which have its own styles.

    You can activate it by adding

    
        org.richfaces.SKIN
        plain
    
    

    to the web.xml.


    You can also hinder RichFaces to load any styles at all with

    
         org.richfaces.LoadStyleStrategy
         None
    
    

    set in the web.xml.

    But beware, since it won't work in JBoss Portlet Bridge 1.0.0.

提交回复
热议问题