This content has been marked as final.
Show 2 replies
-
1. Re: Presenting a No Results Message with an Empty Collection
koenhandekyn Dec 6, 2007 3:26 AM (in response to neilac333)the action linked to your search button just needs to set a messages (user @In FacesMessages facesMessages).
when you come to the page the first time there will be no message.
if the search result is empty, you set the response message from within your search action method.
take a look at the examples, it's used al over. -
2. Re: Presenting a No Results Message with an Empty Collection
koenhandekyn Dec 6, 2007 3:26 AM (in response to neilac333)the action linked to your search button just needs to set a messages (user @In FacesMessages facesMessages).
when you come to the page the first time there will be no message.
if the search result is empty, you set the response message from within your search action method.
take a look at the examples, it's used al over.