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.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4110757#4110757

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4110757
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to