Forums Register Login

global faces message

+Pie Number of slices to send: Send
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
+Pie Number of slices to send: Send
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
Been there. Done that. Went back for more. But this time, I took this tiny ad with me:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 999 times.
Similar Threads
Why can't I see my validation errors?
display of multiple messages
Customizing h:messages
button inside a h;messages
Outputting a success message
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 06:40:54.