Package helper

Source Code of helper.messages

/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/

package helper;
import javax.faces.application.FacesMessage;
import javax.faces.application.FacesMessage.Severity;
import javax.faces.context.FacesContext;
/**
*
* @author Huynh Kim Toan
*/
public class messages {
public static void taoTB(Severity s,String tieuDe,String noiDung){
        FacesContext context = FacesContext.getCurrentInstance();
        context.addMessage(null,new FacesMessage(s,tieuDe,noiDung));
    }
}
TOP

Related Classes of helper.messages

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.