Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

global faces message  RSS feed

 
trupti gore
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how can i show global faces message using h:messages tag for required=true attribute of inputText UI component .
For eg I wan to show "Some field is mandatory" above all fields and not next to the field.

I have done:

<h:messages layout="table" errorClass="errorMessage" globalOnly="true"></h:messages> in my .faces file
 
Praful Sinha
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please check this site there is some topics related to showing message at top.
http://www.jsf-faq.com/faqs/faces-messages.html

Regards
Praful Sinha
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!