Error Message Style For a Panel

后端 未结 2 447
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-03 06:10

I am using PrimeFaces, which in turn uses JQuery UI for not only the functionality but its CSS styling framework. This question arises from my ignorance about the CSS frame

2条回答
  •  刺人心
    刺人心 (楼主)
    2021-01-03 06:24

    the easiest way to do this is to look at primefaces showcase, and use firebug to look at css classes.

    I think you should use p:outputPanel with layout="block" instead of p:panel, because the panel has its own styles. Instead, the outputPanel with block layouts renders a div with no styles.

    Anyway, this is how your code should look like

    
         

提交回复
热议问题