How to use JSF h:messages better?

前端 未结 3 1361
执笔经年
执笔经年 2020-12-05 03:07

My Objective is to use h:messages to convey user - error and confirmation messages. The CSS styles to show these two different messages are different, In fact I

3条回答
  •  感动是毒
    2020-12-05 03:59

    We can have different types of h:messages for different severity levels. For example you might want to display all the error messages in a red box and rest with different styles like yellow for warn and green for info. You can also wrap around with different panels. You can do so by having different h:messages and apply the styles individually.

    
    
    
    
    
    
    
    
    

提交回复
热议问题