hi everyone,
I have done an jsf validation and that file is kept in the webcontent folder.Actually i am doing this with model panel,but for displaying the validation errors in model panel is failed.I am unable to inject the faces mesages and entity manager in that file.can any one help me how to inject that facesmessages and how to display the validation errors in the model panel.
thanks in advance
Are you using <rich:message> or <rich:messages> tags inside the <rich:modalPanel>?
If you @In FacesMessages facesMessages; and add a message to the facesMessages instance, the message should auto render in the rich:message(s) tag.