7 Replies Latest reply on Apr 4, 2011 10:39 AM by anudeep shetty

    Display error message using javascript alert

    Rand Asin Novice

      I am looking for a way to display JSF error message as javascript alert.  For example say I have a AJAX-submit button , when I click on it, my server side actionListener method is invoked and adds a FacesMessage to current FacesContext, I want to create a javascript alert using the FacesMessage responsed from the server.  Is there a component or design pattern for this situation?  Any thoughts would be appreciated.  Thanks